Home
last modified time | relevance | path

Searched refs:os_handle (Results 1 – 13 of 13) sorted by relevance

/external/libusb/libusb/
Dio.c2652 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()
Dlibusbi.h689 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/
Dminigbm.rs148 os_handle: dmabuf, in allocate_memory()
170 os_handle: dmabuf, in allocate_memory()
Dsystem_gralloc.rs49 os_handle: shm.into(), in allocate_memory()
Dvulkano_gralloc.rs359 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/
Dvirtio_gpu.rs302 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()
Dudmabuf.rs165 let os_handle = unsafe { SafeDescriptor::from_raw_descriptor(fd) }; in create_udmabuf() localVariable
167 os_handle, in create_udmabuf()
/external/crosvm/rutabaga_gfx/src/
Drutabaga_utils.rs489 pub os_handle: SafeDescriptor, field
497 .os_handle in try_clone()
501 os_handle: clone, in try_clone()
Dvirgl_renderer.rs273 os_handle: dmabuf, in export_blob()
546 os_handle: fence, in export_fence()
/external/libusb/libusb/os/
Devents_posix.c209 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()
Devents_windows.c159 handles[i] = ievent_source->data.os_handle; in usbi_alloc_event_data()
/external/libusb/include/libusb/
Dlibusbi.h689 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/
Dlib.rs356 os_handle: descriptor, in execute()
422 &handle.os_handle, in execute()
431 handle.os_handle.into_raw_descriptor(), in execute()