Searched refs:storage (Results 1 – 15 of 15) sorted by relevance
/libuv/src/unix/ |
H A D | getnameinfo.c | 38 if (req->storage.ss_family == AF_INET) in uv__getnameinfo_work() 40 else if (req->storage.ss_family == AF_INET6) in uv__getnameinfo_work() 45 err = getnameinfo((struct sockaddr*) &req->storage, in uv__getnameinfo_work() 90 memcpy(&req->storage, in uv_getnameinfo() 94 memcpy(&req->storage, in uv_getnameinfo()
|
/libuv/src/win/ |
H A D | getnameinfo.c | 49 if (GetNameInfoW((struct sockaddr*)&req->storage, in uv__getnameinfo_work() 50 sizeof(req->storage), in uv__getnameinfo_work() 115 memcpy(&req->storage, in uv_getnameinfo() 119 memcpy(&req->storage, in uv_getnameinfo()
|
H A D | winsock.c | 548 struct sockaddr_storage* storage) { in uv__convert_to_localhost_if_unspecified() argument 557 dest4 = (struct sockaddr_in*) storage; in uv__convert_to_localhost_if_unspecified() 563 dest6 = (struct sockaddr_in6*) storage; in uv__convert_to_localhost_if_unspecified()
|
H A D | winsock.h | 199 struct sockaddr_storage* storage);
|
H A D | tcp.c | 732 static int uv__is_loopback(const struct sockaddr_storage* storage) { in uv__is_loopback() argument 737 if (storage->ss_family == AF_INET) { in uv__is_loopback() 738 in4 = (const struct sockaddr_in*) storage; in uv__is_loopback() 741 if (storage->ss_family == AF_INET6) { in uv__is_loopback() 742 in6 = (const struct sockaddr_in6*) storage; in uv__is_loopback()
|
/libuv/test/ |
H A D | benchmark-multi-accept.c | 291 handle_storage_t* storage; in sv_connection_cb() local 297 storage = malloc(sizeof(*storage)); in sv_connection_cb() 298 ASSERT_NOT_NULL(storage); in sv_connection_cb() 301 ASSERT_OK(uv_tcp_init(server_handle->loop, (uv_tcp_t*) storage)); in sv_connection_cb() 303 ASSERT_OK(uv_pipe_init(server_handle->loop, (uv_pipe_t*) storage, 0)); in sv_connection_cb() 307 ASSERT_OK(uv_accept(server_handle, (uv_stream_t*) storage)); in sv_connection_cb() 308 ASSERT_OK(uv_read_start((uv_stream_t*) storage, sv_alloc_cb, sv_read_cb)); in sv_connection_cb()
|
H A D | test-tcp-oob.c | 42 static char storage[1024]; in alloc_cb() local 43 *buf = uv_buf_init(storage, sizeof(storage)); in alloc_cb()
|
/libuv/docs/src/ |
H A D | threading.rst | 150 Thread-local storage 154 The total thread-local storage size may be limited. That is, it may not be possible to
|
H A D | misc.rst | 229 Data type for environment variable storage. 737 calling this function, `size` must be set to the amount of storage available 739 exceeds the storage available in `buffer`, `UV_ENOBUFS` is returned, and 740 `size` is set to the amount of storage required to hold the value. If no 772 `size` must be set to the amount of storage available in `buffer`, including 773 the null terminator. If the hostname exceeds the storage available in 775 storage required to hold the value.
|
H A D | udp.rst | 438 :param alloc_cb: Callback to invoke when temporary storage is needed.
|
/libuv/include/uv/ |
H A D | unix.h | 351 struct sockaddr_storage storage; \
|
H A D | win.h | 604 struct sockaddr_storage storage; \
|
/libuv/docs/src/guide/ |
H A D | threads.rst | 184 thread-local storage. 186 .. _api: http://docs.libuv.org/en/v1.x/threading.html#thread-local-storage
|
H A D | basics.rst | 100 ``uv_loop_close(uv_loop_t *)`` and then delete the storage. The examples never
|
/libuv/ |
H A D | ChangeLog | 5670 * unix, windows: add thread-local storage API (Ben Noordhuis)
|
Completed in 43 milliseconds