Home
last modified time | relevance | path

Searched refs:libusb_pollfd (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/usb_util/src/
Dlibusb_context.rs120 let list: *mut *const bindings::libusb_pollfd = in get_pollfd_iter()
225 list: *mut *const bindings::libusb_pollfd,
239 type Item = bindings::libusb_pollfd;
241 fn next(&mut self) -> Option<bindings::libusb_pollfd> { in next() argument
Dbindings.rs4436 pub struct libusb_pollfd { struct
4448 ::std::mem::size_of::<libusb_pollfd>(), in bindgen_test_layout_libusb_pollfd() argument
4450 concat!("Size of: ", stringify!(libusb_pollfd)) in bindgen_test_layout_libusb_pollfd()
4453 ::std::mem::align_of::<libusb_pollfd>(), in bindgen_test_layout_libusb_pollfd()
4455 concat!("Alignment of ", stringify!(libusb_pollfd)) in bindgen_test_layout_libusb_pollfd()
4458 unsafe { &(*(::std::ptr::null::<libusb_pollfd>())).fd as *const _ as usize }, in bindgen_test_layout_libusb_pollfd()
4462 stringify!(libusb_pollfd), in bindgen_test_layout_libusb_pollfd()
4468 unsafe { &(*(::std::ptr::null::<libusb_pollfd>())).events as *const _ as usize }, in bindgen_test_layout_libusb_pollfd()
4472 stringify!(libusb_pollfd), in bindgen_test_layout_libusb_pollfd()
4506 pub fn libusb_get_pollfds(ctx: *mut libusb_context) -> *mut *const libusb_pollfd; in libusb_get_pollfds() argument
[all …]
/external/libusb/libusb/
Dio.c2125 struct libusb_pollfd *pollfd = &ipollfd->pollfd; in handle_events()
2719 const struct libusb_pollfd ** LIBUSB_CALL libusb_get_pollfds( in libusb_get_pollfds()
2723 struct libusb_pollfd **ret = NULL; in libusb_get_pollfds()
2730 ret = calloc(ctx->pollfds_cnt + 1, sizeof(struct libusb_pollfd *)); in libusb_get_pollfds()
2735 ret[i++] = (struct libusb_pollfd *) ipollfd; in libusb_get_pollfds()
2740 return (const struct libusb_pollfd **) ret; in libusb_get_pollfds()
2759 void API_EXPORTED libusb_free_pollfds(const struct libusb_pollfd **pollfds) in libusb_free_pollfds()
Dlibusb.h1832 struct libusb_pollfd { struct
1867 const struct libusb_pollfd ** LIBUSB_CALL libusb_get_pollfds(
1869 void LIBUSB_CALL libusb_free_pollfds(const struct libusb_pollfd **pollfds);
Dlibusbi.h558 struct libusb_pollfd pollfd;
/external/libusb/include/libusb/
Dlibusb.h1832 struct libusb_pollfd { struct
1867 const struct libusb_pollfd ** LIBUSB_CALL libusb_get_pollfds(
1869 void LIBUSB_CALL libusb_free_pollfds(const struct libusb_pollfd **pollfds);
Dlibusbi.h558 struct libusb_pollfd pollfd;