Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 103) sorted by relevance

12345

/unit/src/
H A Dnxt_conf_validation.c78 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);
1363 nxt_str_t *value) in nxt_conf_vldt_var() argument
1588 value = nxt_conf_get_object_member(value, &segments[1], NULL); in nxt_conf_vldt_pass()
1595 value = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_pass()
1601 value = nxt_conf_get_object_member(value, &segments[2], NULL); in nxt_conf_vldt_pass()
1623 value = nxt_conf_get_object_member(value, &segments[1], NULL); in nxt_conf_vldt_pass()
[all …]
H A Dnxt_conf.h92 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 Dnxt_conf.c263 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 Dnxt_atomic.h37 #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 Dnxt_php_sapi.c404 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 Dnxt_lvlhsh.c230 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 Dnxt_controller.c1159 resp.conf = value; in nxt_controller_process_request()
1222 resp.conf = value; in nxt_controller_process_config()
1315 vldt.conf = value; in nxt_controller_process_config()
1657 value = nxt_conf_get_path(value, path); in nxt_controller_process_cert()
1949 if (value == NULL) { in nxt_controller_process_control()
1953 value = nxt_conf_get_object_member(value, &applications, NULL); in nxt_controller_process_control()
1954 if (value == NULL) { in nxt_controller_process_control()
1958 value = nxt_conf_get_object_member(value, path, NULL); in nxt_controller_process_control()
1959 if (value == NULL) { in nxt_controller_process_control()
2168 value = resp->conf; in nxt_controller_response()
[all …]
H A Dnxt_external.c72 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()
H A Dnxt_var.c113 return lhq.value; in nxt_var_hash_find()
239 nxt_str_t *value; in nxt_var_cache_value() local
242 value = query->spare; in nxt_var_cache_value()
244 if (value == NULL) { in nxt_var_cache_value()
246 if (nxt_slow_path(value == NULL)) { in nxt_var_cache_value()
250 query->spare = value; in nxt_var_cache_value()
257 lhq.value = value; in nxt_var_cache_value()
276 return lhq.value; in nxt_var_cache_value()
292 lhq.value = &decl[i]; in nxt_var_register()
572 nxt_str_t *value, **part; in nxt_var_query() local
[all …]
/unit/auto/
H A Doptions48 -*=*) 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 Dtypes16 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 DWsExtensionParameter.java24 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 DUtil.java309 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 DIncludeResponseWrapper.java34 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 DResponse.java93 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 Dhttp.py76 if isinstance(value, list):
77 for v in value:
293 for _, value in fields.items():
294 if isinstance(value, dict):
308 "%s=%s" % (name, value) for name, value in fields.items()
317 for field, value in fields.items():
321 if isinstance(value, dict):
325 if value.get('type'):
331 data = value['data'].read()
333 elif isinstance(value, str):
[all …]
H A Doption.py7 def __setattr__(self, name, value): argument
8 Options._options[name] = value
/unit/src/test/
H A Dnxt_mp_test.c17 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 Dnxt_term_parse_test.c14 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 Dnxt_lvlhsh_test.c48 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 Dconfig.ru3 env['rack.input'].each do |value|
4 body += value
/unit/src/java/nginx/unit/websocket/server/
H A DUriTemplate.java160 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 Dwebsocket_request.js197 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 Dhttp_server.js57 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 Dnxt_jni_Response.c26 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 …]

12345