Searched refs:tout (Results 1 - 7 of 7) sorted by relevance
/third_party/node/deps/cares/src/lib/ |
H A D | ares_timeout.c | 39 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 D | ares_event_select.c | 82 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 D | ares__threads.c | 554 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 D | ares_private.h | 364 const struct timeval *tout);
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_pthread.cpp | 346 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 D | test_poll.py | 135 for tout in (0, 1000, 2000, 4000, 8000, 16000) + (-1,)*10: 136 fdlist = pollster.poll(tout)
|
/third_party/libcoap/src/ |
H A D | coap_openssl.c | 1067 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 9 milliseconds