Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 15 of 15) sorted by relevance

/unit/src/
H A Dnxt_atomic.h49 #define nxt_atomic_or_fetch(ptr, val) \ argument
50 __sync_or_and_fetch(ptr, val)
53 #define nxt_atomic_and_fetch(ptr, val) \ argument
54 __sync_and_and_fetch(ptr, val)
87 #define nxt_atomic_or_fetch(ptr, val) \ argument
88 atomic_or_ulong_nv(ptr, val)
91 #define nxt_atomic_and_fetch(ptr, val) \ argument
92 atomic_and_ulong_nv(ptr, val)
H A Dnxt_unit_sptr.h25 nxt_unit_sptr_set(nxt_unit_sptr_t *sptr, void *ptr) in nxt_unit_sptr_set() argument
27 sptr->offset = (uint8_t *) ptr - sptr->base; in nxt_unit_sptr_set()
H A Dnxt_malloc.c68 uintptr_t ptr; in nxt_realloc() local
74 ptr = (uintptr_t) p; in nxt_realloc()
79 nxt_log_debug(nxt_malloc_log(), "realloc(%p, %uz): %p", ptr, size, n); in nxt_realloc()
84 ptr, size, nxt_errno); in nxt_realloc()
H A Dnxt_conf.c198 nxt_str_t tmp, *ptr; in nxt_conf_set_string_dup() local
203 ptr = nxt_str_dup(mp, &tmp, str); in nxt_conf_set_string_dup()
204 if (nxt_slow_path(ptr == NULL)) { in nxt_conf_set_string_dup()
582 } *ptr; in nxt_conf_map_object() local
620 ptr->i32 = num; in nxt_conf_map_object()
624 ptr->i64 = num; in nxt_conf_map_object()
628 ptr->i = num; in nxt_conf_map_object()
632 ptr->size = num; in nxt_conf_map_object()
636 ptr->off = num; in nxt_conf_map_object()
672 ptr->str = str; in nxt_conf_map_object()
[all …]
H A Dnxt_test_build.h46 void *ptr; member
H A Dnxt_epoll_engine.c604 change->event.data.ptr = ev; in nxt_epoll_change()
622 ev = change->event.data.ptr; in nxt_epoll_commit_changes()
708 ee.data.ptr = &engine->u.epoll.signalfd; in nxt_epoll_add_signal()
791 ee.data.ptr = &engine->u.epoll.eventfd; in nxt_epoll_enable_post()
917 ev = event->data.ptr; in nxt_epoll_poll()
H A Dnxt_php_sapi.c96 nxt_str_t *value, char **ptr, nxt_php_disable_t disable);
814 char **ptr, nxt_php_disable_t disable) in nxt_php_disable() argument
827 *ptr = p; in nxt_php_disable()
/unit/src/java/
H A Dnxt_jni.h44 nxt_ptr2jlong(void *ptr) in nxt_ptr2jlong() argument
46 return (jlong) (intptr_t) ptr; in nxt_ptr2jlong()
H A Dnxt_jni_OutputStream.c180 uint8_t *ptr; in nxt_java_OutputStream_write() local
188 ptr = (*env)->GetPrimitiveArrayCritical(env, b, NULL); in nxt_java_OutputStream_write()
199 memcpy(buf->free, ptr + off, copy); in nxt_java_OutputStream_write()
213 (*env)->ReleasePrimitiveArrayCritical(env, b, ptr, 0); in nxt_java_OutputStream_write()
/unit/src/java/nginx/unit/
H A DOutputStream.java12 public OutputStream(long ptr) { in OutputStream() argument
13 req_info_ptr = ptr; in OutputStream()
H A DInputStream.java12 public InputStream(long ptr) in InputStream() argument
14 req_info_ptr = ptr; in InputStream()
H A DResponse.java76 public Response(long ptr) { in Response() argument
77 req_info_ptr = ptr; in Response()
/unit/src/nodejs/unit-http/
H A Dunit.cpp784 char *ptr, *name_ptr; in response_send_headers() local
831 ptr = req->response_buf->free; in response_send_headers()
842 name_ptr = ptr; in response_send_headers()
844 ptr += name_len + 1; in response_send_headers()
874 nxt_unit_sptr_set(&f->value, ptr); in response_send_headers()
877 ptr += value_len + 1; in response_send_headers()
900 nxt_unit_sptr_set(&f->value, ptr); in response_send_headers()
903 ptr += value_len + 1; in response_send_headers()
915 req->response_buf->free = ptr; in response_send_headers()
931 void *ptr; in response_write() local
[all …]
H A Dnxt_napi.h606 napi_value ptr; in create() local
609 status = napi_create_int32(env_, val, &ptr); in create()
614 return ptr; in create()
621 napi_value ptr; in create() local
624 status = napi_create_uint32(env_, val, &ptr); in create()
629 return ptr; in create()
636 napi_value ptr; in create() local
639 status = napi_create_int64(env_, val, &ptr); in create()
644 return ptr; in create()
/unit/src/perl/
H A Dnxt_perl_psgi_layer.c52 STDCHAR *ptr, SSize_t cnt);
330 STDCHAR *ptr, SSize_t cnt) in nxt_perl_psgi_layer_stream_set_ptrcnt() argument