Home
last modified time | relevance | path

Searched refs:num_ready (Results 1 – 9 of 9) sorted by relevance

/external/libusb/libusb/os/
Devents_posix.c223 int internal_fds, num_ready; in usbi_wait_for_events() local
226 num_ready = poll(fds, nfds, timeout_ms); in usbi_wait_for_events()
227 usbi_dbg("poll() returned %d", num_ready); in usbi_wait_for_events()
228 if (num_ready == 0) { in usbi_wait_for_events()
232 } else if (num_ready == -1) { in usbi_wait_for_events()
242 num_ready--; in usbi_wait_for_events()
251 num_ready--; in usbi_wait_for_events()
257 if (!num_ready) in usbi_wait_for_events()
284 num_ready--; in usbi_wait_for_events()
291 if (num_ready) { in usbi_wait_for_events()
[all …]
Devents_windows.c212 reported_events->num_ready = 0; in usbi_wait_for_events()
Dlinux_usbfs.c2671 void *event_data, unsigned int count, unsigned int num_ready) in op_handle_events() argument
2678 for (n = 0; n < count && num_ready > 0; n++) { in op_handle_events()
2687 num_ready--; in op_handle_events()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc292 size_t num_ready = 0; in UpdateStateLocked() local
306 ++num_ready; in UpdateStateLocked()
327 if (num_ready > 0) { in UpdateStateLocked()
/external/crosvm/io_uring/src/
During.rs606 let wait_nr = if self.complete_ring.num_ready() > 0 { in wait()
740 fn num_ready(&self) -> u32 { in num_ready() method
1419 assert_eq!(uring.complete_ring.num_ready(), 0); in submit_from_any_thread()
1524 assert!(uring.complete_ring.num_ready() <= NUM_COMPLETERS as u32); in multi_thread_submit_and_complete()
1526 in_flight.lock().abs() as u32 + uring.complete_ring.num_ready(), in multi_thread_submit_and_complete()
/external/libusb/include/libusb/
Dlibusbi.h735 unsigned int num_ready; member
1278 void *event_data, unsigned int count, unsigned int num_ready);
/external/libusb/libusb/
Dlibusbi.h735 unsigned int num_ready; member
1278 void *event_data, unsigned int count, unsigned int num_ready);
Dio.c2251 if (!reported_events.num_ready) in handle_events()
2255 reported_events.event_data_count, reported_events.num_ready); in handle_events()
/external/libcups/tools/
Dippeveprinter.c4086 int num_ready; /* Number of loaded media */ in load_legacy_attributes() local
4338 num_ready = (int)(sizeof(media_ready_color) / sizeof(media_ready_color[0])); in load_legacy_attributes()
4345 num_ready = (int)(sizeof(media_ready) / sizeof(media_ready[0])); in load_legacy_attributes()
4436 attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "media-col-ready", num_ready, NULL); in load_legacy_attributes()
4437 for (i = 0; i < num_ready; i ++) in load_legacy_attributes()
4504 ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-ready", num_ready, NULL, ready); in load_legacy_attributes()
7297 num_ready, /* Number of ready media */ in show_media() local
7375 num_ready = ippGetCount(media_col_ready); in show_media()
7491 for (j = 0, ready_size = NULL, ready_type = NULL; j < num_ready; j ++) in show_media()