Searched refs:index (Results 1 - 25 of 43) sorted by relevance

12

/tldk/app/nginx/conf/
H A Dnginx.conf45 index index.html index.htm;
68 # fastcgi_index index.php;
91 # index index.html index.htm;
113 # index index.html index
[all...]
H A Dnginx-tldk.conf45 index index.html index.htm;
/tldk/app/nginx/src/core/
H A Dngx_module.c18 ngx_uint_t index);
31 ngx_modules[i]->index = i;
115 /* search for some free index */
194 * if the module wasn't previously loaded, assign an index
197 if (module->index == NGX_MODULE_UNSET_INDEX) {
198 module->index = ngx_module_index(cf->cycle);
200 if (module->index >= ngx_max_module) {
271 cf->cycle->conf_ctx[module->index] = rv;
282 ngx_uint_t i, index; local
285 index
319 ngx_module_ctx_index(ngx_cycle_t *cycle, ngx_uint_t type, ngx_uint_t index) argument
[all...]
H A Dngx_module.h224 ngx_uint_t index; member in struct:ngx_module_s
/tldk/app/nginx/src/http/modules/
H A Dngx_http_index_module.c26 #define NGX_HTTP_DEFAULT_INDEX "index.html"
44 { ngx_string("index"),
87 * Try to open/test the first index file before the test of directory
104 ngx_http_index_t *index; local
130 index = ilcf->indices->elts;
133 if (index[i].lengths == NULL) {
135 if (index[i].name.data[0] == '/') {
136 return ngx_http_internal_redirect(r, &index[i].name, &r->args);
140 len = index[i].name.len;
145 e.ip = index[
410 ngx_http_index_t *index; local
470 ngx_http_index_t *index; local
[all...]
H A Dngx_http_ssi_filter_module.h93 ngx_uint_t index; member in struct:__anon229
H A Dngx_http_auth_request_module.c27 ngx_int_t index; member in struct:__anon104
260 vv = &r->variables[av->index];
279 av->set_handler(r, vv, v[av->index].data);
421 av->index = ngx_http_get_variable_index(cf, &value[1]);
422 if (av->index == NGX_ERROR) {
H A Dngx_http_rewrite_module.c139 ngx_int_t index; local
148 index = cmcf->phase_engine.location_rewrite_index;
150 if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) {
873 ngx_int_t index; local
879 index = ngx_http_get_variable_index(cf, value);
881 if (index == NGX_ERROR) {
892 var_code->index = index;
903 ngx_int_t index; local
926 index
[all...]
H A Dngx_http_memcached_module.c15 ngx_int_t index; member in struct:__anon175
243 vv = ngx_http_get_indexed_variable(r, mlcf->index);
623 conf->index = NGX_CONF_UNSET;
673 if (conf->index == NGX_CONF_UNSET) {
674 conf->index = prev->index;
716 mlcf->index = ngx_http_get_variable_index(cf, &ngx_http_memcached_key);
718 if (mlcf->index == NGX_ERROR) {
H A Dngx_http_sub_filter_module.c29 u_char index[257]; member in struct:__anon234
73 ngx_uint_t index; member in struct:__anon236
447 sub = &ctx->sub[ctx->index];
452 if (ngx_http_complex_value(r, match[ctx->index].value, sub)
471 ctx->index = 0;
648 i = ngx_max((ngx_uint_t) tables->index[c], ctx->index);
649 j = tables->index[c + 1];
665 ctx->index = i;
684 ctx->index
[all...]
/tldk/app/nginx/src/event/modules/
H A Dngx_poll_module.c123 if (ev->index != NGX_INVALID_INDEX) {
145 if (e == NULL || e->index == NGX_INVALID_INDEX) {
150 ev->index = nevents;
155 "poll add index: %i", e->index);
157 event_list[e->index].events |= (short) event;
158 ev->index = e->index;
175 if (ev->index == NGX_INVALID_INDEX) {
198 if (e == NULL || e->index
[all...]
H A Dngx_select_module.c77 ngx_event_t **index; local
89 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n,
91 if (index == NULL) {
96 ngx_memcpy(index, event_index, sizeof(ngx_event_t *) * nevents);
100 event_index = index;
134 if (ev->index != NGX_INVALID_INDEX) {
163 ev->index = nevents;
180 if (ev->index == NGX_INVALID_INDEX) {
198 if (ev->index < --nevents) {
200 event_index[ev->index]
[all...]
H A Dngx_win32_select_module.c78 ngx_event_t **index; local
90 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n,
92 if (index == NULL) {
97 ngx_memcpy(index, event_index, sizeof(ngx_event_t *) * nevents);
101 event_index = index;
136 if (ev->index != NGX_INVALID_INDEX) {
172 ev->index = nevents;
189 if (ev->index == NGX_INVALID_INDEX) {
205 if (ev->index < --nevents) {
207 event_index[ev->index]
[all...]
H A Dngx_kqueue_module.c297 if (ev->index < nchanges
298 && ((uintptr_t) change_list[ev->index].udata & (uintptr_t) ~1)
301 if (change_list[ev->index].flags == EV_DISABLE) {
312 if (ev->index < --nchanges) {
315 change_list[ev->index] = change_list[nchanges];
316 e->index = ev->index;
347 if (ev->index < nchanges
348 && ((uintptr_t) change_list[ev->index].udata & (uintptr_t) ~1)
359 if (ev->index < nchange
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_variables.h43 ngx_uint_t index; member in struct:ngx_http_variable_s
51 ngx_uint_t index);
53 ngx_uint_t index);
66 ngx_int_t index; member in struct:__anon332
H A Dngx_http_config.h69 (cycle->conf_ctx[ngx_http_module.index] ? \
70 ((ngx_http_conf_ctx_t *) cycle->conf_ctx[ngx_http_module.index]) \
H A Dngx_http_script.c39 ngx_uint_t *index; local
41 index = val->flushes;
43 if (index) {
44 while (*index != (ngx_uint_t) -1) {
46 if (r->variables[*index].no_cacheable) {
47 r->variables[*index].valid = 0;
48 r->variables[*index].not_found = 0;
51 index++;
540 ngx_uint_t n, *index; local
543 index
763 ngx_int_t index, *p; local
[all...]
H A Dngx_http_variables.c446 v->index = 0;
511 v->index = 0;
571 v->index = cmcf->variables.nelts - 1;
573 return v->index;
578 ngx_http_get_indexed_variable(ngx_http_request_t *r, ngx_uint_t index) argument
585 if (cmcf->variables.nelts <= index) {
587 "unknown variable index: %ui", index);
591 if (r->variables[index].not_found || r->variables[index]
628 ngx_http_get_flushed_variable(ngx_http_request_t *r, ngx_uint_t index) argument
2469 ngx_int_t rc, index; local
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_variables.h43 ngx_uint_t index; member in struct:ngx_stream_variable_s
51 ngx_stream_session_t *s, ngx_uint_t index);
53 ngx_stream_session_t *s, ngx_uint_t index);
63 ngx_int_t index; member in struct:__anon477
H A Dngx_stream_script.c40 ngx_uint_t *index; local
42 index = val->flushes;
44 if (index) {
45 while (*index != (ngx_uint_t) -1) {
47 if (s->variables[*index].no_cacheable) {
48 s->variables[*index].valid = 0;
49 s->variables[*index].not_found = 0;
52 index++;
444 ngx_uint_t n, *index; local
447 index
655 ngx_int_t index, *p; local
[all...]
H A Dngx_stream_variables.c186 v->index = 0;
252 v->index = 0;
312 v->index = cmcf->variables.nelts - 1;
314 return v->index;
319 ngx_stream_get_indexed_variable(ngx_stream_session_t *s, ngx_uint_t index) argument
326 if (cmcf->variables.nelts <= index) {
328 "unknown variable index: %ui", index);
332 if (s->variables[index].not_found || s->variables[index]
369 ngx_stream_get_flushed_variable(ngx_stream_session_t *s, ngx_uint_t index) argument
1019 ngx_int_t rc, index; local
[all...]
H A Dngx_stream_script.h85 uintptr_t index; member in struct:__anon456
H A Dngx_stream.h269 (cycle->conf_ctx[ngx_stream_module.index] ? \
270 ((ngx_stream_conf_ctx_t *) cycle->conf_ctx[ngx_stream_module.index]) \
/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2_table.c25 { ngx_string(":path"), ngx_string("/index.html") },
90 ngx_http_v2_get_indexed_header(ngx_http_v2_connection_t *h2c, ngx_uint_t index, argument
97 if (index == 0) {
99 "client sent invalid hpack table index 0");
105 name_only ? "header" : "header name", index);
107 index--;
109 if (index < NGX_HTTP_V2_STATIC_TABLE_ENTRIES) {
110 h2c->state.header = ngx_http_v2_static_table[index];
114 index -= NGX_HTTP_V2_STATIC_TABLE_ENTRIES;
116 if (index < h2
179 ngx_uint_t index; local
[all...]
H A Dngx_http_v2.h80 unsigned index:1; member in struct:__anon338
154 ngx_http_v2_node_t *index; member in struct:ngx_http_v2_node_s
277 ngx_uint_t index, ngx_uint_t name_only);

Completed in 17 milliseconds

12