Searched refs:os_handle (Results 1 – 13 of 13) sorted by relevance
/external/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);
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm.rs | 148 os_handle: dmabuf, in allocate_memory() 170 os_handle: dmabuf, in allocate_memory()
|
D | system_gralloc.rs | 49 os_handle: shm.into(), in allocate_memory()
|
D | vulkano_gralloc.rs | 359 os_handle: descriptor, in allocate_memory() 394 .import_info(handle.os_handle.into(), handle_type) in import_and_map()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | virtio_gpu.rs | 302 dmabuf.os_handle.as_raw_descriptor(), in import_to_display() 440 Ok(handle) => handle.os_handle.into(), in export_resource() 477 file: handle.os_handle.into(), in export_fence() 649 descriptor: export.os_handle, in resource_map_blob() 658 export.os_handle, in resource_map_blob()
|
D | udmabuf.rs | 165 let os_handle = unsafe { SafeDescriptor::from_raw_descriptor(fd) }; in create_udmabuf() localVariable 167 os_handle, in create_udmabuf()
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_utils.rs | 489 pub os_handle: SafeDescriptor, field 497 .os_handle in try_clone() 501 os_handle: clone, in try_clone()
|
D | virgl_renderer.rs | 273 os_handle: dmabuf, in export_blob() 546 os_handle: fence, in export_fence()
|
/external/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()
|
/external/libusb/include/libusb/ |
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);
|
/external/crosvm/vm_control/src/ |
D | lib.rs | 356 os_handle: descriptor, in execute() 422 &handle.os_handle, in execute() 431 handle.os_handle.into_raw_descriptor(), in execute()
|