/unit/docs/ |
H A D | unit-openapi.yaml | 4347 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 D | CHANGES | 215 *) 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 D | README.md | 79 Suppose you saved a PHP script as `/www/helloworld/index.php`:
|
/unit/src/wasm-wasi-component/ |
H A D | Cargo.lock | 8 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 D | nxt_main_process.c | 1410 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 D | nxt_conf_validation.c | 2543 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 D | nxt_js.c | 10 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 D | nxt_var.h | 31 uint32_t index; member 52 nxt_var_field_t *nxt_var_field_get(nxt_array_t *fields, uint16_t index);
|
H A D | nxt_var.c | 22 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 D | nxt_conf.h | 87 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 D | nxt_conf.c | 357 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 D | nxt_http_static.c | 22 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 D | nxt_isolation.c | 422 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 D | nxt_openssl.c | 135 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 D | nxt_php_sapi.c | 48 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 D | nxt_http_route.c | 619 offsetof(nxt_http_action_conf_t, index)
|
H A D | nxt_http.h | 237 nxt_conf_value_t *index; member
|
/unit/tools/ |
H A D | setup-unit | 248 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 D | Makefile.jsc17 | 41 %{buildroot}%{_datadir}/doc/unit-jsc17/examples/jsc-app/index.jsp
|
/unit/pkg/deb/ |
H A D | Makefile.jsc21 | 24 …p debian/unit.example-jsc-app debian/unit-jsc21/usr/share/doc/unit-jsc21/examples/jsc-app/index.jsp
|
H A D | Makefile.jsc20 | 24 …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 D | websocket_request.js | 189 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 D | Util.java | 641 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 D | php.py | 12 def load(self, script, index='index.php', **kwargs): argument 30 "index": index,
|
/unit/test/ |
H A D | test_static.py | 38 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},
|