Home
last modified time | relevance | path

Searched refs:poll_timeout (Results 1 – 6 of 6) sorted by relevance

/external/igt-gpu-tools/tools/
Dintel_guc_logger.c65 int poll_timeout = 2; /* by default 2ms timeout */ variable
356 poll_timeout = atoi(optarg); in parse_options()
357 igt_assert_f(poll_timeout != 0, "invalid input for -p option\n"); in parse_options()
358 if (poll_timeout > 0) in parse_options()
359 igt_debug("polling to be done with %d millisecond timeout\n", poll_timeout); in parse_options()
441 ret = poll(&relay_poll_fd, nfds, poll_timeout); in main()
/external/adhd/cras/src/server/
Dcras_server.c561 struct timespec ts, *poll_timeout; in cras_server_run() local
667 poll_timeout = NULL; in cras_server_run()
669 poll_timeout = timers_active ? &ts : NULL; in cras_server_run()
671 rc = ppoll(pollfds, num_pollfds, poll_timeout, NULL); in cras_server_run()
/external/libusb/libusb/
Dio.c2323 struct timeval poll_timeout; in libusb_handle_events_timeout_completed() local
2329 r = get_next_timeout(ctx, tv, &poll_timeout); in libusb_handle_events_timeout_completed()
2341 r = handle_events(ctx, &poll_timeout); in libusb_handle_events_timeout_completed()
2363 r = libusb_wait_for_event(ctx, &poll_timeout); in libusb_handle_events_timeout_completed()
2465 struct timeval poll_timeout; in libusb_handle_events_locked() local
2471 r = get_next_timeout(ctx, tv, &poll_timeout); in libusb_handle_events_locked()
2478 return handle_events(ctx, &poll_timeout); in libusb_handle_events_locked()
/external/iproute2/misc/
Darpd.c91 int poll_timeout = 30000; variable
617 if ((poll_timeout = 1000 * strtod(optarg, NULL)) < 100) { in main()
818 if (poll(pset, 2, poll_timeout) > 0) { in main()
/external/libpcap/
Dpcap-linux.c191 int poll_timeout; /* timeout to use in poll() */ member
901 handlep->poll_timeout = 1; /* don't block for very long */ in set_poll_timeout()
904 handlep->poll_timeout = -1; /* block forever */ in set_poll_timeout()
913 handlep->poll_timeout = -1; /* block forever, let TPACKET_V3 wake us up */ in set_poll_timeout()
916 handlep->poll_timeout = handlep->timeout; /* block for that amount of time */ in set_poll_timeout()
923 handlep->poll_timeout = 0; in set_poll_timeout()
3465 timeout = handlep->poll_timeout; in pcap_wait_for_frames_mmap()
3737 if (handlep->poll_timeout == 0) in pcap_wait_for_frames_mmap()
/external/wpa_supplicant_8/wpa_supplicant/examples/
Ddpp-nfc.py302 poll_timeout = 0.1 if timeout is None or timeout > 0.1 else timeout
303 if not self.socket.poll('recv', poll_timeout):