third_party/libuv/src/win/internal.h
Go to the documentation of this file.
1 /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to
5  * deal in the Software without restriction, including without limitation the
6  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7  * sell copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19  * IN THE SOFTWARE.
20  */
21 
22 #ifndef UV_WIN_INTERNAL_H_
23 #define UV_WIN_INTERNAL_H_
24 
25 #include "uv.h"
26 #include "../uv-common.h"
27 
28 #include "uv/tree.h"
29 #include "winapi.h"
30 #include "winsock.h"
31 
32 #ifdef _MSC_VER
33 # define INLINE __inline
34 # define UV_THREAD_LOCAL __declspec( thread )
35 #else
36 # define INLINE inline
37 # define UV_THREAD_LOCAL __thread
38 #endif
39 
40 
41 #ifdef _DEBUG
42 
44 
45 #define UV_BEGIN_DISABLE_CRT_ASSERT() \
46  { \
47  int uv__saved_crt_assert_enabled = uv__crt_assert_enabled; \
48  uv__crt_assert_enabled = FALSE;
49 
50 
51 #define UV_END_DISABLE_CRT_ASSERT() \
52  uv__crt_assert_enabled = uv__saved_crt_assert_enabled; \
53  }
54 
55 #else
56 #define UV_BEGIN_DISABLE_CRT_ASSERT()
57 #define UV_END_DISABLE_CRT_ASSERT()
58 #endif
59 
60 /*
61  * TCP
62  */
63 
64 typedef enum {
69 
70 typedef struct {
71  WSAPROTOCOL_INFOW socket_info;
74 
75 int uv_tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb);
80  const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb);
82  unsigned int nbufs);
83 
86  uv_write_t* req);
88  uv_req_t* req);
90  uv_connect_t* req);
91 
94 
96  int pid,
97  uv__ipc_socket_xfer_type_t* xfer_type,
98  uv__ipc_socket_xfer_info_t* xfer_info);
100  uv__ipc_socket_xfer_type_t xfer_type,
101  uv__ipc_socket_xfer_info_t* xfer_info);
102 
103 
104 /*
105  * UDP
106  */
109  uv_udp_send_t* req);
110 
113 
114 
115 /*
116  * Pipes
117  */
119  char* name, size_t nameSize);
120 
127  uv_write_t* req,
128  uv_pipe_t* handle,
129  const uv_buf_t bufs[],
130  size_t nbufs,
131  uv_stream_t* send_handle,
132  uv_write_cb cb);
133 
135  uv_req_t* req);
137  uv_write_t* req);
139  uv_req_t* raw_req);
141  uv_connect_t* req);
143  uv_shutdown_t* req);
144 
148 
149 
150 /*
151  * TTY
152  */
153 void uv_console_init(void);
154 
159  const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb);
161  unsigned int nbufs);
163 
165  uv_req_t* req);
167  uv_write_t* req);
168 /*
169  * uv_process_tty_accept_req() is a stub to keep DELEGATE_STREAM_REQ working
170  * TODO: find a way to remove it
171  */
173  uv_req_t* raw_req);
174 /*
175  * uv_process_tty_connect_req() is a stub to keep DELEGATE_STREAM_REQ working
176  * TODO: find a way to remove it
177  */
179  uv_connect_t* req);
180 
182 
183 
184 /*
185  * Poll watchers
186  */
188  uv_req_t* req);
189 
192 
193 
194 /*
195  * Loop watchers
196  */
198 
202 
203 void uv__once_init(void);
204 
205 
206 /*
207  * Async watcher
208  */
211 
213  uv_req_t* req);
214 
215 
216 /*
217  * Signal watcher
218  */
219 void uv_signals_init(void);
220 int uv__signal_dispatch(int signum);
221 
224 
226  uv_req_t* req);
227 
228 
229 /*
230  * Spawn
231  */
235 
236 
237 /*
238  * Error
239  */
240 int uv_translate_sys_error(int sys_errno);
241 
242 
243 /*
244  * FS
245  */
246 void uv_fs_init(void);
247 
248 
249 /*
250  * FS Event
251  */
256 
257 
258 /*
259  * Stat poller.
260  */
262 
263 
264 /*
265  * Utilities.
266  */
267 void uv__util_init(void);
268 
269 uint64_t uv__hrtime(double scale);
270 __declspec(noreturn) void uv_fatal_error(const int errorno, const char* syscall);
271 int uv__getpwuid_r(uv_passwd_t* pwd);
272 int uv__convert_utf16_to_utf8(const WCHAR* utf16, int utf16len, char** utf8);
273 int uv__convert_utf8_to_utf16(const char* utf8, int utf8len, WCHAR** utf16);
274 
275 typedef int (WINAPI *uv__peersockfunc)(SOCKET, struct sockaddr*, int*);
276 
279  struct sockaddr* name,
280  int* namelen,
281  int delayed_error);
282 
283 int uv__random_rtlgenrandom(void* buf, size_t buflen);
284 
285 
286 /*
287  * Process stdio handles.
288  */
291  BYTE** buffer_ptr);
292 void uv__stdio_destroy(BYTE* buffer);
293 void uv__stdio_noinherit(BYTE* buffer);
294 int uv__stdio_verify(BYTE* buffer, WORD size);
295 WORD uv__stdio_size(BYTE* buffer);
296 HANDLE uv__stdio_handle(BYTE* buffer, int fd);
297 
298 
299 /*
300  * Winapi and ntapi utility functions
301  */
302 void uv_winapi_init(void);
303 
304 
305 /*
306  * Winsock utility functions
307  */
308 void uv_winsock_init(void);
309 
311 
314 
315 int WSAAPI uv_wsarecv_workaround(SOCKET socket, WSABUF* buffers,
316  DWORD buffer_count, DWORD* bytes, DWORD* flags, WSAOVERLAPPED *overlapped,
317  LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine);
318 int WSAAPI uv_wsarecvfrom_workaround(SOCKET socket, WSABUF* buffers,
319  DWORD buffer_count, DWORD* bytes, DWORD* flags, struct sockaddr* addr,
320  int* addr_len, WSAOVERLAPPED *overlapped,
321  LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine);
322 
323 int WSAAPI uv_msafd_poll(SOCKET socket, AFD_POLL_INFO* info_in,
324  AFD_POLL_INFO* info_out, OVERLAPPED* overlapped);
325 
326 /* Whether there are any non-IFS LSPs stacked on TCP */
327 extern int uv_tcp_non_ifs_lsp_ipv4;
328 extern int uv_tcp_non_ifs_lsp_ipv6;
329 
330 /* Ip address used to bind to any port at any interface */
331 extern struct sockaddr_in uv_addr_ip4_any_;
332 extern struct sockaddr_in6 uv_addr_ip6_any_;
333 
334 /*
335  * Wake all loops with fake message
336  */
337 void uv__wake_all_loops(void);
338 
339 /*
340  * Init system wake-up detection
341  */
343 
344 #endif /* UV_WIN_INTERNAL_H_ */
uv_process_async_wakeup_req
void uv_process_async_wakeup_req(uv_loop_t *loop, uv_async_t *handle, uv_req_t *req)
Definition: win/async.c:86
uv__init_detect_system_wakeup
void uv__init_detect_system_wakeup(void)
Definition: detect-wakeup.c:7
async_greeter_server_with_graceful_shutdown.loop
loop
Definition: async_greeter_server_with_graceful_shutdown.py:59
uv_fs_event_s
Definition: uv.h:1533
uv_signal_close
void uv_signal_close(uv_loop_t *loop, uv_signal_t *handle)
Definition: win/signal.c:257
uv_process_options_s
Definition: uv.h:940
uv_process_tty_accept_req
void uv_process_tty_accept_req(uv_loop_t *loop, uv_tty_t *handle, uv_req_t *raw_req)
Definition: win/tty.c:2308
uv_process_s
Definition: uv.h:1037
uv_wsarecv_workaround
int WSAAPI uv_wsarecv_workaround(SOCKET socket, WSABUF *buffers, DWORD buffer_count, DWORD *bytes, DWORD *flags, WSAOVERLAPPED *overlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine)
Definition: winsock.c:270
uv__ipc_socket_xfer_info_t::delayed_error
uint32_t delayed_error
Definition: third_party/libuv/src/win/internal.h:72
LPFN_CONNECTEX
BOOL(PASCAL * LPFN_CONNECTEX)(SOCKET s, const struct sockaddr *name, int namelen, PVOID lpSendBuffer, DWORD dwSendDataLength, LPDWORD lpdwBytesSent, LPOVERLAPPED lpOverlapped)
Definition: win.h:140
UV_THREAD_LOCAL
#define UV_THREAD_LOCAL
Definition: third_party/libuv/src/win/internal.h:37
uv_poll_close
int uv_poll_close(uv_loop_t *loop, uv_poll_t *handle)
Definition: win/poll.c:626
read_cb
static void read_cb(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
Definition: benchmark-pound.c:138
uv_passwd_s
Definition: uv.h:1099
winsock.h
uv_process_tcp_connect_req
void uv_process_tcp_connect_req(uv_loop_t *loop, uv_tcp_t *handle, uv_connect_t *req)
Definition: win/tcp.c:1157
uv_signal_endgame
void uv_signal_endgame(uv_loop_t *loop, uv_signal_t *handle)
Definition: win/signal.c:267
uv__pipe_write
int uv__pipe_write(uv_loop_t *loop, uv_write_t *req, uv_pipe_t *handle, const uv_buf_t bufs[], size_t nbufs, uv_stream_t *send_handle, uv_write_cb cb)
Definition: win/pipe.c:1580
uv__tty_try_write
int uv__tty_try_write(uv_tty_t *handle, const uv_buf_t bufs[], unsigned int nbufs)
Definition: win/tty.c:2212
uv_connect_s
Definition: uv.h:580
uv_tcp_listen
int uv_tcp_listen(uv_tcp_t *handle, int backlog, uv_connection_cb cb)
Definition: unix/tcp.c:328
uv_tcp_non_ifs_lsp_ipv4
int uv_tcp_non_ifs_lsp_ipv4
Definition: winsock.c:30
uv_process_tcp_write_req
void uv_process_tcp_write_req(uv_loop_t *loop, uv_tcp_t *handle, uv_write_t *req)
Definition: win/tcp.c:1068
uv__convert_utf8_to_utf16
int uv__convert_utf8_to_utf16(const char *utf8, int utf8len, WCHAR **utf16)
Definition: libuv/src/win/util.c:1291
uv_shutdown_s
Definition: uv.h:417
client
Definition: examples/python/async_streaming/client.py:1
uv_process_proc_exit
void uv_process_proc_exit(uv_loop_t *loop, uv_process_t *handle)
Definition: win/process.c:865
uv_process_pipe_read_req
void uv_process_pipe_read_req(uv_loop_t *loop, uv_pipe_t *handle, uv_req_t *req)
Definition: win/pipe.c:1791
uv_winsock_init
void uv_winsock_init(void)
Definition: winsock.c:78
options
double_dict options[]
Definition: capstone_test.c:55
uv_process_close
void uv_process_close(uv_loop_t *loop, uv_process_t *handle)
Definition: win/process.c:903
uv_pipe_cleanup
void uv_pipe_cleanup(uv_loop_t *loop, uv_pipe_t *handle)
Definition: win/pipe.c:787
uv_tty_s
Definition: uv.h:704
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
uv_signals_init
void uv_signals_init(void)
Definition: win/signal.c:42
winapi.h
uv__stdio_destroy
void uv__stdio_destroy(BYTE *buffer)
Definition: process-stdio.c:453
uv_read_cb
void(* uv_read_cb)(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
Definition: uv.h:309
alloc_cb
static void alloc_cb(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
Definition: benchmark-pound.c:84
tcp
static uv_tcp_t tcp
Definition: test-connection-fail.c:29
uv_prepare_invoke
void uv_prepare_invoke(uv_loop_t *loop)
status
absl::Status status
Definition: rls.cc:251
setup.name
name
Definition: setup.py:542
uv__stdio_size
WORD uv__stdio_size(BYTE *buffer)
Definition: process-stdio.c:505
uv_pipe_listen
int uv_pipe_listen(uv_pipe_t *handle, int backlog, uv_connection_cb cb)
Definition: unix/pipe.c:94
uv_tty_endgame
void uv_tty_endgame(uv_loop_t *loop, uv_tty_t *handle)
Definition: win/tty.c:2270
uv__tcp_xfer_export
int uv__tcp_xfer_export(uv_tcp_t *handle, int pid, uv__ipc_socket_xfer_type_t *xfer_type, uv__ipc_socket_xfer_info_t *xfer_info)
Definition: win/tcp.c:1190
uv_tcp_non_ifs_lsp_ipv6
int uv_tcp_non_ifs_lsp_ipv6
Definition: winsock.c:31
uv_check_invoke
void uv_check_invoke(uv_loop_t *loop)
uv__getsockpeername
int uv__getsockpeername(const uv_handle_t *handle, uv__peersockfunc func, struct sockaddr *name, int *namelen, int delayed_error)
Definition: win/core.c:636
uv_process_pipe_write_req
void uv_process_pipe_write_req(uv_loop_t *loop, uv_pipe_t *handle, uv_write_t *req)
Definition: win/pipe.c:1858
uv_process_pipe_accept_req
void uv_process_pipe_accept_req(uv_loop_t *loop, uv_pipe_t *handle, uv_req_t *raw_req)
Definition: win/pipe.c:1912
uv__convert_utf16_to_utf8
int uv__convert_utf16_to_utf8(const WCHAR *utf16, int utf16len, char **utf8)
Definition: libuv/src/win/util.c:1236
BOOL
int BOOL
Definition: undname.c:46
uv_async_endgame
void uv_async_endgame(uv_loop_t *loop, uv_async_t *handle)
Definition: win/async.c:31
uv__crt_assert_enabled
UV_THREAD_LOCAL int uv__crt_assert_enabled
Definition: win/core.c:69
uv_process_endgame
void uv_process_endgame(uv_loop_t *loop, uv_process_t *handle)
Definition: win/process.c:924
uv_alloc_cb
void(* uv_alloc_cb)(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
Definition: uv.h:306
uv_stream_s
Definition: uv.h:491
uv_msafd_poll
int WSAAPI uv_msafd_poll(SOCKET socket, AFD_POLL_INFO *info_in, AFD_POLL_INFO *info_out, OVERLAPPED *overlapped)
Definition: winsock.c:461
uv__stdio_noinherit
void uv__stdio_noinherit(BYTE *buffer)
Definition: process-stdio.c:468
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
UV__IPC_SOCKET_XFER_TCP_CONNECTION
@ UV__IPC_SOCKET_XFER_TCP_CONNECTION
Definition: third_party/libuv/src/win/internal.h:66
uv_udp_close
void uv_udp_close(uv_loop_t *loop, uv_udp_t *handle)
Definition: win/udp.c:182
uv_pipe_close
void uv_pipe_close(uv_loop_t *loop, uv_pipe_t *handle)
Definition: win/pipe.c:820
uv_async_s
Definition: uv.h:834
uv_process_tty_connect_req
void uv_process_tty_connect_req(uv_loop_t *loop, uv_tty_t *handle, uv_connect_t *req)
Definition: win/tty.c:2318
uv__ipc_socket_xfer_info_t
Definition: third_party/libuv/src/win/internal.h:70
xds_interop_client.int
int
Definition: xds_interop_client.py:113
uv__ipc_socket_xfer_info_t::socket_info
WSAPROTOCOL_INFOW socket_info
Definition: third_party/libuv/src/win/internal.h:71
sockaddr_in6
Definition: ares_ipv6.h:25
uv_winapi_init
void uv_winapi_init(void)
Definition: winapi.c:49
uv_console_init
void uv_console_init(void)
Definition: win/tty.c:166
uv_stdio_pipe_server
int uv_stdio_pipe_server(uv_loop_t *loop, uv_pipe_t *handle, DWORD access, char *name, size_t nameSize)
Definition: win/pipe.c:205
req
static uv_connect_t req
Definition: test-connection-fail.c:30
uv_process_tty_write_req
void uv_process_tty_write_req(uv_loop_t *loop, uv_tty_t *handle, uv_write_t *req)
Definition: win/tty.c:2227
uv_translate_sys_error
int uv_translate_sys_error(int sys_errno)
Definition: unix/core.c:1244
uv_process_fs_event_req
void uv_process_fs_event_req(uv_loop_t *loop, uv_req_t *req, uv_fs_event_t *handle)
Definition: fs-event.c:407
uv_process_poll_req
void uv_process_poll_req(uv_loop_t *loop, uv_poll_t *handle, uv_req_t *req)
Definition: win/poll.c:617
uv_udp_s
Definition: uv.h:629
uv_ntstatus_to_winsock_error
int uv_ntstatus_to_winsock_error(NTSTATUS status)
Definition: winsock.c:137
uv__stdio_handle
HANDLE uv__stdio_handle(BYTE *buffer, int fd)
Definition: process-stdio.c:510
uint64_t
unsigned __int64 uint64_t
Definition: stdint-msvc2008.h:90
uv__stdio_create
int uv__stdio_create(uv_loop_t *loop, const uv_process_options_t *options, BYTE **buffer_ptr)
Definition: process-stdio.c:265
uv_pipe_read_start
int uv_pipe_read_start(uv_pipe_t *handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
Definition: win/pipe.c:1179
uv_tty_write
int uv_tty_write(uv_loop_t *loop, uv_write_t *req, uv_tty_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb)
Definition: win/tty.c:2182
syscall
const char * syscall
Definition: third_party/libuv/src/win/internal.h:270
uv_tty_read_start
int uv_tty_read_start(uv_tty_t *handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
Definition: win/tty.c:1017
uv_async_close
void uv_async_close(uv_loop_t *loop, uv_async_t *handle)
Definition: win/async.c:57
buffer
char buffer[1024]
Definition: libuv/docs/code/idle-compute/main.c:8
bm_speedup.scale
def scale(a, mul)
Definition: bm_speedup.py:24
uv_fs_init
void uv_fs_init(void)
Definition: win/fs.c:144
uv_process_tty_read_req
void uv_process_tty_read_req(uv_loop_t *loop, uv_tty_t *handle, uv_req_t *req)
Definition: win/tty.c:1001
uv_addr_ip4_any_
struct sockaddr_in uv_addr_ip4_any_
Definition: winsock.c:34
uv__wake_all_loops
void uv__wake_all_loops(void)
Definition: win/core.c:162
uv__ipc_socket_xfer_type_t
uv__ipc_socket_xfer_type_t
Definition: third_party/libuv/src/win/internal.h:64
uv_tcp_s
Definition: uv.h:544
uv_tty_read_stop
int uv_tty_read_stop(uv_tty_t *handle)
Definition: win/tty.c:1053
uv_fs_event_close
void uv_fs_event_close(uv_loop_t *loop, uv_fs_event_t *handle)
Definition: fs-event.c:566
tree.h
uv_udp_send_s
Definition: uv.h:645
uv_process_pipe_shutdown_req
void uv_process_pipe_shutdown_req(uv_loop_t *loop, uv_pipe_t *handle, uv_shutdown_t *req)
Definition: win/pipe.c:1969
uv_fatal_error
void uv_fatal_error(const int errorno, const char *syscall)
Definition: error.c:35
bufs
static uv_buf_t bufs[5]
Definition: benchmark-udp-pummel.c:51
uv__tcp_try_write
int uv__tcp_try_write(uv_tcp_t *handle, const uv_buf_t bufs[], unsigned int nbufs)
Definition: win/tcp.c:916
uv.h
uv_process_tcp_accept_req
void uv_process_tcp_accept_req(uv_loop_t *loop, uv_tcp_t *handle, uv_req_t *req)
Definition: win/tcp.c:1109
uv_wsarecvfrom_workaround
int WSAAPI uv_wsarecvfrom_workaround(SOCKET socket, WSABUF *buffers, DWORD buffer_count, DWORD *bytes, DWORD *flags, struct sockaddr *addr, int *addr_len, WSAOVERLAPPED *overlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine)
Definition: winsock.c:364
uv_signal_s
Definition: uv.h:1561
uv_buf_t
Definition: unix.h:121
func
const EVP_CIPHER *(* func)(void)
Definition: cipher_extra.c:73
uv_poll_s
Definition: uv.h:783
uv__tcp_xfer_import
int uv__tcp_xfer_import(uv_tcp_t *tcp, uv__ipc_socket_xfer_type_t xfer_type, uv__ipc_socket_xfer_info_t *xfer_info)
Definition: win/tcp.c:1225
uv_process_tcp_read_req
void uv_process_tcp_read_req(uv_loop_t *loop, uv_tcp_t *handle, uv_req_t *req)
Definition: win/tcp.c:940
LPFN_ACCEPTEX
BOOL(PASCAL * LPFN_ACCEPTEX)(SOCKET sListenSocket, SOCKET sAcceptSocket, PVOID lpOutputBuffer, DWORD dwReceiveDataLength, DWORD dwLocalAddressLength, DWORD dwRemoteAddressLength, LPDWORD lpdwBytesReceived, LPOVERLAPPED lpOverlapped)
Definition: win.h:130
bytes
uint8 bytes[10]
Definition: bloaty/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:153
uv_write_cb
void(* uv_write_cb)(uv_write_t *req, int status)
Definition: uv.h:312
absl::flags_internal
Definition: abseil-cpp/absl/flags/commandlineflag.h:40
server
Definition: examples/python/async_streaming/server.py:1
uv_fs_poll_s
Definition: uv.h:1544
uv__getpwuid_r
int uv__getpwuid_r(uv_passwd_t *pwd)
Definition: unix/core.c:1134
uv_connection_cb
void(* uv_connection_cb)(uv_stream_t *server, int status)
Definition: uv.h:315
uv__peersockfunc
int(WINAPI * uv__peersockfunc)(SOCKET, struct sockaddr *, int *)
Definition: third_party/libuv/src/win/internal.h:275
uv_process_udp_recv_req
void uv_process_udp_recv_req(uv_loop_t *loop, uv_udp_t *handle, uv_req_t *req)
Definition: win/udp.c:460
uv_addr_ip6_any_
struct sockaddr_in6 uv_addr_ip6_any_
Definition: winsock.c:35
uv_tcp_close
void uv_tcp_close(uv_loop_t *loop, uv_tcp_t *tcp)
Definition: win/tcp.c:1374
uv_pipe_s
Definition: uv.h:757
uv_idle_invoke
void uv_idle_invoke(uv_loop_t *loop)
uv__signal_dispatch
int uv__signal_dispatch(int signum)
Definition: win/signal.c:75
uv_get_connectex_function
BOOL uv_get_connectex_function(SOCKET socket, LPFN_CONNECTEX *target)
Definition: winsock.c:71
uv_poll_endgame
void uv_poll_endgame(uv_loop_t *loop, uv_poll_t *handle)
Definition: win/poll.c:635
uv_loop_watcher_endgame
void uv_loop_watcher_endgame(uv_loop_t *loop, uv_handle_t *handle)
Definition: win/loop-watcher.c:29
uv_write_s
Definition: uv.h:522
uv_pipe_endgame
void uv_pipe_endgame(uv_loop_t *loop, uv_pipe_t *handle)
Definition: win/pipe.c:383
UV__IPC_SOCKET_XFER_TCP_SERVER
@ UV__IPC_SOCKET_XFER_TCP_SERVER
Definition: third_party/libuv/src/win/internal.h:67
handle
static csh handle
Definition: test_arm_regression.c:16
uv_process_signal_req
void uv_process_signal_req(uv_loop_t *loop, uv_signal_t *handle, uv_req_t *req)
Definition: win/signal.c:229
uv_handle_s
Definition: uv.h:441
test_server.socket
socket
Definition: test_server.py:65
uv__util_init
void uv__util_init(void)
Definition: libuv/src/win/util.c:80
uv_loop_s
Definition: uv.h:1767
uv_get_acceptex_function
BOOL uv_get_acceptex_function(SOCKET socket, LPFN_ACCEPTEX *target)
Definition: winsock.c:65
uv_udp_endgame
void uv_udp_endgame(uv_loop_t *loop, uv_udp_t *handle)
Definition: win/udp.c:195
uv_tcp_write
int uv_tcp_write(uv_loop_t *loop, uv_write_t *req, uv_tcp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb)
Definition: win/tcp.c:849
uv__hrtime
uint64_t uv__hrtime(double scale)
Definition: libuv/src/win/util.c:465
uv_tty_close
void uv_tty_close(uv_tty_t *handle)
Definition: win/tty.c:2249
UV__IPC_SOCKET_XFER_NONE
@ UV__IPC_SOCKET_XFER_NONE
Definition: third_party/libuv/src/win/internal.h:65
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
__declspec
__declspec(noreturn) void uv_fatal_error(const int errorno
NTSTATUS
LONG NTSTATUS
Definition: win.h:198
uv_fs_event_endgame
void uv_fs_event_endgame(uv_loop_t *loop, uv_fs_event_t *handle)
Definition: fs-event.c:578
uv__fs_poll_endgame
void uv__fs_poll_endgame(uv_loop_t *loop, uv_fs_poll_t *handle)
access
Definition: bloaty/third_party/zlib/examples/zran.c:75
_AFD_POLL_INFO
Definition: win.h:212
uv_tcp_read_start
int uv_tcp_read_start(uv_tcp_t *handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
Definition: win/tcp.c:728
uv_pipe_accept
int uv_pipe_accept(uv_pipe_t *server, uv_stream_t *client)
Definition: win/pipe.c:878
setup.target
target
Definition: third_party/bloaty/third_party/protobuf/python/setup.py:179
addr
struct sockaddr_in addr
Definition: libuv/docs/code/tcp-echo-server/main.c:10
uv_req_s
Definition: uv.h:404
uv_tcp_accept
int uv_tcp_accept(uv_tcp_t *server, uv_tcp_t *client)
Definition: win/tcp.c:659
cb
OPENSSL_EXPORT pem_password_cb * cb
Definition: pem.h:351
uv__stdio_verify
int uv__stdio_verify(BYTE *buffer, WORD size)
Definition: process-stdio.c:481
uv_process_udp_send_req
void uv_process_udp_send_req(uv_loop_t *loop, uv_udp_t *handle, uv_udp_send_t *req)
Definition: win/udp.c:571
uv__pipe_read_stop
void uv__pipe_read_stop(uv_pipe_t *handle)
Definition: win/pipe.c:777
uv__random_rtlgenrandom
int uv__random_rtlgenrandom(void *buf, size_t buflen)
Definition: libuv/src/win/util.c:1867
uv__once_init
void uv__once_init(void)
Definition: win/core.c:314
uv_process_pipe_connect_req
void uv_process_pipe_connect_req(uv_loop_t *loop, uv_pipe_t *handle, uv_connect_t *req)
Definition: win/pipe.c:1947
uv_tcp_endgame
void uv_tcp_endgame(uv_loop_t *loop, uv_tcp_t *handle)
Definition: win/tcp.c:208


grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:07