/unit/src/ |
H A D | nxt_conf_validation.c | 78 nxt_str_t *value); 88 nxt_conf_value_t *value); 99 nxt_conf_value_t *value); 108 nxt_conf_value_t *value); 120 nxt_conf_value_t *value); 1310 nxt_str_t *value) in nxt_conf_vldt_var() argument 1530 value = nxt_conf_get_object_member(value, &segments[1], NULL); in nxt_conf_vldt_pass() 1537 value = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_pass() 1543 value = nxt_conf_get_object_member(value, &segments[2], NULL); in nxt_conf_vldt_pass() 1565 value = nxt_conf_get_object_member(value, &segments[1], NULL); in nxt_conf_vldt_pass() [all …]
|
H A D | nxt_conf.c | 263 return value; in nxt_conf_create_object() 277 member->value = *value; in nxt_conf_set_member() 291 nxt_conf_set_string(&member->value, value); in nxt_conf_set_member_string() 305 return nxt_conf_set_string_dup(&member->value, mp, value); in nxt_conf_set_member_string_dup() 364 return value; in nxt_conf_create_array() 475 value = nxt_conf_get_array_element(value, index); in nxt_conf_get_path() 488 return value; in nxt_conf_get_path() 923 member->value = *value; in nxt_conf_op_compile() 1205 dst->u.object->members[d].value = *value; in nxt_conf_copy_object() 2054 value->u.string.length = s - value->u.string.start; in nxt_conf_json_parse_string() [all …]
|
H A D | nxt_conf.h | 91 nxt_conf_value_t *value, uint32_t index); 100 nxt_conf_value_t *value); 108 size_t nxt_conf_json_length(nxt_conf_value_t *value, 128 nxt_conf_value_t *value, uint32_t index); 130 nxt_str_t *value, uint32_t index); 132 nxt_str_t *name, nxt_str_t *value, uint32_t index); 134 int64_t value, uint32_t index); 140 nxt_conf_value_t *value); 142 nxt_uint_t index, nxt_str_t *value); 145 nxt_conf_value_t *value); [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 | 404 if (value != NULL) { in nxt_php_setup() 557 if (value != NULL) { in nxt_php_set_target() 607 if (value != NULL) { in nxt_php_set_target() 729 zs = zend_string_init((char *) value->start, value->length, 1); in nxt_php_alter_option() 741 ini_entry->value = zs; in nxt_php_alter_option() 765 nxt_memcpy(cstr, value->start, value->length); in nxt_php_alter_option() 779 ini_entry->value = cstr; in nxt_php_alter_option() 829 nxt_memcpy(p, value->start, value->length); in nxt_php_disable() 830 p[value->length] = '\0'; in nxt_php_disable() 1234 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 | 31 nxt_str_t *value; member 133 return lhq.value; in nxt_var_hash_find() 158 return lhq.value; in nxt_var_cache_find() 172 lhq.value = value; in nxt_var_cache_add() 192 lhq.value = &decl[i]; in nxt_var_register() 457 nxt_str_t *value; in nxt_var_query() local 474 value = query->spare; in nxt_var_query() 478 if (value == NULL) { in nxt_var_query() 499 value = NULL; in nxt_var_query() 510 query->spare = value; in nxt_var_query() [all …]
|
H A D | nxt_controller.c | 1120 resp.conf = value; in nxt_controller_process_request() 1183 resp.conf = value; in nxt_controller_process_config() 1276 vldt.conf = value; in nxt_controller_process_config() 1496 value = nxt_conf_get_path(value, path); in nxt_controller_process_cert() 1788 if (value == NULL) { in nxt_controller_process_control() 1792 value = nxt_conf_get_object_member(value, &applications, NULL); in nxt_controller_process_control() 1793 if (value == NULL) { in nxt_controller_process_control() 1797 value = nxt_conf_get_object_member(value, path, NULL); in nxt_controller_process_control() 1798 if (value == NULL) { in nxt_controller_process_control() 2007 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 | 48 -*=*) value=`$echo "$nxt_option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; 49 *) value="" ;; 53 --cc=*) CC="$value" ;; 54 --cc-opt=*) NXT_CC_OPT="$value" ;; 55 --ld-opt=*) NXT_LD_OPT="$value" ;; 57 --prefix=*) NXT_PREFIX="$value" ;; 58 --bindir=*) NXT_BINDIR="$value" ;; 59 --sbindir=*) NXT_SBINDIR="$value" ;; 60 --libdir=*) NXT_LIBDIR="$value" ;; 61 --incdir=*) NXT_INCDIR="$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: 295 for _, value in fields.items(): 296 if isinstance(value, dict): 310 "%s=%s" % (name, value) for name, value in fields.items() 319 for field, value in fields.items(): 323 if isinstance(value, dict): 327 if value.get('type'): 333 data = value['data'].read() 335 elif isinstance(value, str): [all …]
|
H A D | option.py | 7 def __setattr__(self, name, value): argument 8 Options._options[name] = value
|
/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/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/src/nodejs/unit-http/ |
H A D | websocket_request.js | 197 value: arr[1] property in AnonymousFunctiondeff99b60300.obj 226 value: null 241 value: decodeURIComponent(val) 306 if (!cookie.name || !cookie.value) { 313 cookie.value = cookie.value.replace(controlCharsAndSemicolonRegEx, ''); 330 if (cookie.value.match(cookieValueDQuoteValidateRegEx)) { 331 invalidChar = cookie.value.slice(1, -1).match(cookieValueValidateRegEx); 333 invalidChar = cookie.value.match(cookieValueValidateRegEx); 340 var cookieParts = [cookie.name + '=' + cookie.value];
|
H A D | http_server.js | 57 ServerResponse.prototype.setHeader = function setHeader(name, value) { argument 65 if (Array.isArray(value)) { 66 count = value.length; 68 value.forEach(function(val) { 74 value_len = Buffer.byteLength(value + "", 'latin1'); 85 this.headers[lc_name] = [name, value]; 135 let value = entry[1]; 139 if (Array.isArray(value)) { 140 this.headers_count -= value.length; 141 this.headers_len -= value.length * name_len; [all …]
|
/unit/src/java/ |
H A D | nxt_jni_Response.c | 26 jlong req_info_ptr, jarray name, jarray value); 32 jlong req_info_ptr, jarray name, jint value); 35 const char *name, uint8_t name_len, int value); 65 jlong req_info_ptr, jarray name, jarray value); 74 jlong req_info_ptr, jarray name, jint value); 262 jarray name, jarray value) in nxt_java_Response_addHeader() argument 361 jarray name, jint value) in nxt_java_Response_addIntHeader() argument 388 uint8_t name_len, int value) in nxt_java_add_int_header() argument 407 nxt_unit_sptr_set(&f->value, p); in nxt_java_add_int_header() 693 dst = nxt_unit_sptr_get(&f->value); in nxt_java_response_set_header() [all …]
|