Searched refs:os_handle (Results 1 – 5 of 5) sorted by relevance
/third_party/libusb/libusb/ |
D | io.c | 2652 int usbi_add_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle, short poll_events) in usbi_add_event_source() argument 2659 usbi_dbg("add " USBI_OS_HANDLE_FORMAT_STRING " events %d", os_handle, poll_events); in usbi_add_event_source() 2660 ievent_source->data.os_handle = os_handle; in usbi_add_event_source() 2669 ctx->fd_added_cb(os_handle, poll_events, ctx->fd_cb_user_data); in usbi_add_event_source() 2676 void usbi_remove_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle) in usbi_remove_event_source() argument 2681 usbi_dbg("remove " USBI_OS_HANDLE_FORMAT_STRING, os_handle); in usbi_remove_event_source() 2684 if (ievent_source->data.os_handle == os_handle) { in usbi_remove_event_source() 2691 usbi_dbg("couldn't find " USBI_OS_HANDLE_FORMAT_STRING " to remove", os_handle); in usbi_remove_event_source() 2703 ctx->fd_removed_cb(os_handle, ctx->fd_cb_user_data); in usbi_remove_event_source()
|
D | libusbi.h | 689 usbi_os_handle_t os_handle; member 695 int usbi_add_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle, 697 void usbi_remove_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle);
|
/third_party/libusb/libusb/os/ |
D | events_posix.c | 209 fds[i].fd = ievent_source->data.os_handle; in usbi_alloc_event_data() 276 if (ievent_source->data.os_handle != fds[n].fd) in usbi_wait_for_events()
|
D | events_windows.c | 159 handles[i] = ievent_source->data.os_handle; in usbi_alloc_event_data()
|
/third_party/libuv/src/win/ |
D | pipe.c | 2278 HANDLE os_handle = uv__get_osfhandle(file); in uv_pipe_open() local 2284 if (os_handle == INVALID_HANDLE_VALUE) in uv_pipe_open() 2296 os_handle, in uv_pipe_open() 2298 &os_handle, in uv_pipe_open() 2310 nt_status = pNtQueryInformationFile(os_handle, in uv_pipe_open() 2330 if (os_handle == INVALID_HANDLE_VALUE || in uv_pipe_open() 2333 os_handle, in uv_pipe_open()
|