e 618 core/nginx.c char **e; e 619 core/nginx.c for (e = env; *e; e++) { e 620 core/nginx.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cycle->log, 0, "env: %s", *e); e 1382 core/ngx_conf_file.c ngx_conf_enum_t *e; e 1391 core/ngx_conf_file.c e = cmd->post; e 1393 core/ngx_conf_file.c for (i = 0; e[i].name.len != 0; i++) { e 1394 core/ngx_conf_file.c if (e[i].name.len != value[1].len e 1395 core/ngx_conf_file.c || ngx_strcasecmp(e[i].name.data, value[1].data) != 0) e 1400 core/ngx_conf_file.c *np = e[i].value; e 240 event/modules/ngx_devpoll_module.c ngx_event_t *e; e 259 event/modules/ngx_devpoll_module.c e = (event == POLLIN) ? c->write : c->read; e 261 event/modules/ngx_devpoll_module.c if (e) { e 262 event/modules/ngx_devpoll_module.c e->active = 0; e 271 event/modules/ngx_devpoll_module.c e = c->write; e 275 event/modules/ngx_devpoll_module.c e = c->read; e 279 event/modules/ngx_devpoll_module.c if (e && e->active) { e 280 event/modules/ngx_devpoll_module.c return ngx_devpoll_set_event(e, event, 0); e 340 event/modules/ngx_epoll_module.c ngx_event_t *e; e 349 event/modules/ngx_epoll_module.c e = c->write; e 356 event/modules/ngx_epoll_module.c e = c->read; e 363 event/modules/ngx_epoll_module.c if (e->active) { e 398 event/modules/ngx_epoll_module.c ngx_event_t *e; e 416 event/modules/ngx_epoll_module.c e = c->write; e 420 event/modules/ngx_epoll_module.c e = c->read; e 424 event/modules/ngx_epoll_module.c if (e->active) { e 681 event/modules/ngx_epoll_module.c ngx_event_t *e; e 729 event/modules/ngx_epoll_module.c e = (ngx_event_t *) (uintptr_t) event[i].data; e 731 event/modules/ngx_epoll_module.c e->complete = 1; e 732 event/modules/ngx_epoll_module.c e->active = 0; e 733 event/modules/ngx_epoll_module.c e->ready = 1; e 735 event/modules/ngx_epoll_module.c aio = e->data; e 738 event/modules/ngx_epoll_module.c ngx_post_event(e, &ngx_posted_events); e 271 event/modules/ngx_eventport_module.c ngx_event_t *e; e 279 event/modules/ngx_eventport_module.c e = c->write; e 286 event/modules/ngx_eventport_module.c e = c->read; e 293 event/modules/ngx_eventport_module.c if (e->oneshot) { e 319 event/modules/ngx_eventport_module.c ngx_event_t *e; e 337 event/modules/ngx_eventport_module.c e = c->write; e 341 event/modules/ngx_eventport_module.c e = c->read; e 345 event/modules/ngx_eventport_module.c if (e->oneshot) { e 283 event/modules/ngx_kqueue_module.c ngx_event_t *e; e 311 event/modules/ngx_kqueue_module.c e = (ngx_event_t *) e 314 event/modules/ngx_kqueue_module.c e->index = ev->index; e 346 event/modules/ngx_kqueue_module.c ngx_event_t *e; e 366 event/modules/ngx_kqueue_module.c e = (ngx_event_t *) e 369 event/modules/ngx_kqueue_module.c e->index = ev->index; e 115 event/modules/ngx_poll_module.c ngx_event_t *e; e 129 event/modules/ngx_poll_module.c e = c->write; e 135 event/modules/ngx_poll_module.c e = c->read; e 144 event/modules/ngx_poll_module.c if (e == NULL || e->index == NGX_INVALID_INDEX) { e 154 event/modules/ngx_poll_module.c "poll add index: %i", e->index); e 156 event/modules/ngx_poll_module.c event_list[e->index].events |= (short) event; e 157 event/modules/ngx_poll_module.c ev->index = e->index; e 167 event/modules/ngx_poll_module.c ngx_event_t *e; e 182 event/modules/ngx_poll_module.c e = c->write; e 188 event/modules/ngx_poll_module.c e = c->read; e 197 event/modules/ngx_poll_module.c if (e == NULL || e->index == NGX_INVALID_INDEX) { e 226 event/modules/ngx_poll_module.c "poll del index: %i", e->index); e 228 event/modules/ngx_poll_module.c event_list[e->index].events &= (short) ~event; e 172 event/modules/ngx_select_module.c ngx_event_t *e; e 198 event/modules/ngx_select_module.c e = event_index[nevents]; e 199 event/modules/ngx_select_module.c event_index[ev->index] = e; e 200 event/modules/ngx_select_module.c e->index = ev->index; e 181 event/modules/ngx_win32_select_module.c ngx_event_t *e; e 205 event/modules/ngx_win32_select_module.c e = event_index[nevents]; e 206 event/modules/ngx_win32_select_module.c event_index[ev->index] = e; e 207 event/modules/ngx_win32_select_module.c e->index = ev->index; e 700 http/modules/ngx_http_fastcgi_module.c ngx_http_script_engine_t e, le; e 854 http/modules/ngx_http_fastcgi_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 856 http/modules/ngx_http_fastcgi_module.c e.ip = flcf->params->elts; e 857 http/modules/ngx_http_fastcgi_module.c e.pos = b->last; e 858 http/modules/ngx_http_fastcgi_module.c e.request = r; e 859 http/modules/ngx_http_fastcgi_module.c e.flushed = 1; e 873 http/modules/ngx_http_fastcgi_module.c *e.pos++ = (u_char) key_len; e 876 http/modules/ngx_http_fastcgi_module.c *e.pos++ = (u_char) (((val_len >> 24) & 0x7f) | 0x80); e 877 http/modules/ngx_http_fastcgi_module.c *e.pos++ = (u_char) ((val_len >> 16) & 0xff); e 878 http/modules/ngx_http_fastcgi_module.c *e.pos++ = (u_char) ((val_len >> 8) & 0xff); e 879 http/modules/ngx_http_fastcgi_module.c *e.pos++ = (u_char) (val_len & 0xff); e 882 http/modules/ngx_http_fastcgi_module.c *e.pos++ = (u_char) val_len; e 885 http/modules/ngx_http_fastcgi_module.c while (*(uintptr_t *) e.ip) { e 886 http/modules/ngx_http_fastcgi_module.c code = *(ngx_http_script_code_pt *) e.ip; e 887 http/modules/ngx_http_fastcgi_module.c code((ngx_http_script_engine_t *) &e); e 889 http/modules/ngx_http_fastcgi_module.c e.ip += sizeof(uintptr_t); e 893 http/modules/ngx_http_fastcgi_module.c key_len, e.pos - (key_len + val_len), e 894 http/modules/ngx_http_fastcgi_module.c val_len, e.pos - val_len); e 897 http/modules/ngx_http_fastcgi_module.c b->last = e.pos; e 633 http/modules/ngx_http_geo_module.c ngx_uint_t h, i, s, e; e 648 http/modules/ngx_http_geo_module.c e = end & 0xffff; e 651 http/modules/ngx_http_geo_module.c e = 0xffff; e 673 http/modules/ngx_http_geo_module.c if (e < (ngx_uint_t) range[i].start) { e 692 http/modules/ngx_http_geo_module.c range[i + 1].end = (u_short) e; e 699 http/modules/ngx_http_geo_module.c && e == (ngx_uint_t) range[i].end) e 711 http/modules/ngx_http_geo_module.c && e < (ngx_uint_t) range[i].end) e 730 http/modules/ngx_http_geo_module.c range[i + 2].start = (u_short) (e + 1); e 735 http/modules/ngx_http_geo_module.c range[i + 1].end = (u_short) e; e 744 http/modules/ngx_http_geo_module.c && e < (ngx_uint_t) range[i].end) e 758 http/modules/ngx_http_geo_module.c range[i + 1].start = (u_short) (e + 1); e 761 http/modules/ngx_http_geo_module.c range[i].end = (u_short) e; e 768 http/modules/ngx_http_geo_module.c && e == (ngx_uint_t) range[i].end) e 783 http/modules/ngx_http_geo_module.c range[i + 1].end = (u_short) e; e 792 http/modules/ngx_http_geo_module.c e = (ngx_uint_t) range[i].end; e 798 http/modules/ngx_http_geo_module.c h >> 8, h & 0xff, e >> 8, e & 0xff); e 811 http/modules/ngx_http_geo_module.c range->end = (u_short) e; e 828 http/modules/ngx_http_geo_module.c ngx_uint_t h, i, s, e, warn; e 845 http/modules/ngx_http_geo_module.c e = end & 0xffff; e 848 http/modules/ngx_http_geo_module.c e = 0xffff; e 862 http/modules/ngx_http_geo_module.c && e == (ngx_uint_t) range[i].end) e 873 http/modules/ngx_http_geo_module.c && e != (ngx_uint_t) range[i].end) e 106 http/modules/ngx_http_index_module.c ngx_http_script_engine_t e; e 142 http/modules/ngx_http_index_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 144 http/modules/ngx_http_index_module.c e.ip = index[i].lengths->elts; e 145 http/modules/ngx_http_index_module.c e.request = r; e 146 http/modules/ngx_http_index_module.c e.flushed = 1; e 151 http/modules/ngx_http_index_module.c while (*(uintptr_t *) e.ip) { e 152 http/modules/ngx_http_index_module.c lcode = *(ngx_http_script_len_code_pt *) e.ip; e 153 http/modules/ngx_http_index_module.c len += lcode(&e); e 180 http/modules/ngx_http_index_module.c e.ip = index[i].values->elts; e 181 http/modules/ngx_http_index_module.c e.pos = name; e 183 http/modules/ngx_http_index_module.c while (*(uintptr_t *) e.ip) { e 184 http/modules/ngx_http_index_module.c code = *(ngx_http_script_code_pt *) e.ip; e 185 http/modules/ngx_http_index_module.c code((ngx_http_script_engine_t *) &e); e 194 http/modules/ngx_http_index_module.c path.len = e.pos - path.data; e 196 http/modules/ngx_http_index_module.c *e.pos = '\0'; e 846 http/modules/ngx_http_proxy_module.c ngx_http_script_engine_t e, le; e 1013 http/modules/ngx_http_proxy_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 1015 http/modules/ngx_http_proxy_module.c e.ip = plcf->headers_set->elts; e 1016 http/modules/ngx_http_proxy_module.c e.pos = b->last; e 1017 http/modules/ngx_http_proxy_module.c e.request = r; e 1018 http/modules/ngx_http_proxy_module.c e.flushed = 1; e 1034 http/modules/ngx_http_proxy_module.c e.skip = (len == sizeof(CRLF) - 1) ? 1 : 0; e 1037 http/modules/ngx_http_proxy_module.c e.skip = 0; e 1042 http/modules/ngx_http_proxy_module.c while (*(uintptr_t *) e.ip) { e 1043 http/modules/ngx_http_proxy_module.c code = *(ngx_http_script_code_pt *) e.ip; e 1044 http/modules/ngx_http_proxy_module.c code((ngx_http_script_engine_t *) &e); e 1046 http/modules/ngx_http_proxy_module.c e.ip += sizeof(uintptr_t); e 1049 http/modules/ngx_http_proxy_module.c b->last = e.pos; e 1094 http/modules/ngx_http_proxy_module.c e.ip = plcf->body_set->elts; e 1095 http/modules/ngx_http_proxy_module.c e.pos = b->last; e 1097 http/modules/ngx_http_proxy_module.c while (*(uintptr_t *) e.ip) { e 1098 http/modules/ngx_http_proxy_module.c code = *(ngx_http_script_code_pt *) e.ip; e 1099 http/modules/ngx_http_proxy_module.c code((ngx_http_script_engine_t *) &e); e 1102 http/modules/ngx_http_proxy_module.c b->last = e.pos; e 1564 http/modules/ngx_http_proxy_module.c ngx_http_script_engine_t e; e 1574 http/modules/ngx_http_proxy_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 1576 http/modules/ngx_http_proxy_module.c e.ip = pr->replacement.vars.lengths; e 1577 http/modules/ngx_http_proxy_module.c e.request = r; e 1581 http/modules/ngx_http_proxy_module.c while (*(uintptr_t *) e.ip) { e 1582 http/modules/ngx_http_proxy_module.c lcode = *(ngx_http_script_len_code_pt *) e.ip; e 1583 http/modules/ngx_http_proxy_module.c len += lcode(&e); e 1593 http/modules/ngx_http_proxy_module.c e.ip = pr->replacement.vars.values; e 1594 http/modules/ngx_http_proxy_module.c e.pos = p; e 1596 http/modules/ngx_http_proxy_module.c while (*(uintptr_t *) e.ip) { e 1597 http/modules/ngx_http_proxy_module.c code = *(ngx_http_script_code_pt *) e.ip; e 1598 http/modules/ngx_http_proxy_module.c code(&e); e 1601 http/modules/ngx_http_proxy_module.c ngx_memcpy(e.pos, h->value.data + prefix + pr->redirect.len, e 139 http/modules/ngx_http_rewrite_module.c ngx_http_script_engine_t *e; e 148 http/modules/ngx_http_rewrite_module.c e = ngx_pcalloc(r->pool, sizeof(ngx_http_script_engine_t)); e 149 http/modules/ngx_http_rewrite_module.c if (e == NULL) { e 153 http/modules/ngx_http_rewrite_module.c e->sp = ngx_pcalloc(r->pool, e 155 http/modules/ngx_http_rewrite_module.c if (e->sp == NULL) { e 159 http/modules/ngx_http_rewrite_module.c e->ip = rlcf->codes->elts; e 160 http/modules/ngx_http_rewrite_module.c e->request = r; e 161 http/modules/ngx_http_rewrite_module.c e->quote = 1; e 162 http/modules/ngx_http_rewrite_module.c e->log = rlcf->log; e 163 http/modules/ngx_http_rewrite_module.c e->status = NGX_DECLINED; e 165 http/modules/ngx_http_rewrite_module.c while (*(uintptr_t *) e->ip) { e 166 http/modules/ngx_http_rewrite_module.c code = *(ngx_http_script_code_pt *) e->ip; e 167 http/modules/ngx_http_rewrite_module.c code(e); e 170 http/modules/ngx_http_rewrite_module.c if (e->status == NGX_DECLINED) { e 175 http/modules/ngx_http_rewrite_module.c return e->status; e 521 http/modules/ngx_http_scgi_module.c ngx_http_script_engine_t e, le; e 642 http/modules/ngx_http_scgi_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 644 http/modules/ngx_http_scgi_module.c e.ip = scf->params->elts; e 645 http/modules/ngx_http_scgi_module.c e.pos = b->last; e 646 http/modules/ngx_http_scgi_module.c e.request = r; e 647 http/modules/ngx_http_scgi_module.c e.flushed = 1; e 649 http/modules/ngx_http_scgi_module.c while (*(uintptr_t *) e.ip) { e 652 http/modules/ngx_http_scgi_module.c key = e.pos; e 654 http/modules/ngx_http_scgi_module.c code = *(ngx_http_script_code_pt *) e.ip; e 655 http/modules/ngx_http_scgi_module.c code((ngx_http_script_engine_t *) & e); e 658 http/modules/ngx_http_scgi_module.c val = e.pos; e 660 http/modules/ngx_http_scgi_module.c while (*(uintptr_t *) e.ip) { e 661 http/modules/ngx_http_scgi_module.c code = *(ngx_http_script_code_pt *) e.ip; e 662 http/modules/ngx_http_scgi_module.c code((ngx_http_script_engine_t *) &e); e 664 http/modules/ngx_http_scgi_module.c *e.pos++ = '\0'; e 665 http/modules/ngx_http_scgi_module.c e.ip += sizeof(uintptr_t); e 671 http/modules/ngx_http_scgi_module.c b->last = e.pos; e 553 http/modules/ngx_http_uwsgi_module.c ngx_http_script_engine_t e, le; e 678 http/modules/ngx_http_uwsgi_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 680 http/modules/ngx_http_uwsgi_module.c e.ip = uwcf->params->elts; e 681 http/modules/ngx_http_uwsgi_module.c e.pos = b->last; e 682 http/modules/ngx_http_uwsgi_module.c e.request = r; e 683 http/modules/ngx_http_uwsgi_module.c e.flushed = 1; e 697 http/modules/ngx_http_uwsgi_module.c *e.pos++ = (u_char) (key_len & 0xff); e 698 http/modules/ngx_http_uwsgi_module.c *e.pos++ = (u_char) ((key_len >> 8) & 0xff); e 700 http/modules/ngx_http_uwsgi_module.c code = *(ngx_http_script_code_pt *) e.ip; e 701 http/modules/ngx_http_uwsgi_module.c code((ngx_http_script_engine_t *) & e); e 703 http/modules/ngx_http_uwsgi_module.c *e.pos++ = (u_char) (val_len & 0xff); e 704 http/modules/ngx_http_uwsgi_module.c *e.pos++ = (u_char) ((val_len >> 8) & 0xff); e 706 http/modules/ngx_http_uwsgi_module.c while (*(uintptr_t *) e.ip) { e 707 http/modules/ngx_http_uwsgi_module.c code = *(ngx_http_script_code_pt *) e.ip; e 708 http/modules/ngx_http_uwsgi_module.c code((ngx_http_script_engine_t *) & e); e 711 http/modules/ngx_http_uwsgi_module.c e.ip += sizeof(uintptr_t); e 715 http/modules/ngx_http_uwsgi_module.c key_len, e.pos - (key_len + 2 + val_len), e 716 http/modules/ngx_http_uwsgi_module.c val_len, e.pos - val_len); e 719 http/modules/ngx_http_uwsgi_module.c b->last = e.pos; e 159 http/ngx_http_copy_filter_module.c ngx_http_ephemeral_t *e; e 176 http/ngx_http_copy_filter_module.c e = (ngx_http_ephemeral_t *) &r->uri_start; e 178 http/ngx_http_copy_filter_module.c n = ngx_file_aio_read(file, &e->aio_preload, 1, offset, r->pool); e 1145 http/ngx_http_core_module.c ngx_http_script_engine_t e; e 1172 http/ngx_http_core_module.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 1174 http/ngx_http_core_module.c e.ip = tf->lengths->elts; e 1175 http/ngx_http_core_module.c e.request = r; e 1180 http/ngx_http_core_module.c while (*(uintptr_t *) e.ip) { e 1181 http/ngx_http_core_module.c lcode = *(ngx_http_script_len_code_pt *) e.ip; e 1182 http/ngx_http_core_module.c len += lcode(&e); e 1214 http/ngx_http_core_module.c e.ip = tf->values->elts; e 1215 http/ngx_http_core_module.c e.pos = name; e 1216 http/ngx_http_core_module.c e.flushed = 1; e 1218 http/ngx_http_core_module.c while (*(uintptr_t *) e.ip) { e 1219 http/ngx_http_core_module.c code = *(ngx_http_script_code_pt *) e.ip; e 1220 http/ngx_http_core_module.c code((ngx_http_script_engine_t *) &e); e 1223 http/ngx_http_core_module.c path.len = e.pos - path.data; e 1225 http/ngx_http_core_module.c *e.pos = '\0'; e 2019 http/ngx_http_core_module.c ngx_table_elt_t *e, *d; e 2069 http/ngx_http_core_module.c e = r->headers_out.expires; e 2071 http/ngx_http_core_module.c if (e) { e 2077 http/ngx_http_core_module.c expires = ngx_http_parse_time(e->value.data, e->value.len); e 2063 http/ngx_http_request.c ngx_http_ephemeral_t *e; e 2095 http/ngx_http_request.c e = ngx_http_ephemeral(mr); e 2098 http/ngx_http_request.c (void) ngx_http_post_request(mr, &e->terminal_posted_request); e 25 http/ngx_http_script.c static size_t ngx_http_script_full_name_len_code(ngx_http_script_engine_t *e); e 26 http/ngx_http_script.c static void ngx_http_script_full_name_code(ngx_http_script_engine_t *e); e 63 http/ngx_http_script.c ngx_http_script_engine_t e; e 72 http/ngx_http_script.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 74 http/ngx_http_script.c e.ip = val->lengths; e 75 http/ngx_http_script.c e.request = r; e 76 http/ngx_http_script.c e.flushed = 1; e 80 http/ngx_http_script.c while (*(uintptr_t *) e.ip) { e 81 http/ngx_http_script.c lcode = *(ngx_http_script_len_code_pt *) e.ip; e 82 http/ngx_http_script.c len += lcode(&e); e 91 http/ngx_http_script.c e.ip = val->values; e 92 http/ngx_http_script.c e.pos = value->data; e 93 http/ngx_http_script.c e.buf = *value; e 95 http/ngx_http_script.c while (*(uintptr_t *) e.ip) { e 96 http/ngx_http_script.c code = *(ngx_http_script_code_pt *) e.ip; e 97 http/ngx_http_script.c code((ngx_http_script_engine_t *) &e); e 100 http/ngx_http_script.c *value = e.buf; e 495 http/ngx_http_script.c ngx_http_script_engine_t e; e 507 http/ngx_http_script.c ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); e 509 http/ngx_http_script.c e.ip = code_lengths; e 510 http/ngx_http_script.c e.request = r; e 511 http/ngx_http_script.c e.flushed = 1; e 513 http/ngx_http_script.c while (*(uintptr_t *) e.ip) { e 514 http/ngx_http_script.c lcode = *(ngx_http_script_len_code_pt *) e.ip; e 515 http/ngx_http_script.c len += lcode(&e); e 525 http/ngx_http_script.c e.ip = code_values; e 526 http/ngx_http_script.c e.pos = value->data; e 528 http/ngx_http_script.c while (*(uintptr_t *) e.ip) { e 529 http/ngx_http_script.c code = *(ngx_http_script_code_pt *) e.ip; e 530 http/ngx_http_script.c code((ngx_http_script_engine_t *) &e); e 533 http/ngx_http_script.c return e.pos; e 726 http/ngx_http_script.c ngx_http_script_copy_len_code(ngx_http_script_engine_t *e) e 730 http/ngx_http_script.c code = (ngx_http_script_copy_code_t *) e->ip; e 732 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_copy_code_t); e 739 http/ngx_http_script.c ngx_http_script_copy_code(ngx_http_script_engine_t *e) e 744 http/ngx_http_script.c code = (ngx_http_script_copy_code_t *) e->ip; e 746 http/ngx_http_script.c p = e->pos; e 748 http/ngx_http_script.c if (!e->skip) { e 749 http/ngx_http_script.c e->pos = ngx_copy(p, e->ip + sizeof(ngx_http_script_copy_code_t), e 753 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_copy_code_t) e 756 http/ngx_http_script.c ngx_log_debug2(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 757 http/ngx_http_script.c "http script copy: \"%*s\"", e->pos - p, p); e 806 http/ngx_http_script.c ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e) e 811 http/ngx_http_script.c code = (ngx_http_script_var_code_t *) e->ip; e 813 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_var_code_t); e 815 http/ngx_http_script.c if (e->flushed) { e 816 http/ngx_http_script.c value = ngx_http_get_indexed_variable(e->request, code->index); e 819 http/ngx_http_script.c value = ngx_http_get_flushed_variable(e->request, code->index); e 831 http/ngx_http_script.c ngx_http_script_copy_var_code(ngx_http_script_engine_t *e) e 837 http/ngx_http_script.c code = (ngx_http_script_var_code_t *) e->ip; e 839 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_var_code_t); e 841 http/ngx_http_script.c if (!e->skip) { e 843 http/ngx_http_script.c if (e->flushed) { e 844 http/ngx_http_script.c value = ngx_http_get_indexed_variable(e->request, code->index); e 847 http/ngx_http_script.c value = ngx_http_get_flushed_variable(e->request, code->index); e 851 http/ngx_http_script.c p = e->pos; e 852 http/ngx_http_script.c e->pos = ngx_copy(p, value->data, value->len); e 855 http/ngx_http_script.c e->request->connection->log, 0, e 856 http/ngx_http_script.c "http script var: \"%*s\"", e->pos - p, p); e 886 http/ngx_http_script.c ngx_http_script_mark_args_code(ngx_http_script_engine_t *e) e 888 http/ngx_http_script.c e->is_args = 1; e 889 http/ngx_http_script.c e->ip += sizeof(uintptr_t); e 896 http/ngx_http_script.c ngx_http_script_start_args_code(ngx_http_script_engine_t *e) e 898 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 901 http/ngx_http_script.c e->is_args = 1; e 902 http/ngx_http_script.c e->args = e->pos; e 903 http/ngx_http_script.c e->ip += sizeof(uintptr_t); e 910 http/ngx_http_script.c ngx_http_script_regex_start_code(ngx_http_script_engine_t *e) e 920 http/ngx_http_script.c code = (ngx_http_script_regex_code_t *) e->ip; e 922 http/ngx_http_script.c r = e->request; e 928 http/ngx_http_script.c e->line = r->uri; e 930 http/ngx_http_script.c e->sp--; e 931 http/ngx_http_script.c e->line.len = e->sp->len; e 932 http/ngx_http_script.c e->line.data = e->sp->data; e 935 http/ngx_http_script.c rc = ngx_http_regex_exec(r, code->regex, &e->line); e 938 http/ngx_http_script.c if (e->log || (r->connection->log->log_level & NGX_LOG_DEBUG_HTTP)) { e 941 http/ngx_http_script.c &code->name, &e->line); e 948 http/ngx_http_script.c e->sp->len = 1; e 949 http/ngx_http_script.c e->sp->data = (u_char *) "1"; e 952 http/ngx_http_script.c e->sp->len = 0; e 953 http/ngx_http_script.c e->sp->data = (u_char *) ""; e 956 http/ngx_http_script.c e->sp++; e 958 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_regex_code_t); e 962 http/ngx_http_script.c e->ip += code->next; e 967 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 968 http/ngx_http_script.c e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; e 972 http/ngx_http_script.c if (e->log || (r->connection->log->log_level & NGX_LOG_DEBUG_HTTP)) { e 974 http/ngx_http_script.c "\"%V\" matches \"%V\"", &code->name, &e->line); e 979 http/ngx_http_script.c e->sp->len = 0; e 980 http/ngx_http_script.c e->sp->data = (u_char *) ""; e 983 http/ngx_http_script.c e->sp->len = 1; e 984 http/ngx_http_script.c e->sp->data = (u_char *) "1"; e 987 http/ngx_http_script.c e->sp++; e 989 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_regex_code_t); e 994 http/ngx_http_script.c e->status = code->status; e 997 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1016 http/ngx_http_script.c e->buf.len = code->size; e 1020 http/ngx_http_script.c e->buf.len += 2 * ngx_escape_uri(NULL, r->uri.data, r->uri.len, e 1026 http/ngx_http_script.c e->buf.len += r->captures[n + 1] - r->captures[n]; e 1033 http/ngx_http_script.c le.line = e->line; e 1044 http/ngx_http_script.c e->buf.len = len; e 1045 http/ngx_http_script.c e->is_args = le.is_args; e 1049 http/ngx_http_script.c e->buf.len += r->args.len + 1; e 1052 http/ngx_http_script.c e->buf.data = ngx_pnalloc(r->pool, e->buf.len); e 1053 http/ngx_http_script.c if (e->buf.data == NULL) { e 1054 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1055 http/ngx_http_script.c e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; e 1059 http/ngx_http_script.c e->quote = code->redirect; e 1061 http/ngx_http_script.c e->pos = e->buf.data; e 1063 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_regex_code_t); e 1068 http/ngx_http_script.c ngx_http_script_regex_end_code(ngx_http_script_engine_t *e) e 1074 http/ngx_http_script.c code = (ngx_http_script_regex_end_code_t *) e->ip; e 1076 http/ngx_http_script.c r = e->request; e 1078 http/ngx_http_script.c e->quote = 0; e 1085 http/ngx_http_script.c dst = e->buf.data; e 1086 http/ngx_http_script.c src = e->buf.data; e 1088 http/ngx_http_script.c ngx_unescape_uri(&dst, &src, e->pos - e->buf.data, e 1091 http/ngx_http_script.c if (src < e->pos) { e 1092 http/ngx_http_script.c dst = ngx_movemem(dst, src, e->pos - src); e 1095 http/ngx_http_script.c e->pos = dst; e 1098 http/ngx_http_script.c *e->pos++ = (u_char) (code->args ? '&' : '?'); e 1099 http/ngx_http_script.c e->pos = ngx_copy(e->pos, r->args.data, r->args.len); e 1102 http/ngx_http_script.c e->buf.len = e->pos - e->buf.data; e 1104 http/ngx_http_script.c if (e->log || (r->connection->log->log_level & NGX_LOG_DEBUG_HTTP)) { e 1106 http/ngx_http_script.c "rewritten redirect: \"%V\"", &e->buf); e 1111 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1112 http/ngx_http_script.c e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; e 1118 http/ngx_http_script.c r->headers_out.location->value = e->buf; e 1120 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_regex_end_code_t); e 1124 http/ngx_http_script.c if (e->args) { e 1125 http/ngx_http_script.c e->buf.len = e->args - e->buf.data; e 1128 http/ngx_http_script.c *e->pos++ = '&'; e 1129 http/ngx_http_script.c e->pos = ngx_copy(e->pos, r->args.data, r->args.len); e 1132 http/ngx_http_script.c r->args.len = e->pos - e->args; e 1133 http/ngx_http_script.c r->args.data = e->args; e 1135 http/ngx_http_script.c e->args = NULL; e 1138 http/ngx_http_script.c e->buf.len = e->pos - e->buf.data; e 1145 http/ngx_http_script.c if (e->log || (r->connection->log->log_level & NGX_LOG_DEBUG_HTTP)) { e 1148 http/ngx_http_script.c &e->buf, &r->args); e 1152 http/ngx_http_script.c r->uri = e->buf; e 1157 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1158 http/ngx_http_script.c e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; e 1165 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_regex_end_code_t); e 1205 http/ngx_http_script.c ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e) e 1213 http/ngx_http_script.c r = e->request; e 1215 http/ngx_http_script.c code = (ngx_http_script_copy_capture_code_t *) e->ip; e 1217 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_copy_capture_code_t); e 1225 http/ngx_http_script.c if ((e->is_args || e->quote) e 1226 http/ngx_http_script.c && (e->request->quoted_uri || e->request->plus_in_uri)) e 1243 http/ngx_http_script.c ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e) e 1251 http/ngx_http_script.c r = e->request; e 1253 http/ngx_http_script.c code = (ngx_http_script_copy_capture_code_t *) e->ip; e 1255 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_copy_capture_code_t); e 1259 http/ngx_http_script.c pos = e->pos; e 1266 http/ngx_http_script.c if ((e->is_args || e->quote) e 1267 http/ngx_http_script.c && (e->request->quoted_uri || e->request->plus_in_uri)) e 1269 http/ngx_http_script.c e->pos = (u_char *) ngx_escape_uri(pos, &p[cap[n]], e 1273 http/ngx_http_script.c e->pos = ngx_copy(pos, &p[cap[n]], cap[n + 1] - cap[n]); e 1277 http/ngx_http_script.c ngx_log_debug2(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1278 http/ngx_http_script.c "http script capture: \"%*s\"", e->pos - pos, pos); e 1314 http/ngx_http_script.c ngx_http_script_full_name_len_code(ngx_http_script_engine_t *e) e 1318 http/ngx_http_script.c code = (ngx_http_script_full_name_code_t *) e->ip; e 1320 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_full_name_code_t); e 1328 http/ngx_http_script.c ngx_http_script_full_name_code(ngx_http_script_engine_t *e) e 1334 http/ngx_http_script.c code = (ngx_http_script_full_name_code_t *) e->ip; e 1336 http/ngx_http_script.c value.data = e->buf.data; e 1337 http/ngx_http_script.c value.len = e->pos - e->buf.data; e 1342 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1343 http/ngx_http_script.c e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; e 1347 http/ngx_http_script.c e->buf = value; e 1349 http/ngx_http_script.c ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1352 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_full_name_code_t); e 1357 http/ngx_http_script.c ngx_http_script_return_code(ngx_http_script_engine_t *e) e 1361 http/ngx_http_script.c code = (ngx_http_script_return_code_t *) e->ip; e 1367 http/ngx_http_script.c e->status = ngx_http_send_response(e->request, code->status, NULL, e 1370 http/ngx_http_script.c e->status = code->status; e 1373 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1378 http/ngx_http_script.c ngx_http_script_break_code(ngx_http_script_engine_t *e) e 1380 http/ngx_http_script.c e->request->uri_changed = 0; e 1382 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1387 http/ngx_http_script.c ngx_http_script_if_code(ngx_http_script_engine_t *e) e 1391 http/ngx_http_script.c code = (ngx_http_script_if_code_t *) e->ip; e 1393 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1396 http/ngx_http_script.c e->sp--; e 1398 http/ngx_http_script.c if (e->sp->len && e->sp->data[0] != '0') { e 1400 http/ngx_http_script.c e->request->loc_conf = code->loc_conf; e 1401 http/ngx_http_script.c ngx_http_update_location_config(e->request); e 1404 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_if_code_t); e 1408 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1411 http/ngx_http_script.c e->ip += code->next; e 1416 http/ngx_http_script.c ngx_http_script_equal_code(ngx_http_script_engine_t *e) e 1420 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1423 http/ngx_http_script.c e->sp--; e 1424 http/ngx_http_script.c val = e->sp; e 1425 http/ngx_http_script.c res = e->sp - 1; e 1427 http/ngx_http_script.c e->ip += sizeof(uintptr_t); e 1436 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1444 http/ngx_http_script.c ngx_http_script_not_equal_code(ngx_http_script_engine_t *e) e 1448 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1451 http/ngx_http_script.c e->sp--; e 1452 http/ngx_http_script.c val = e->sp; e 1453 http/ngx_http_script.c res = e->sp - 1; e 1455 http/ngx_http_script.c e->ip += sizeof(uintptr_t); e 1460 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1472 http/ngx_http_script.c ngx_http_script_file_code(ngx_http_script_engine_t *e) e 1481 http/ngx_http_script.c value = e->sp - 1; e 1483 http/ngx_http_script.c code = (ngx_http_script_file_code_t *) e->ip; e 1484 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_file_code_t); e 1489 http/ngx_http_script.c r = e->request; e 1601 http/ngx_http_script.c ngx_http_script_complex_value_code(ngx_http_script_engine_t *e) e 1608 http/ngx_http_script.c code = (ngx_http_script_complex_value_code_t *) e->ip; e 1610 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_complex_value_code_t); e 1612 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1618 http/ngx_http_script.c le.line = e->line; e 1619 http/ngx_http_script.c le.request = e->request; e 1620 http/ngx_http_script.c le.quote = e->quote; e 1626 http/ngx_http_script.c e->buf.len = len; e 1627 http/ngx_http_script.c e->buf.data = ngx_pnalloc(e->request->pool, len); e 1628 http/ngx_http_script.c if (e->buf.data == NULL) { e 1629 http/ngx_http_script.c e->ip = ngx_http_script_exit; e 1630 http/ngx_http_script.c e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; e 1634 http/ngx_http_script.c e->pos = e->buf.data; e 1636 http/ngx_http_script.c e->sp->len = e->buf.len; e 1637 http/ngx_http_script.c e->sp->data = e->buf.data; e 1638 http/ngx_http_script.c e->sp++; e 1643 http/ngx_http_script.c ngx_http_script_value_code(ngx_http_script_engine_t *e) e 1647 http/ngx_http_script.c code = (ngx_http_script_value_code_t *) e->ip; e 1649 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_value_code_t); e 1651 http/ngx_http_script.c e->sp->len = code->text_len; e 1652 http/ngx_http_script.c e->sp->data = (u_char *) code->text_data; e 1654 http/ngx_http_script.c ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1655 http/ngx_http_script.c "http script value: \"%v\"", e->sp); e 1657 http/ngx_http_script.c e->sp++; e 1662 http/ngx_http_script.c ngx_http_script_set_var_code(ngx_http_script_engine_t *e) e 1667 http/ngx_http_script.c code = (ngx_http_script_var_code_t *) e->ip; e 1669 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_var_code_t); e 1671 http/ngx_http_script.c r = e->request; e 1673 http/ngx_http_script.c e->sp--; e 1675 http/ngx_http_script.c r->variables[code->index].len = e->sp->len; e 1679 http/ngx_http_script.c r->variables[code->index].data = e->sp->data; e 1690 http/ngx_http_script.c ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1698 http/ngx_http_script.c ngx_http_script_var_set_handler_code(ngx_http_script_engine_t *e) e 1702 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1705 http/ngx_http_script.c code = (ngx_http_script_var_handler_code_t *) e->ip; e 1707 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_var_handler_code_t); e 1709 http/ngx_http_script.c e->sp--; e 1711 http/ngx_http_script.c code->handler(e->request, e->sp, code->data); e 1716 http/ngx_http_script.c ngx_http_script_var_code(ngx_http_script_engine_t *e) e 1721 http/ngx_http_script.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1724 http/ngx_http_script.c code = (ngx_http_script_var_code_t *) e->ip; e 1726 http/ngx_http_script.c e->ip += sizeof(ngx_http_script_var_code_t); e 1728 http/ngx_http_script.c value = ngx_http_get_flushed_variable(e->request, code->index); e 1731 http/ngx_http_script.c ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, e 1734 http/ngx_http_script.c *e->sp = *value; e 1735 http/ngx_http_script.c e->sp++; e 1740 http/ngx_http_script.c *e->sp = ngx_http_variable_null_value; e 1741 http/ngx_http_script.c e->sp++; e 1746 http/ngx_http_script.c ngx_http_script_nop_code(ngx_http_script_engine_t *e) e 1748 http/ngx_http_script.c e->ip += sizeof(uintptr_t); e 84 http/ngx_http_script.h typedef void (*ngx_http_script_code_pt) (ngx_http_script_engine_t *e); e 85 http/ngx_http_script.h typedef size_t (*ngx_http_script_len_code_pt) (ngx_http_script_engine_t *e); e 230 http/ngx_http_script.h size_t ngx_http_script_copy_len_code(ngx_http_script_engine_t *e); e 231 http/ngx_http_script.h void ngx_http_script_copy_code(ngx_http_script_engine_t *e); e 232 http/ngx_http_script.h size_t ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e); e 233 http/ngx_http_script.h void ngx_http_script_copy_var_code(ngx_http_script_engine_t *e); e 234 http/ngx_http_script.h size_t ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e); e 235 http/ngx_http_script.h void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e); e 236 http/ngx_http_script.h size_t ngx_http_script_mark_args_code(ngx_http_script_engine_t *e); e 237 http/ngx_http_script.h void ngx_http_script_start_args_code(ngx_http_script_engine_t *e); e 239 http/ngx_http_script.h void ngx_http_script_regex_start_code(ngx_http_script_engine_t *e); e 240 http/ngx_http_script.h void ngx_http_script_regex_end_code(ngx_http_script_engine_t *e); e 242 http/ngx_http_script.h void ngx_http_script_return_code(ngx_http_script_engine_t *e); e 243 http/ngx_http_script.h void ngx_http_script_break_code(ngx_http_script_engine_t *e); e 244 http/ngx_http_script.h void ngx_http_script_if_code(ngx_http_script_engine_t *e); e 245 http/ngx_http_script.h void ngx_http_script_equal_code(ngx_http_script_engine_t *e); e 246 http/ngx_http_script.h void ngx_http_script_not_equal_code(ngx_http_script_engine_t *e); e 247 http/ngx_http_script.h void ngx_http_script_file_code(ngx_http_script_engine_t *e); e 248 http/ngx_http_script.h void ngx_http_script_complex_value_code(ngx_http_script_engine_t *e); e 249 http/ngx_http_script.h void ngx_http_script_value_code(ngx_http_script_engine_t *e); e 250 http/ngx_http_script.h void ngx_http_script_set_var_code(ngx_http_script_engine_t *e); e 251 http/ngx_http_script.h void ngx_http_script_var_set_handler_code(ngx_http_script_engine_t *e); e 252 http/ngx_http_script.h void ngx_http_script_var_code(ngx_http_script_engine_t *e); e 253 http/ngx_http_script.h void ngx_http_script_nop_code(ngx_http_script_engine_t *e);