Home
last modified time | relevance | path

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

123

/unit/docs/
H A Dunit-openapi.yaml4347 description: "A zero-based index in a configuration array."
4355 description: "A zero-based index in a configuration array."
5608 index:
5613 default: "index.php"
5644 and `index` values."
5657 index:
5662 default: "index.php"
5973 index:
5976 default: "index.html"
5979 description: "Used if the request can’t be served by share or index."
/unit/
H A DCHANGES215 *) Bugfix: router process could crash if index file didn't contain an
232 *) Feature: ability to specify a custom index file name when serving
H A DREADME.md79 Suppose you saved a PHP script as `/www/helloworld/index.php`:
/unit/src/wasm-wasi-component/
H A DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
35 source = "registry+https://github.com/rust-lang/crates.io-index"
44 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
71 source = "registry+https://github.com/rust-lang/crates.io-index"
82 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/unit/src/
H A Dnxt_main_process.c1410 uint32_t index, jindex, nmounts; in nxt_main_port_modules_handler() local
1473 for (index = 0; /* void */ ; index++) { in nxt_main_port_modules_handler()
1474 value = nxt_conf_get_array_element(root, index); in nxt_main_port_modules_handler()
H A Dnxt_conf_validation.c2543 uint32_t index; in nxt_conf_vldt_object_conf_commands() local
2548 index = 0; in nxt_conf_vldt_object_conf_commands()
2551 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object_conf_commands()
2721 uint32_t index; in nxt_conf_vldt_object() local
2752 index = 0; in nxt_conf_vldt_object()
2755 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object()
2926 uint32_t index; in nxt_conf_vldt_object_iterator() local
2933 index = 0; in nxt_conf_vldt_object_iterator()
2953 uint32_t index; in nxt_conf_vldt_array_iterator() local
2960 for (index = 0; /* void */ ; index++) { in nxt_conf_vldt_array_iterator()
[all …]
H A Dnxt_js.c10 uint32_t index; member
286 js->index = jcf->funcs->nelts - 1; in nxt_js_add_tpl()
422 value = njs_vm_array_prop(vm, &cache->array, js->index, &opaque_value); in nxt_js_call()
H A Dnxt_var.h31 uint32_t index; member
52 nxt_var_field_t *nxt_var_field_get(nxt_array_t *fields, uint16_t index);
H A Dnxt_var.c22 uint32_t index; member
141 ref->index = state->var_refs->nelts - 1; in nxt_var_ref_get()
194 nxt_var_field_get(nxt_array_t *fields, uint16_t index) in nxt_var_field_get() argument
202 if (nfields > 0 && index <= nfields) { in nxt_var_field_get()
203 return &field[index]; in nxt_var_field_get()
240 lhq.key_hash = nxt_murmur_hash2_uint32(&ref->index); in nxt_var_cache_value()
243 lhq.key.start = (u_char *) &ref->index; in nxt_var_cache_value()
374 subs[n].index = ref->index; in nxt_var_compile()
503 uint32_t index; in nxt_var_interpreter() local
519 index = subs[i].index; in nxt_var_interpreter()
[all …]
H A Dnxt_conf.h87 nxt_str_t *name, uint32_t *index);
91 uint32_t index);
93 nxt_conf_value_t *value, uint32_t index);
132 const nxt_conf_value_t *value, uint32_t index);
134 nxt_str_t *name, nxt_conf_value_t *value, uint32_t index);
136 nxt_str_t *value, uint32_t index);
138 nxt_str_t *name, nxt_str_t *value, uint32_t index);
140 int64_t value, uint32_t index);
142 uint32_t index);
145 void nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index,
[all …]
H A Dnxt_conf.c357 uint32_t index) in nxt_conf_set_member_null() argument
496 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_get_path()
554 uint32_t *index) in nxt_conf_get_object_member() argument
860 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_op_compile()
864 op->index = index; in nxt_conf_op_compile()
1061 index = 0; in nxt_conf_copy_array()
1065 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1088 index++; in nxt_conf_copy_array()
1163 index = 0; in nxt_conf_copy_object()
1167 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
[all …]
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 ret = nxt_conf_get_string_dup(acf->index, mp, &conf->index); in nxt_http_static_init()
246 idx = conf->index; in nxt_http_static_iterate()
309 nxt_str_t *shr, *index, exten, *mtype; in nxt_http_static_send_ready() local
332 index = &conf->index; in nxt_http_static_send_ready()
335 nxt_http_static_extract_extension(index, &exten); in nxt_http_static_send_ready()
337 length = shr->length + index->length; in nxt_http_static_send_ready()
346 p = nxt_cpymem(p, index->start, index->length); in nxt_http_static_send_ready()
H A Dnxt_isolation.c422 uint32_t index; in nxt_isolation_clone_flags() local
427 index = 0; in nxt_isolation_clone_flags()
903 nxt_int_t ret, index, nmounts; in nxt_isolation_make_private_mount() local
933 index = 0; in nxt_isolation_make_private_mount()
937 for ( ; index < nmounts; index++) { in nxt_isolation_make_private_mount()
940 nmounts = index; in nxt_isolation_make_private_mount()
965 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
989 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
1020 if (shared[index]) { in nxt_isolation_make_private_mount()
1038 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
[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_php_sapi.c48 nxt_str_t index; member
58 nxt_str_t *index; member
625 target->index.length = str.length; in nxt_php_set_target()
626 target->index.start = tmp; in nxt_php_set_target()
629 nxt_str_set(&target->index, "index.php"); in nxt_php_set_target()
1020 ctx.index = &target->index; in nxt_php_request_handler()
1060 script_name = *ctx->index; in nxt_php_dynamic_request()
H A Dnxt_http_route.c619 offsetof(nxt_http_action_conf_t, index)
H A Dnxt_http.h237 nxt_conf_value_t *index; member
/unit/tools/
H A Dsetup-unit248 insert Insert an element at the specified index into an array in the
648 www='/srv/www/unit/index.html';
/unit/pkg/rpm/
H A DMakefile.jsc1741 %{buildroot}%{_datadir}/doc/unit-jsc17/examples/jsc-app/index.jsp
/unit/pkg/deb/
H A DMakefile.jsc2124 …p debian/unit.example-jsc-app debian/unit-jsc21/usr/share/doc/unit-jsc21/examples/jsc-app/index.jsp
H A DMakefile.jsc2024 …p debian/unit.example-jsc-app debian/unit-jsc20/usr/share/doc/unit-jsc20/examples/jsc-app/index.jsp
/unit/src/nodejs/unit-http/
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/src/java/nginx/unit/websocket/
H A DUtil.java641 private final int index; field in Util.TypeResult
644 public TypeResult(Class<?> clazz, int index, int dimension) { in TypeResult() argument
646 this.index = index; in TypeResult()
655 return index; in getIndex()
/unit/test/unit/applications/lang/
H A Dphp.py12 def load(self, script, index='index.php', **kwargs): argument
30 "index": index,
/unit/test/
H A Dtest_static.py38 def set_index(index): argument
40 {"share": f'{temp_dir}/assets$uri', "index": index},
74 def check_index(index): argument
76 {"share": f'{temp_dir}/assets$uri', "index": index},

123