/unit/src/ |
H A D | nxt_conf_validation.c | 79 nxt_str_t *value); 89 nxt_conf_value_t *value); 100 nxt_conf_value_t *value); 109 nxt_conf_value_t *value); 121 nxt_conf_value_t *value); 1527 nxt_str_t *value) in nxt_conf_vldt_var() argument 1752 value = nxt_conf_get_object_member(value, &segments[1], NULL); in nxt_conf_vldt_pass() 1759 value = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_pass() 1765 value = nxt_conf_get_object_member(value, &segments[2], NULL); in nxt_conf_vldt_pass() 1787 value = nxt_conf_get_object_member(value, &segments[1], NULL); in nxt_conf_vldt_pass() [all …]
|
H A D | nxt_conf.h | 92 nxt_conf_value_t *value, uint32_t index); 101 nxt_conf_value_t *value); 109 size_t nxt_conf_json_length(nxt_conf_value_t *value, 129 const 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); 143 const nxt_conf_value_t *value); 145 nxt_uint_t index, nxt_str_t *value); 148 nxt_conf_value_t *value); [all …]
|
H A D | nxt_conf.c | 263 return value; in nxt_conf_create_object() 277 member->value = *value; in nxt_conf_set_member() 289 member->value = *value; in nxt_conf_set_member_dup() 305 nxt_conf_set_string(&member->value, value); in nxt_conf_set_member_string() 319 return nxt_conf_set_string_dup(&member->value, mp, value); in nxt_conf_set_member_string_dup() 378 return value; in nxt_conf_create_array() 489 value = nxt_conf_get_array_element(value, index); in nxt_conf_get_path() 937 member->value = *value; in nxt_conf_op_compile() 1219 dst->u.object->members[d].value = *value; in nxt_conf_copy_object() 2068 value->u.string.length = s - value->u.string.start; in nxt_conf_json_parse_string() [all …]
|
H A D | nxt_http_set_headers.c | 13 nxt_tstr_t *value; member 24 nxt_conf_value_t *value; in nxt_http_set_headers_init() local 39 if (value == NULL) { in nxt_http_set_headers_init() 99 nxt_str_t *value; in nxt_http_set_headers() local 121 if (nxt_slow_path(value == NULL)) { in nxt_http_set_headers() 128 if (hv->value == NULL) { in nxt_http_set_headers() 132 if (nxt_tstr_is_const(hv->value)) { in nxt_http_set_headers() 133 nxt_tstr_str(hv->value, &value[i]); in nxt_http_set_headers() 142 nxt_tstr_query(&r->task, r->tstr_query, hv->value, &value[i]); in nxt_http_set_headers() 155 if (value[i].start != NULL) { in nxt_http_set_headers() [all …]
|
H A D | nxt_http_js.c | 25 njs_value_t *value, njs_value_t *keys); 107 r = njs_vm_external(vm, nxt_js_proto_id, value); in nxt_http_js_ext_uri() 123 r = njs_vm_external(vm, nxt_js_proto_id, value); in nxt_http_js_ext_host() 139 r = njs_vm_external(vm, nxt_js_proto_id, value); in nxt_http_js_ext_remote_addr() 160 r = njs_vm_external(vm, nxt_js_proto_id, value); in nxt_http_js_ext_get_args() 190 r = njs_vm_external(vm, nxt_js_proto_id, value); in nxt_http_js_ext_get_header() 231 r = njs_vm_external(vm, nxt_js_proto_id, value); in nxt_http_js_ext_keys_header() 238 value = njs_vm_array_push(vm, keys); in nxt_http_js_ext_keys_header() 239 if (value == NULL) { in nxt_http_js_ext_keys_header() 328 value = njs_vm_array_push(vm, keys); in nxt_http_js_ext_keys_cookie() [all …]
|
H A D | nxt_atomic.h | 37 #define nxt_atomic_fetch_add(value, add) \ argument 38 __sync_fetch_and_add(value, add) 83 #define nxt_atomic_fetch_add(value, add) \ argument 84 (atomic_add_long_nv(value, add) - add) 185 #define nxt_atomic_fetch_add(value, add) \ argument 186 __fetch_and_addlp(value, add) 212 #define nxt_atomic_fetch_add(value, add) \ argument 213 __fetch_and_add(value, add)
|
H A D | nxt_php_sapi.c | 412 if (value != NULL) { in nxt_php_setup() 565 if (value != NULL) { in nxt_php_set_target() 615 if (value != NULL) { in nxt_php_set_target() 737 zs = zend_string_init((char *) value->start, value->length, 1); in nxt_php_alter_option() 749 ini_entry->value = zs; in nxt_php_alter_option() 773 nxt_memcpy(cstr, value->start, value->length); in nxt_php_alter_option() 787 ini_entry->value = cstr; in nxt_php_alter_option() 837 nxt_memcpy(p, value->start, value->length); in nxt_php_disable() 838 p[value->length] = '\0'; in nxt_php_disable() 1362 value = colon + 1; [all …]
|
H A D | nxt_lvlhsh.c | 230 void *value; in nxt_lvlhsh_bucket_find() local 248 lhq->value = value; in nxt_lvlhsh_bucket_find() 378 lhq->value = value; in nxt_lvlhsh_bucket_insert() 717 lhq->value = value; in nxt_lvlhsh_bucket_delete() 784 void **slot, *value; in nxt_lvlhsh_level_each() local 814 if (value != NULL) { in nxt_lvlhsh_level_each() 815 return value; in nxt_lvlhsh_level_each() 833 void *value, **next; in nxt_lvlhsh_bucket_each() local 857 return value; in nxt_lvlhsh_bucket_each() 926 return value; in nxt_lvlhsh_level_peek() [all …]
|
H A D | nxt_var.c | 107 return lhq.value; in nxt_var_hash_find() 209 nxt_str_t *value; in nxt_var_cache_value() local 216 value = cache->spare; in nxt_var_cache_value() 218 if (value == NULL) { in nxt_var_cache_value() 224 cache->spare = value; in nxt_var_cache_value() 235 lhq.value = value; in nxt_var_cache_value() 245 return lhq.value; in nxt_var_cache_value() 257 return value; in nxt_var_cache_value() 273 lhq.value = &decl[i]; in nxt_var_register() 494 nxt_str_t *value, **part; in nxt_var_interpreter() local [all …]
|
H A D | nxt_controller.c | 1232 resp.conf = value; in nxt_controller_process_request() 1295 resp.conf = value; in nxt_controller_process_config() 1730 value = nxt_conf_get_path(value, path); in nxt_controller_process_cert() 1991 value = nxt_conf_get_path(value, path); in nxt_controller_process_script() 2310 if (value == NULL) { in nxt_controller_process_control() 2314 value = nxt_conf_get_object_member(value, &applications, NULL); in nxt_controller_process_control() 2315 if (value == NULL) { in nxt_controller_process_control() 2319 value = nxt_conf_get_object_member(value, path, NULL); in nxt_controller_process_control() 2320 if (value == NULL) { in nxt_controller_process_control() 2529 value = resp->conf; in nxt_controller_response() [all …]
|
H A D | nxt_external.c | 72 nxt_conf_value_t *value; in nxt_external_start() local 160 value = nxt_conf_get_array_element(c->arguments, index); in nxt_external_start() 161 if (value == NULL) { in nxt_external_start() 165 nxt_conf_get_string(value, &str); in nxt_external_start() 185 value = nxt_conf_get_array_element(c->arguments, index); in nxt_external_start() 186 if (value == NULL) { in nxt_external_start() 192 nxt_conf_get_string(value, &str); in nxt_external_start()
|
/unit/auto/ |
H A D | options | 50 -*=*) value=`$echo "$nxt_option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; 51 *) value="" ;; 55 --cc=*) CC="$value" ;; 56 --cc-opt=*) NXT_CC_OPT="$value" ;; 57 --ld-opt=*) NXT_LD_OPT="$value" ;; 59 --prefix=*) NXT_PREFIX="$value" ;; 60 --exec-prefix=*) NXT_EXEC_PREFIX="$value" ;; 66 NXT_INCLUDEDIR="$value" 72 NXT_MODULESDIR="$value" 81 NXT_STATEDIR="$value" [all …]
|
H A D | types | 16 nxt_feature_run=value 30 nxt_feature_run=value 44 nxt_feature_run=value 58 nxt_feature_run=value 78 nxt_feature_run=value 92 nxt_feature_run=value 108 nxt_feature_run=value
|
/unit/src/java/nginx/unit/websocket/ |
H A D | WsExtensionParameter.java | 24 private final String value; field in WsExtensionParameter 26 WsExtensionParameter(String name, String value) { in WsExtensionParameter() argument 28 this.value = value; in WsExtensionParameter() 38 return value; in getValue()
|
H A D | Util.java | 309 return value; in coerceToType() 313 return Byte.valueOf(value); in coerceToType() 319 return Float.valueOf(value); in coerceToType() 323 return Long.valueOf(value); in coerceToType() 503 String value; in parseExtensionHeader() local 506 value = null; in parseExtensionHeader() 512 if (value.charAt(0) == '\"' && value.charAt(len - 1) == '\"') { in parseExtensionHeader() 513 value = value.substring(1, value.length() - 1); in parseExtensionHeader() 523 if (value != null && in parseExtensionHeader() 524 (value.indexOf(',') > -1 || value.indexOf(';') > -1 || in parseExtensionHeader() [all …]
|
/unit/src/java/nginx/unit/ |
H A D | IncludeResponseWrapper.java | 34 public void addHeader(String name, String value) in addHeader() argument 36 trace("addHeader: " + name + ": " + value); in addHeader() 40 public void addIntHeader(String name, int value) in addIntHeader() argument 42 trace("addIntHeader: " + name + ": " + value); in addIntHeader() 58 public void setHeader(String name, String value) in setHeader() argument 60 trace("setHeader: " + name + ": " + value); in setHeader() 64 public void setIntHeader(String name, int value) in setIntHeader() argument 66 trace("setIntHeader: " + name + ": " + value); in setIntHeader()
|
H A D | Response.java | 93 final String value, in addSetRFC6265Cookie() argument 113 buf.append(name).append('=').append(value == null ? "" : value); in addSetRFC6265Cookie() 215 String value = dateToString(date); in addDateHeader() local 218 value.getBytes(ISO_8859_1)); in addDateHeader() 234 if (value == null) { in addHeader() 243 setContentType(value); in addHeader() 248 value.getBytes(ISO_8859_1)); in addHeader() 465 value.getBytes(ISO_8859_1)); in setDateHeader() 479 setContentType(value); in setHeader() 488 if (value == null) { in setHeader() [all …]
|
/unit/test/unit/ |
H A D | http.py | 76 if isinstance(value, list): 77 for v in value: 298 for _, value in fields.items(): 299 if isinstance(value, dict): 322 for field, value in fields.items(): 326 if isinstance(value, dict): 328 filename = value['filename'] 330 if value.get('type'): 336 data = value['data'].read() 338 elif isinstance(value, str): [all …]
|
/unit/src/test/ |
H A D | nxt_mp_test.c | 17 uint32_t value, size; in nxt_mp_test() local 47 value = 0; in nxt_mp_test() 54 value = nxt_murmur_hash2(&value, sizeof(uint32_t)); in nxt_mp_test() 56 size = value & max_size; in nxt_mp_test()
|
H A D | nxt_term_parse_test.c | 14 nxt_int_t value; member 50 if (val != terms[i].value) { in nxt_term_parse_test() 53 s, terms[i].value, val); in nxt_term_parse_test()
|
H A D | nxt_lvlhsh_test.c | 48 lhq.value = (void *) key; in nxt_lvlhsh_test_add() 80 if (key == (uintptr_t) lhq.value) { in nxt_lvlhsh_test_get() 119 void *value; in nxt_lvlhsh_test() local 191 value = nxt_lvlhsh_peek(&lh, proto); in nxt_lvlhsh_test() 193 if (value == NULL) { in nxt_lvlhsh_test() 197 key = (uintptr_t) value; in nxt_lvlhsh_test() 228 value = nxt_lvlhsh_retrieve(&lh, proto, mp); in nxt_lvlhsh_test() 230 if (value == NULL) { in nxt_lvlhsh_test()
|
/unit/src/python/ |
H A D | nxt_python.c | 406 nxt_conf_value_t *value; in nxt_python_set_target() local 415 if (nxt_slow_path(value == NULL)) { in nxt_python_set_target() 419 nxt_conf_get_string(value, &str); in nxt_python_set_target() 433 if (value == NULL) { in nxt_python_set_target() 438 nxt_conf_get_string(value, &str); in nxt_python_set_target() 482 nxt_conf_value_t *value) in nxt_python_set_prefix() argument 487 if (value == NULL) { in nxt_python_set_prefix() 491 nxt_conf_get_string(value, &str); in nxt_python_set_prefix() 531 if (value == NULL) { in nxt_python_set_path() 543 array = value; in nxt_python_set_path() [all …]
|
/unit/test/ruby/input_each/ |
H A D | config.ru | 3 env['rack.input'].each do |value| 4 body += value
|
/unit/src/java/nginx/unit/websocket/server/ |
H A D | UriTemplate.java | 160 private final String value; field in UriTemplate.Segment 162 public Segment(int parameterIndex, String value) { in Segment() argument 164 this.value = value; in Segment() 174 return value; in getValue()
|
/unit/auto/modules/ |
H A D | wasm | 12 -*=*) value=`echo "$nxt_option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; 13 *) value="" ;; 18 --runtime=*) NXT_WASM_RUNTIME="$value" ;; 19 --module=*) NXT_WASM_MODULE="$value" ;; 20 --include-path=*) NXT_WASM_INCLUDE_PATH="$value" ;; 21 --lib-path=*) NXT_WASM_LIB_PATH="$value" ;; 22 --rpath*) NXT_WASM_RPATH="$value" ;; 78 # value of $NXT_WASM_LIB (--lib-path) otherwise use the value
|