Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 46) sorted by last modified time

12

/unit/src/
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_var.c23 uint32_t index; member
56 uint32_t *index);
62 uint32_t index);
164 field = f->index; in nxt_var_decl_get()
173 if (index != NULL) { in nxt_var_decl_get()
174 *index = (decl->index << 16) | field; in nxt_var_decl_get()
314 if (index == NULL) { in nxt_var_index_init()
322 decl->index = i; in nxt_var_index_init()
326 nxt_var_index = index; in nxt_var_index_init()
338 uint32_t index; in nxt_var_compile() local
[all …]
H A Dnxt_var.h24 uint32_t index; member
31 uint32_t index; member
51 nxt_var_field_t *nxt_var_field_get(nxt_array_t *fields, uint16_t index);
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()
244 idx = conf->index; in nxt_http_static_iterate()
304 nxt_str_t *shr, *index, exten, *mtype; in nxt_http_static_send_ready() local
327 index = &conf->index; in nxt_http_static_send_ready()
330 nxt_http_static_extract_extension(index, &exten); in nxt_http_static_send_ready()
332 length = shr->length + index->length; in nxt_http_static_send_ready()
[all …]
H A Dnxt_conf_validation.c2314 uint32_t index; in nxt_conf_vldt_object_conf_commands() local
2319 index = 0; in nxt_conf_vldt_object_conf_commands()
2322 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object_conf_commands()
2461 uint32_t index; in nxt_conf_vldt_object() local
2492 index = 0; in nxt_conf_vldt_object()
2495 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object()
2666 uint32_t index; in nxt_conf_vldt_object_iterator() local
2673 index = 0; in nxt_conf_vldt_object_iterator()
2695 uint32_t index; in nxt_conf_vldt_array_iterator() local
2702 for (index = 0; /* void */ ; index++) { in nxt_conf_vldt_array_iterator()
[all …]
H A Dnxt_http_route.c609 offsetof(nxt_http_action_conf_t, index)
H A Dnxt_http.h228 nxt_conf_value_t *index; member
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 *value, uint32_t index);
133 nxt_str_t *name, nxt_str_t *value, uint32_t index);
135 int64_t value, uint32_t index);
137 uint32_t index);
140 void nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index,
143 nxt_uint_t index, nxt_str_t *value);
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_conf.c332 uint32_t index) in nxt_conf_set_member_null() argument
471 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_get_path()
529 uint32_t *index) in nxt_conf_get_object_member() argument
835 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_op_compile()
839 op->index = index; in nxt_conf_op_compile()
1036 index = 0; in nxt_conf_copy_array()
1040 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1063 index++; in nxt_conf_copy_array()
1138 index = 0; in nxt_conf_copy_object()
1142 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
[all …]
H A Dnxt_openssl.c135 int index; in nxt_openssl_library_init() local
191 index = SSL_get_ex_new_index(0, NULL, NULL, NULL, NULL); in nxt_openssl_library_init()
193 if (index == -1) { in nxt_openssl_library_init()
199 nxt_openssl_connection_index = index; in nxt_openssl_library_init()
552 uint32_t index; local
571 index = 0;
574 member = nxt_conf_next_object_member(conf, &cmd, &index);
H A Dnxt_main_process.c1277 uint32_t index, jindex, nmounts; in nxt_main_port_modules_handler() local
1340 for (index = 0; /* void */ ; index++) { in nxt_main_port_modules_handler()
1341 value = nxt_conf_get_array_element(root, index); in nxt_main_port_modules_handler()
H A Dnxt_php_sapi.c47 nxt_str_t index; member
57 nxt_str_t *index; member
617 target->index.length = str.length; in nxt_php_set_target()
618 target->index.start = tmp; in nxt_php_set_target()
621 nxt_str_set(&target->index, "index.php"); in nxt_php_set_target()
937 ctx.index = &target->index; in nxt_php_request_handler()
976 script_name = *ctx->index; in nxt_php_dynamic_request()
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_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()
/unit/
H A DCHANGES4 *) Feature: ability to specify a custom index file name when serving
H A DREADME.md74 Suppose you saved a PHP script as `/www/helloworld/index.php`:
/unit/test/
H A Dtest_static.py18 with open(option.temp_dir + '/assets/index.html', 'w') as index, open(
25 index.write('0123456789')
90 def set_index(index): argument
92 {"share": option.temp_dir + "/assets$uri", "index": index},
124 def check_index(index): argument
126 {"share": option.temp_dir + "/assets$uri", "index": index},
/unit/test/unit/applications/lang/
H A Dphp.py11 def load(self, script, index='index.php', **kwargs): argument
30 "index": index,
/unit/pkg/deb/
H A DMakefile.jsc1824 …p debian/unit.example-jsc-app debian/unit-jsc18/usr/share/doc/unit-jsc18/examples/jsc-app/index.jsp
H A DMakefile.jsc1624 …p debian/unit.example-jsc-app debian/unit-jsc16/usr/share/doc/unit-jsc16/examples/jsc-app/index.jsp
H A DMakefile.jsc1724 …p debian/unit.example-jsc-app debian/unit-jsc17/usr/share/doc/unit-jsc17/examples/jsc-app/index.jsp
/unit/test/python/threading/
H A Dasgi.py13 def log_index(self, index): argument
15 "(" + str(index) + ") Thread: " + str(self.__x) + "\n"
H A Dwsgi.py13 def log_index(self, index): argument
15 "(" + str(index) + ") Thread: " + str(self.__x) + "\n"
/unit/test/java/welcome_files/dir1/
H A Dindex.txt1 This is index.txt.

12