Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | SET_REQ_STATUS(req, status) (req)->u.io.overlapped.Internal = (ULONG_PTR) (status) |
#define | SET_REQ_ERROR(req, error) SET_REQ_STATUS((req), NTSTATUS_FROM_WIN32((error))) |
#define | SET_REQ_SUCCESS(req) SET_REQ_STATUS((req), STATUS_SUCCESS) |
#define | GET_REQ_STATUS(req) ((NTSTATUS) (req)->u.io.overlapped.Internal) |
#define | REQ_SUCCESS(req) (NT_SUCCESS(GET_REQ_STATUS((req)))) |
#define | GET_REQ_ERROR(req) (pRtlNtStatusToDosError(GET_REQ_STATUS((req)))) |
#define | GET_REQ_SOCK_ERROR(req) (uv_ntstatus_to_winsock_error(GET_REQ_STATUS((req)))) |
#define | REGISTER_HANDLE_REQ(loop, handle, req) |
#define | UNREGISTER_HANDLE_REQ(loop, handle, req) |
#define | UV_SUCCEEDED_WITHOUT_IOCP(result) ((result) && (handle->flags & UV_HANDLE_SYNC_BYPASS_IOCP)) |
#define | UV_SUCCEEDED_WITH_IOCP(result) ((result) || (GetLastError() == ERROR_IO_PENDING)) |
#define | POST_COMPLETION_FOR_REQ(loop, req) |
#define | DELEGATE_STREAM_REQ(loop, req, method, handle_at) |
Functions | |
static INLINE uv_req_t * | uv_overlapped_to_req (OVERLAPPED *overlapped) |
static INLINE void | uv_insert_pending_req (uv_loop_t *loop, uv_req_t *req) |
static INLINE int | uv_process_reqs (uv_loop_t *loop) |
#define GET_REQ_ERROR | ( | req | ) | (pRtlNtStatusToDosError(GET_REQ_STATUS((req)))) |
#define GET_REQ_SOCK_ERROR | ( | req | ) | (uv_ntstatus_to_winsock_error(GET_REQ_STATUS((req)))) |
#define REQ_SUCCESS | ( | req | ) | (NT_SUCCESS(GET_REQ_STATUS((req)))) |
#define SET_REQ_ERROR | ( | req, | |
error | |||
) | SET_REQ_STATUS((req), NTSTATUS_FROM_WIN32((error))) |
#define SET_REQ_SUCCESS | ( | req | ) | SET_REQ_STATUS((req), STATUS_SUCCESS) |
#define UV_SUCCEEDED_WITH_IOCP | ( | result | ) | ((result) || (GetLastError() == ERROR_IO_PENDING)) |
#define UV_SUCCEEDED_WITHOUT_IOCP | ( | result | ) | ((result) && (handle->flags & UV_HANDLE_SYNC_BYPASS_IOCP)) |
Definition at line 90 of file req-inl.h.
References assert(), loop, NULL, and req.
Referenced by uv__fast_poll_submit_poll_req(), uv__poll(), uv__poll_wine(), uv__send(), uv__slow_poll_submit_poll_req(), uv_fs_event_queue_readdirchanges(), uv_pipe_connect(), uv_pipe_endgame(), uv_pipe_queue_accept(), uv_pipe_queue_read(), uv_tcp_queue_accept(), uv_tcp_queue_read(), uv_tcp_try_connect(), uv_tcp_write(), uv_tty_queue_read_line(), uv_tty_queue_read_raw(), uv_tty_read_start(), uv_tty_write(), and uv_udp_queue_recv().
Definition at line 85 of file req-inl.h.
Referenced by uv__poll(), and uv__poll_wine().
Definition at line 141 of file req-inl.h.
References accept, assert(), DELEGATE_STREAM_REQ, handle, loop, NULL, read(), req, uv_process_async_wakeup_req(), uv_process_fs_event_req(), uv_process_pipe_shutdown_req(), uv_process_poll_req(), uv_process_proc_exit(), uv_process_signal_req(), uv_process_udp_recv_req(), uv_process_udp_send_req(), and write.
Referenced by uv_run().