Searched refs:value (Results 1 - 25 of 123) sorted by relevance

12345

/tldk/app/nginx/src/core/
H A Dngx_parse_time.h16 time_t ngx_parse_http_time(u_char *value, size_t len);
19 #define ngx_http_parse_time(value, len) ngx_parse_http_time(value, len)
H A Dngx_spinlock.c13 ngx_spinlock(ngx_atomic_t *lock, ngx_atomic_int_t value, ngx_uint_t spin) argument
22 if (*lock == 0 && ngx_atomic_cmp_set(lock, 0, value)) {
34 if (*lock == 0 && ngx_atomic_cmp_set(lock, 0, value)) {
H A Dngx_radix_tree.c39 tree->root->value = NGX_RADIX_NO_VALUE;
110 uintptr_t value)
137 if (node->value != NGX_RADIX_NO_VALUE) {
141 node->value = value;
154 next->value = NGX_RADIX_NO_VALUE;
167 node->value = value;
198 if (node->value != NGX_RADIX_NO_VALUE) {
199 node->value
109 ngx_radix32tree_insert(ngx_radix_tree_t *tree, uint32_t key, uint32_t mask, uintptr_t value) argument
240 uintptr_t value; local
269 ngx_radix128tree_insert(ngx_radix_tree_t *tree, u_char *key, u_char *mask, uintptr_t value) argument
428 uintptr_t value; local
[all...]
H A Dngx_parse.c115 ngx_int_t value, total, scale; local
132 value = 0;
144 if (value >= cutoff && (value > cutoff || *p - '0' > cutlim)) {
148 value = value * 10 + (*p++ - '0');
247 if (value > max) {
251 value *= scale;
253 if (total > NGX_MAX_INT_T_VALUE - value) {
257 total += value;
[all...]
H A Dngx_hash.c28 while (elt->value) {
39 return elt->value;
55 void *value; local
82 value = ngx_hash_find(&hwc->hash, key, &name[n], len - n);
85 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "value:\"%p\"", value);
88 if (value) {
91 * the 2 low bits of value have the special meaning:
92 * 00 - value is data pointer for both "example.com"
94 * 01 - value i
149 void *value; local
214 void *value; local
713 ngx_hash_add_key(ngx_hash_keys_arrays_t *ha, ngx_str_t *key, void *value, ngx_uint_t flags) argument
[all...]
/tldk/app/nginx/src/os/unix/
H A Dngx_user.c29 char *value; local
39 value = crypt_r((char *) key, (char *) salt, &cd);
41 if (value) {
42 len = ngx_strlen(value) + 1;
49 ngx_memcpy(*encrypted, value, len);
63 char *value; local
67 value = crypt((char *) key, (char *) salt);
69 if (value) {
70 len = ngx_strlen(value) + 1;
77 ngx_memcpy(*encrypted, value, le
[all...]
H A Dngx_gcc_atomic_x86.h72 * ngx_atomic_fetch_add() always return the input "add" value,
80 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
87 : "+r" (add) : "m" (*value) : "cc", "memory");
102 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
111 : "=a" (old) : "m" (*value), "a" (add) : "cc", "memory");
H A Dngx_gcc_atomic_sparc64.h48 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
52 old = *value;
62 : "+r" (res) : "r" (value), "r" (old) : "memory");
H A Dngx_gcc_atomic_amd64.h67 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
74 : "+r" (add) : "m" (*value) : "cc", "memory");
H A Dngx_atomic.h35 #define ngx_atomic_fetch_add(value, add) \
36 AO_fetch_and_add(value, add)
67 #define ngx_atomic_fetch_add(value, add) \
68 (OSAtomicAdd64(add, (int64_t *) value) - add)
79 #define ngx_atomic_fetch_add(value, add) \
80 (OSAtomicAdd32(add, (int32_t *) value) - add)
112 #define ngx_atomic_fetch_add(value, add) \
113 __sync_fetch_and_add(value, add)
141 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add);
182 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_
291 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
[all...]
H A Dngx_sunpro_atomic_sparc64.h35 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
39 old = *value;
45 res = NGX_CASA(res, old, value);
H A Dngx_darwin_init.c40 void *value; member in struct:__anon377
140 if (sysctlbyname(sysctls[i].name, sysctls[i].value, &size, NULL, 0)
177 u_long value; local
188 value = *(long *) sysctls[i].value;
191 value = *(int *) sysctls[i].value;
195 sysctls[i].name, value);
H A Dngx_freebsd_init.c49 void *value; member in struct:__anon382
191 if (sysctlbyname(sysctls[i].name, sysctls[i].value, &size, NULL, 0)
233 u_long value; local
252 value = *(long *) sysctls[i].value;
255 value = *(int *) sysctls[i].value;
259 sysctls[i].name, value);
H A Dngx_gcc_atomic_ppc.h16 * any register except r0. The r0 register always has a zero value and
59 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
66 "1: ldarx %0, 0, %2 \n" /* load from [value] into "res" */
69 " stdcx. %1, 0, %2 \n" /* store "temp" into [value] if reservation */
75 : "b" (value), "b" (add)
122 ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add) argument
129 "1: lwarx %0, 0, %2 \n" /* load from [value] into "res" */
132 " stwcx. %1, 0, %2 \n" /* store "temp" into [value] if reservation */
138 : "b" (value), "b" (add)
/tldk/app/nginx/auto/
H A Dconfigure68 have=NGX_PREFIX value="\"$NGX_PREFIX/\"" . auto/define
76 have=NGX_PREFIX value="\"$NGX_PREFIX/\"" . auto/define
81 have=NGX_CONF_PREFIX value="\"$NGX_CONF_PREFIX/\"" . auto/define
84 have=NGX_SBIN_PATH value="\"$NGX_SBIN_PATH\"" . auto/define
85 have=NGX_CONF_PATH value="\"$NGX_CONF_PATH\"" . auto/define
86 have=NGX_PID_PATH value="\"$NGX_PID_PATH\"" . auto/define
87 have=NGX_LOCK_PATH value="\"$NGX_LOCK_PATH\"" . auto/define
88 have=NGX_ERROR_LOG_PATH value="\"$NGX_ERROR_LOG_PATH\"" . auto/define
90 have=NGX_HTTP_LOG_PATH value="\"$NGX_HTTP_LOG_PATH\"" . auto/define
91 have=NGX_HTTP_CLIENT_TEMP_PATH value
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_headers_filter_module.c16 ngx_http_header_val_t *hv, ngx_str_t *value);
27 ngx_http_complex_value_t value; member in struct:ngx_http_header_val_s
56 static ngx_int_t ngx_http_parse_expires(ngx_str_t *value,
59 ngx_http_header_val_t *hv, ngx_str_t *value);
61 ngx_http_header_val_t *hv, ngx_str_t *value);
63 ngx_http_header_val_t *hv, ngx_str_t *value);
65 ngx_http_header_val_t *hv, ngx_str_t *value);
152 ngx_str_t value; local
198 if (ngx_http_complex_value(r, &h[i].value, &value) !
218 ngx_str_t value; local
358 ngx_http_parse_expires(ngx_str_t *value, ngx_http_expires_t *expires, time_t *expires_time, char **err) argument
430 ngx_http_add_header(ngx_http_request_t *r, ngx_http_header_val_t *hv, ngx_str_t *value) argument
451 ngx_http_add_cache_control(ngx_http_request_t *r, ngx_http_header_val_t *hv, ngx_str_t *value) argument
493 ngx_http_set_last_modified(ngx_http_request_t *r, ngx_http_header_val_t *hv, ngx_str_t *value) argument
508 ngx_http_set_response_header(ngx_http_request_t *r, ngx_http_header_val_t *hv, ngx_str_t *value) argument
608 ngx_str_t *value; local
675 ngx_str_t *value; local
[all...]
H A Dngx_http_split_clients_module.c15 ngx_http_variable_value_t value; member in struct:__anon221
20 ngx_http_complex_value_t value; member in struct:__anon222
87 if (ngx_http_complex_value(r, &ctx->value, &val) != NGX_OK) {
101 *v = part[i].value;
115 ngx_str_t *value, name; local
128 value = cf->args->elts;
133 ccv.value = &value[1];
134 ccv.complex_value = &ctx->value;
140 name = value[
205 ngx_str_t *value; local
[all...]
H A Dngx_http_rewrite_module.c37 ngx_http_rewrite_loc_conf_t *lcf, ngx_str_t *value);
41 ngx_http_rewrite_loc_conf_t *lcf, ngx_str_t *value);
310 ngx_str_t *value; local
327 value = cf->args->elts;
331 rc.pattern = value[1];
344 regex->name = value[1];
346 if (value[2].data[value[2].len - 1] == '?') {
349 value[2].len--;
357 if (ngx_strncmp(value[
450 ngx_str_t *value, *v; local
654 ngx_str_t *value; local
870 ngx_http_rewrite_variable(ngx_conf_t *cf, ngx_http_rewrite_loc_conf_t *lcf, ngx_str_t *value) argument
904 ngx_str_t *value; local
968 ngx_http_rewrite_value(ngx_conf_t *cf, ngx_http_rewrite_loc_conf_t *lcf, ngx_str_t *value) argument
[all...]
H A Dngx_http_map_module.c36 ngx_http_complex_value_t value; member in struct:__anon174
115 ngx_http_variable_value_t *value; local
120 if (ngx_http_complex_value(r, &map->value, &val) != NGX_OK) {
128 value = ngx_http_map_find(r, &map->map, &val);
130 if (value == NULL) {
131 value = map->default_value;
134 if (!value->valid) {
135 cv = (ngx_http_complex_value_t *) value->data;
148 *v = *value;
181 ngx_str_t *value, nam local
386 ngx_str_t *value, v; local
[all...]
H A Dngx_http_log_module.c129 ngx_http_log_op_t *op, ngx_str_t *value, ngx_uint_t json);
908 ngx_str_t *value, ngx_uint_t json)
912 index = ngx_http_get_variable_index(cf, value);
938 ngx_http_variable_value_t *value; local
940 value = ngx_http_get_indexed_variable(r, data);
942 if (value == NULL || value->not_found) {
946 len = ngx_http_log_escape(NULL, value->data, value->len);
948 value
907 ngx_http_log_variable_compile(ngx_conf_t *cf, ngx_http_log_op_t *op, ngx_str_t *value, ngx_uint_t json) argument
957 ngx_http_variable_value_t *value; local
1039 ngx_http_variable_value_t *value; local
1059 ngx_http_variable_value_t *value; local
1197 ngx_str_t *value, name, s; local
1492 ngx_str_t *value; local
1537 ngx_str_t *value, var; local
1713 ngx_str_t *value, s; local
1818 ngx_str_t *value; local
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_split_clients_module.c15 ngx_stream_variable_value_t value; member in struct:__anon459
20 ngx_stream_complex_value_t value; member in struct:__anon460
85 if (ngx_stream_complex_value(s, &ctx->value, &val) != NGX_OK) {
99 *v = part[i].value;
113 ngx_str_t *value, name; local
126 value = cf->args->elts;
131 ccv.value = &value[1];
132 ccv.complex_value = &ctx->value;
138 name = value[
203 ngx_str_t *value; local
[all...]
H A Dngx_stream_log_module.c109 ngx_stream_log_op_t *op, ngx_str_t *value, ngx_uint_t json);
685 ngx_str_t *value, ngx_uint_t json)
689 index = ngx_stream_get_variable_index(cf, value);
715 ngx_stream_variable_value_t *value; local
717 value = ngx_stream_get_indexed_variable(s, data);
719 if (value == NULL || value->not_found) {
723 len = ngx_stream_log_escape(NULL, value->data, value->len);
725 value
684 ngx_stream_log_variable_compile(ngx_conf_t *cf, ngx_stream_log_op_t *op, ngx_str_t *value, ngx_uint_t json) argument
735 ngx_stream_variable_value_t *value; local
817 ngx_stream_variable_value_t *value; local
837 ngx_stream_variable_value_t *value; local
928 ngx_str_t *value, name, s; local
1220 ngx_str_t *value; local
1266 ngx_str_t *value, var; local
1425 ngx_str_t *value, s; local
[all...]
H A Dngx_stream_map_module.c36 ngx_stream_complex_value_t value; member in struct:__anon444
113 ngx_stream_variable_value_t *value; local
118 if (ngx_stream_complex_value(s, &map->value, &val) != NGX_OK) {
126 value = ngx_stream_map_find(s, &map->map, &val);
128 if (value == NULL) {
129 value = map->default_value;
132 if (!value->valid) {
133 cv = (ngx_stream_complex_value_t *) value->data;
146 *v = *value;
179 ngx_str_t *value, nam local
385 ngx_str_t *value, v; local
[all...]
H A Dngx_stream_script.h55 ngx_str_t value; member in struct:__anon453
64 ngx_str_t *value; member in struct:__anon454
104 ngx_stream_complex_value_t *val, ngx_str_t *value);
111 ngx_uint_t ngx_stream_script_variables_count(ngx_str_t *value);
113 u_char *ngx_stream_script_run(ngx_stream_session_t *s, ngx_str_t *value,
H A Dngx_stream_geo_module.c14 ngx_stream_variable_value_t *value; member in struct:__anon420
36 ngx_stream_variable_value_t *value; member in struct:__anon423
42 ngx_stream_variable_value_t *value; member in struct:__anon424
84 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value);
90 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value);
92 ngx_stream_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr, ngx_str_t *value,
95 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value);
290 *v = *range->value;
293 } while ((++range)->value);
346 ngx_str_t *value, nam local
535 ngx_str_t *value; local
601 ngx_stream_geo_range(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
979 ngx_stream_geo_cidr(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
1076 ngx_stream_geo_cidr_add(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr, ngx_str_t *value, ngx_str_t *net) argument
1174 ngx_stream_geo_value(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
[all...]

Completed in 16 milliseconds

12345