Home
last modified time | relevance | path

Searched refs:tout (Results 1 - 7 of 7) sorted by relevance

/third_party/node/deps/cares/src/lib/
H A Dares_timeout.c39 const struct timeval *tout) in ares__timeval_remaining()
44 if (tout->tv_sec < now->tv_sec || in ares__timeval_remaining()
45 (tout->tv_sec == now->tv_sec && tout->tv_usec < now->tv_usec)) { in ares__timeval_remaining()
49 remaining->tv_sec = tout->tv_sec - now->tv_sec; in ares__timeval_remaining()
50 if (tout->tv_usec < now->tv_usec) { in ares__timeval_remaining()
52 remaining->tv_usec = (tout->tv_usec + 1000000) - now->tv_usec; in ares__timeval_remaining()
54 remaining->tv_usec = tout->tv_usec - now->tv_usec; in ares__timeval_remaining()
37 ares__timeval_remaining(struct timeval *remaining, const struct timeval *now, const struct timeval *tout) ares__timeval_remaining() argument
H A Dares_event_select.c82 struct timeval *tout = NULL; in ares_evsys_select_wait() local
104 tout = &tv; in ares_evsys_select_wait()
107 rv = select(nfds, &read_fds, &write_fds, NULL, tout); in ares_evsys_select_wait()
H A Dares__threads.c554 struct timeval tout; in ares_queue_wait_empty() local
565 tout = ares__tvnow(); in ares_queue_wait_empty()
566 tout.tv_sec += timeout_ms / 1000; in ares_queue_wait_empty()
567 tout.tv_usec += (timeout_ms % 1000) * 1000; in ares_queue_wait_empty()
579 ares__timeval_remaining(&tv_remaining, &tv_now, &tout); in ares_queue_wait_empty()
H A Dares_private.h364 const struct timeval *tout);
/third_party/musl/Benchmark/musl/
H A Dlibc_pthread.cpp346 struct timespec tout; in Bm_function_pthread_rwlock_timedrdlock() local
347 time(&tout.tv_sec); in Bm_function_pthread_rwlock_timedrdlock()
348 tout.tv_nsec = 0; in Bm_function_pthread_rwlock_timedrdlock()
349 tout.tv_sec += 1; in Bm_function_pthread_rwlock_timedrdlock()
354 pthread_rwlock_timedrdlock(&lock, &tout); in Bm_function_pthread_rwlock_timedrdlock()
364 struct timespec tout; in Bm_function_pthread_rwlock_timedwrlock() local
365 time(&tout.tv_sec); in Bm_function_pthread_rwlock_timedwrlock()
366 tout.tv_nsec = 0; in Bm_function_pthread_rwlock_timedwrlock()
367 tout.tv_sec += 1; in Bm_function_pthread_rwlock_timedwrlock()
372 pthread_rwlock_timedwrlock(&lock, &tout); in Bm_function_pthread_rwlock_timedwrlock()
[all...]
/third_party/python/Lib/test/
H A Dtest_poll.py135 for tout in (0, 1000, 2000, 4000, 8000, 16000) + (-1,)*10:
136 fdlist = pollster.poll(tout)
/third_party/libcoap/src/
H A Dcoap_openssl.c1067 unsigned char *tout = NULL; in server_alpn_callback() local
1071 ret = SSL_select_next_proto(&tout, in server_alpn_callback()
1077 *out = tout; in server_alpn_callback()

Completed in 8 milliseconds