Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 47) sorted by relevance

12

/unit/src/
H A Dnxt_var.c22 uint32_t index; member
54 uint32_t *index);
60 uint32_t index, void *ctx);
170 if (index != NULL) { in nxt_var_decl_get()
171 *index = (decl->index << 16) | field; in nxt_var_decl_get()
265 ret = nxt_var_index[index >> 16](task, value, ctx, index & 0xffff); in nxt_var_cache_value()
311 if (index == NULL) { in nxt_var_index_init()
319 decl->index = i; in nxt_var_index_init()
323 nxt_var_index = index; in nxt_var_index_init()
334 uint32_t index; in nxt_var_compile() local
[all …]
H A Dnxt_conf.h86 nxt_str_t *name, uint32_t *index);
90 uint32_t index);
92 nxt_conf_value_t *value, uint32_t index);
129 const nxt_conf_value_t *value, uint32_t index);
131 nxt_str_t *name, nxt_conf_value_t *value, uint32_t index);
133 nxt_str_t *value, uint32_t index);
135 nxt_str_t *name, nxt_str_t *value, uint32_t index);
137 int64_t value, uint32_t index);
139 uint32_t index);
142 void nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index,
[all …]
H A Dnxt_external.c65 uint32_t index; in nxt_external_start() local
159 for (index = 0; /* void */ ; index++) { in nxt_external_start()
160 value = nxt_conf_get_array_element(c->arguments, index); in nxt_external_start()
184 for (index = 0; /* void */ ; index++) { in nxt_external_start()
185 value = nxt_conf_get_array_element(c->arguments, index); in nxt_external_start()
H A Dnxt_conf.c346 uint32_t index) in nxt_conf_set_member_null() argument
485 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_get_path()
543 uint32_t *index) in nxt_conf_get_object_member() argument
849 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_op_compile()
853 op->index = index; in nxt_conf_op_compile()
1050 index = 0; in nxt_conf_copy_array()
1054 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1077 index++; in nxt_conf_copy_array()
1152 index = 0; in nxt_conf_copy_object()
1156 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
[all …]
H A Dnxt_var.h24 uint32_t index; member
31 uint32_t index; member
45 nxt_var_field_t *nxt_var_field_get(nxt_array_t *fields, uint16_t index);
H A Dnxt_isolation.c368 uint32_t index; in nxt_isolation_clone_flags() local
373 index = 0; in nxt_isolation_clone_flags()
849 nxt_int_t ret, index, nmounts; in nxt_isolation_make_private_mount() local
879 index = 0; in nxt_isolation_make_private_mount()
883 for ( ; index < nmounts; index++) { in nxt_isolation_make_private_mount()
886 nmounts = index; in nxt_isolation_make_private_mount()
911 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
935 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
966 if (shared[index]) { in nxt_isolation_make_private_mount()
984 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
[all …]
H A Dnxt_poll_engine.c24 uint32_t index; member
414 phe->index = engine->u.poll.nfds; in nxt_poll_set_add()
451 engine->u.poll.set[phe->index].events = events; in nxt_poll_set_change()
463 nxt_uint_t index, nfds; in nxt_poll_set_delete() local
481 index = phe->index; in nxt_poll_set_delete()
485 if (index != nfds) { in nxt_poll_set_delete()
486 engine->u.poll.set[index] = engine->u.poll.set[nfds]; in nxt_poll_set_delete()
490 phe->index = index; in nxt_poll_set_delete()
669 if (nxt_fast_path(phe->fd == engine->u.poll.set[phe->index].fd)) { in nxt_poll_fd_hash_test()
674 phe->fd, engine->u.poll.set[phe->index].fd); in nxt_poll_fd_hash_test()
H A Dnxt_http_static.c22 nxt_str_t index; member
116 if (acf->index == NULL) { in nxt_http_static_init()
117 nxt_str_set(&conf->index, "index.html"); in nxt_http_static_init()
120 nxt_conf_get_string(acf->index, &str); in nxt_http_static_init()
122 ret = nxt_str_dup(mp, &conf->index, &str); in nxt_http_static_init()
245 idx = conf->index; in nxt_http_static_iterate()
308 nxt_str_t *shr, *index, exten, *mtype; in nxt_http_static_send_ready() local
331 index = &conf->index; in nxt_http_static_send_ready()
334 nxt_http_static_extract_extension(index, &exten); in nxt_http_static_send_ready()
336 length = shr->length + index->length; in nxt_http_static_send_ready()
[all …]
H A Dnxt_mp.c486 nxt_int_t n, index; in nxt_mp_chunk_pages_index() local
488 index = 0; in nxt_mp_chunk_pages_index()
494 index = n; in nxt_mp_chunk_pages_index()
498 return index; in nxt_mp_chunk_pages_index()
523 nxt_uint_t n, index; in nxt_mp_alloc_small() local
534 index = nxt_mp_chunk_pages_index(mp, size); in nxt_mp_alloc_small()
535 chunk_pages = &mp->chunk_pages[index]; in nxt_mp_alloc_small()
547 p += ((n << index) << mp->chunk_size_shift); in nxt_mp_alloc_small()
563 page->size = (1 << index); in nxt_mp_alloc_small()
565 n = mp->page_size_shift - (index + mp->chunk_size_shift); in nxt_mp_alloc_small()
H A Dnxt_js.c10 uint32_t index; member
118 js->index = jcf->funcs->nelts - 1; in nxt_js_add_tpl()
238 value = njs_vm_array_prop(vm, &cache->array, js->index, &opaque_value); in nxt_js_call()
/unit/src/nodejs/unit-http/
H A Dwebsocket_server.js201 var index = this.connections.indexOf(connection);
202 if (index !== -1) {
203 this.connections.splice(index, 1);
209 var index = this.pendingRequests.indexOf(request);
210 if (index !== -1) { this.pendingRequests.splice(index, 1); }
H A Dwebsocket_router.js95 var index = this.findHandlerIndex(this.pathToRegExp(path).toString(), protocol);
96 if (index !== -1) {
97 this.handlers.splice(index, 1);
H A Dwebsocket_request.js189 extensions.forEach(function(extension, index, array) { argument
193 extensionParams.forEach(function(rawParam, index, array) { argument
199 array.splice(index, 1, obj);
205 array.splice(index, 1, obj);
/unit/pkg/deb/debian/
H A Dunit.example.config7 "index": "index.php"
26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example.config7 "index": "index.php"
26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
H A Dunit.example-php-config7 "index": "index.php"
H A Dunit.example-perl-config7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/pkg/deb/debian.module/
H A Dunit.example-php-config7 "index": "index.php"
H A Dunit.example-perl-config7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/test/python/threading/
H A Dwsgi.py13 def log_index(self, index): argument
15 "(" + str(index) + ") Thread: " + str(self.__x) + "\n"
H A Dasgi.py13 def log_index(self, index): argument
15 "(" + str(index) + ") Thread: " + str(self.__x) + "\n"
/unit/test/unit/applications/lang/
H A Dphp.py11 def load(self, script, index='index.php', **kwargs): argument
30 "index": index,
/unit/test/
H A Dtest_static.py15 with open(option.temp_dir + '/assets/index.html', 'w') as index, open(
22 index.write('0123456789')
44 def set_index(index): argument
46 {"share": option.temp_dir + "/assets$uri", "index": index},
78 def check_index(index): argument
80 {"share": option.temp_dir + "/assets$uri", "index": index},
/unit/test/java/welcome_files/dir1/
H A Dindex.txt1 This is index.txt.
/unit/src/java/nginx/unit/websocket/server/
H A DUriTemplate.java76 int index = -1; in UriTemplate() local
78 index = segmentCount; in UriTemplate()
94 this.segments.add(new Segment(index, segment)); in UriTemplate()

12