Searched refs:old (Results 1 - 15 of 15) sorted by relevance

/tldk/app/nginx/src/os/unix/
H A Dngx_gcc_atomic_sparc64.h34 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, argument
41 : "+r" (set) : "r" (lock), "r" (old) : "memory");
43 return (set == old);
50 ngx_atomic_uint_t old, res; local
52 old = *value;
56 res = old + add;
62 : "+r" (res) : "r" (value), "r" (old) : "memory");
64 if (res == old) {
68 old = res;
H A Dngx_sunpro_atomic_sparc64.h16 ngx_casa(ngx_atomic_uint_t set, ngx_atomic_uint_t old, ngx_atomic_t *lock);
19 ngx_casxa(ngx_atomic_uint_t set, ngx_atomic_uint_t old, ngx_atomic_t *lock);
25 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, argument
28 set = NGX_CASA(set, old, lock);
30 return (set == old);
37 ngx_atomic_uint_t old, res; local
39 old = *value;
43 res = old + add;
45 res = NGX_CASA(res, old, value);
47 if (res == old) {
[all...]
H A Dngx_gcc_atomic_x86.h38 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, argument
49 : "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "cc", "memory");
104 ngx_atomic_uint_t old; local
111 : "=a" (old) : "m" (*value), "a" (add) : "cc", "memory");
113 return old;
126 /* old "as" does not support "pause" opcode */
H A Dngx_gcc_atomic_amd64.h37 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, argument
48 : "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "cc", "memory");
H A Dngx_atomic.h33 #define ngx_atomic_cmp_set(lock, old, new) \
34 AO_compare_and_swap(lock, old, new)
64 #define ngx_atomic_cmp_set(lock, old, new) \
65 OSAtomicCompareAndSwap64Barrier(old, new, (int64_t *) lock)
76 #define ngx_atomic_cmp_set(lock, old, new) \
77 OSAtomicCompareAndSwap32Barrier(old, new, (int32_t *) lock)
109 #define ngx_atomic_cmp_set(lock, old, set) \
110 __sync_bool_compare_and_swap(lock, old, set)
137 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old,
178 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old,
278 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, ngx_atomic_uint_t set) argument
293 ngx_atomic_int_t old; local
[all...]
H A Dngx_gcc_atomic_ppc.h29 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, argument
41 " cmpd %1, %3 \n" /* compare "temp" and "old" */
51 : "b" (lock), "b" (old), "b" (set)
92 ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, argument
104 " cmpw %1, %3 \n" /* compare "temp" and "old" */
114 : "b" (lock), "b" (old), "b" (set)
/tldk/app/nginx/src/os/win32/
H A Dngx_atomic.h29 #define ngx_atomic_cmp_set(lock, old, set) \
30 ((ngx_atomic_uint_t) InterlockedCompareExchange((long *) lock, set, old) \
31 == old)
35 /* the old MS VC6.0SP2 SDK headers */
37 #define ngx_atomic_cmp_set(lock, old, set) \
38 (InterlockedCompareExchange((void **) lock, (void *) set, (void *) old) \
39 == (void *) old)
H A Dngx_process_cycle.c19 static void ngx_quit_worker_processes(ngx_cycle_t *cycle, ngx_uint_t old);
407 ngx_quit_worker_processes(ngx_cycle_t *cycle, ngx_uint_t old) argument
421 if (old && ngx_processes[n].just_spawn) {
/tldk/app/nginx/src/http/modules/
H A Dngx_http_headers_filter_module.c511 ngx_table_elt_t *h, **old; local
513 old = (ngx_table_elt_t **) ((char *) &r->headers_out + hv->offset);
516 if (*old) {
517 (*old)->hash = 0;
518 *old = NULL;
524 if (*old) {
525 h = *old;
533 *old = h;
H A Dngx_http_geo_module.c663 "duplicate default geo range value: \"%V\", old value: \"%v\"",
835 "duplicate range \"%V\", value: \"%v\", old value: \"%v\"",
1130 ngx_http_variable_value_t *val, *old; local
1156 old = (ngx_http_variable_value_t *)
1161 "duplicate network \"%V\", value: \"%v\", old value: \"%v\"",
1162 net, val, old);
1194 old = (ngx_http_variable_value_t *)
1198 "duplicate network \"%V\", value: \"%v\", old value: \"%v\"",
1199 net, val, old);
/tldk/app/nginx/src/http/
H A Dngx_http_request.c763 * Among them are MSIE, old Mozilla, Netscape 4, Konqueror,
1432 u_char *old, *new; local
1451 old = request_line ? r->request_start : r->header_name_start;
1456 && (size_t) (r->header_in->pos - old)
1514 "http large header copy: %uz", r->header_in->pos - old);
1518 ngx_memcpy(new, old, r->header_in->pos - old);
1520 b->pos = new + (r->header_in->pos - old);
1521 b->last = new + (r->header_in->pos - old);
1527 r->request_end = new + (r->request_end - old);
[all...]
H A Dngx_http_core_module.c3292 ngx_str_t *value, *content_type, *old; local
3323 old = type[n].value;
3330 &value[i], content_type, old);
/tldk/app/nginx/src/event/
H A Dngx_event.c573 ngx_connection_t *c, *next, *old; local
767 * delete the old accept events that were bound to
768 * the old cycle read events array
771 old = ls[i].previous->connection;
773 if (ngx_del_event(old->read, NGX_READ_EVENT, NGX_CLOSE_EVENT)
779 old->fd = (ngx_socket_t) -1;
/tldk/app/nginx/src/stream/
H A Dngx_stream_geo_module.c613 "duplicate default geo range value: \"%V\", old value: \"%v\"",
785 "duplicate range \"%V\", value: \"%v\", old value: \"%v\"",
1080 ngx_stream_variable_value_t *val, *old; local
1106 old = (ngx_stream_variable_value_t *)
1111 "duplicate network \"%V\", value: \"%v\", old value: \"%v\"",
1112 net, val, old);
1144 old = (ngx_stream_variable_value_t *)
1148 "duplicate network \"%V\", value: \"%v\", old value: \"%v\"",
1149 net, val, old);
/tldk/app/nginx/src/core/
H A Dngx_cycle.c48 ngx_cycle_t *cycle, **old; local
633 /* close and delete stuff that lefts from an old cycle */
785 old = ngx_array_push(&ngx_old_cycles);
786 if (old == NULL) {
789 *old = old_cycle;
1114 "reopen file \"%s\", old:%d new:%d",
1289 ngx_log_debug0(NGX_LOG_DEBUG_CORE, log, 0, "clean old cycles");
1317 ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, "clean old cycle: %ui", i);
1323 ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, "old cycles status: %ui", live);

Completed in 18 milliseconds