Home
last modified time | relevance | path

Searched refs:ievent_source (Results 1 – 3 of 3) sorted by relevance

/external/libusb/libusb/os/
Devents_posix.c191 struct usbi_event_source *ievent_source; in usbi_alloc_event_data() local
201 for_each_event_source(ctx, ievent_source) in usbi_alloc_event_data()
208 for_each_event_source(ctx, ievent_source) { in usbi_alloc_event_data()
209 fds[i].fd = ievent_source->data.os_handle; in usbi_alloc_event_data()
210 fds[i].events = ievent_source->data.poll_events; in usbi_alloc_event_data()
270 struct usbi_event_source *ievent_source; in usbi_wait_for_events() local
272 for_each_removed_event_source(ctx, ievent_source) { in usbi_wait_for_events()
276 if (ievent_source->data.os_handle != fds[n].fd) in usbi_wait_for_events()
Devents_windows.c131 struct usbi_event_source *ievent_source; in usbi_alloc_event_data() local
144 for_each_event_source(ctx, ievent_source) in usbi_alloc_event_data()
158 for_each_event_source(ctx, ievent_source) { in usbi_alloc_event_data()
159 handles[i] = ievent_source->data.os_handle; in usbi_alloc_event_data()
/external/libusb/libusb/
Dio.c1214 struct usbi_event_source *ievent_source, *tmp; in cleanup_removed_event_sources() local
1216 for_each_removed_event_source_safe(ctx, ievent_source, tmp) { in cleanup_removed_event_sources()
1217 list_del(&ievent_source->list); in cleanup_removed_event_sources()
1218 free(ievent_source); in cleanup_removed_event_sources()
2654 struct usbi_event_source *ievent_source = malloc(sizeof(*ievent_source)); in usbi_add_event_source() local
2656 if (!ievent_source) in usbi_add_event_source()
2660 ievent_source->data.os_handle = os_handle; in usbi_add_event_source()
2661 ievent_source->data.poll_events = poll_events; in usbi_add_event_source()
2663 list_add_tail(&ievent_source->list, &ctx->event_sources); in usbi_add_event_source()
2678 struct usbi_event_source *ievent_source; in usbi_remove_event_source() local
[all …]