/third_party/ltp/testcases/lib/ |
H A D | tst_sleep.c | 32 long interval, secs = 0, usecs = 0; in main() local 78 usecs = (interval % 1000) * 1000; in main() 83 usecs = interval % 1000000; in main() 89 if (usecs) in main() 90 usleep(usecs); in main()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | SystemUtils.cpp | 28 void USleep(unsigned int usecs) { in USleep() argument 29 Sleep(static_cast<DWORD>(usecs / 1000)); in USleep() 32 void USleep(unsigned int usecs) { 33 usleep(usecs);
|
H A D | SystemUtils.h | 20 void USleep(unsigned int usecs);
|
/third_party/curl/lib/ |
H A D | timeval.c | 147 uint64_t usecs; in Curl_now() local 152 usecs = mach_absolute_time(); in Curl_now() 153 usecs *= timebase.numer; in Curl_now() 154 usecs /= timebase.denom; in Curl_now() 155 usecs /= 1000; in Curl_now() 157 cnow.tv_sec = usecs / 1000000; in Curl_now() 158 cnow.tv_usec = (int)(usecs % 1000000); in Curl_now()
|
/third_party/mesa3d/src/util/ |
H A D | os_time.c | 93 os_time_sleep(int64_t usecs) in os_time_sleep() argument 97 time.tv_sec = usecs / 1000000; in os_time_sleep() 98 time.tv_nsec = (usecs % 1000000) * 1000; in os_time_sleep() 102 usleep(usecs); in os_time_sleep() 105 DWORD dwMilliseconds = (DWORD) ((usecs + 999) / 1000); in os_time_sleep()
|
H A D | os_time.h | 81 os_time_sleep(int64_t usecs);
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
H A D | statx06.c | 49 unsigned int usecs; in clock_wait_tick() local 52 usecs = tst_timespec_to_us(res); in clock_wait_tick() 54 usleep(usecs); in clock_wait_tick()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_cache.h | 61 unsigned usecs; member 78 uint usecs, float size_factor,
|
H A D | pb_cache.c | 106 entry->end = entry->start + mgr->usecs; in pb_cache_add_buffer() 268 * @param usecs Unused buffers may be released from the cache after this 281 uint usecs, float size_factor, in pb_cache_init() 301 mgr->usecs = usecs; in pb_cache_init() 280 pb_cache_init(struct pb_cache *mgr, uint num_heaps, uint usecs, float size_factor, unsigned bypass_usage, uint64_t maximum_cache_size, void *winsys, void (*destroy_buffer)(void *winsys, struct pb_buffer *buf), bool (*can_reclaim)(void *winsys, struct pb_buffer *buf)) pb_cache_init() argument
|
H A D | pb_bufmgr_cache.c | 278 * @param usecs Unused buffers may be released from the cache after this 289 unsigned usecs, in pb_cache_manager_create() 307 pb_cache_init(&mgr->cache, 1, usecs, size_factor, bypass_usage, in pb_cache_manager_create() 288 pb_cache_manager_create(struct pb_manager *provider, unsigned usecs, float size_factor, unsigned bypass_usage, uint64_t maximum_cache_size) pb_cache_manager_create() argument
|
H A D | pb_bufmgr.h | 138 unsigned usecs,
|
/third_party/backends/backend/ |
H A D | plustek-pp_scan.h | 121 # define _DO_UDELAY(usecs) sanei_pp_udelay(usecs)
|
H A D | u12-scanner.h | 58 #define _DO_UDELAY(usecs) u12io_udelay(usecs)
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_request_response_with_callback.c | 272 uint64_t usecs; in childproc() local 288 usecs = (uint64_t)1000000 * (uint64_t)(tv2.tv_sec - tv1.tv_sec) + tv2.tv_usec - tv1.tv_usec; in childproc() 289 printf("%lld bytes read in %llu usecs\n", (long long)st.st_size, (long long unsigned )usecs); in childproc()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkDeviceMemoryExternalMac.hpp | 49 uint64_t usecs = (uint64_t)((double)time * convert_ratio - secs * 1e9); in GetTime() local 51 tv.tv_nsec = usecs; in GetTime()
|
/third_party/libwebsockets/lib/core-net/ |
H A D | wsi-timeout.c | 65 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs) in lws_set_timer_usecs() argument 67 __lws_set_timer_usecs(wsi, usecs); in lws_set_timer_usecs()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | gas_query_ap.c | 349 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local 352 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay() 354 " in %u secs %u usecs", MAC2STR_SEC(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay() 356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | gas_query_ap.c | 349 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local 352 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay() 354 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay() 356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | eloop.h | 170 * @usecs: Number of microseconds to the timeout 179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | eloop.h | 170 * @usecs: Number of microseconds to the timeout 179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | gas_query.c | 395 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local 403 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay() 405 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay() 407 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | gas_query.c | 386 unsigned int secs, usecs; in gas_query_tx_comeback_req_delay() local 394 usecs = comeback_delay * 1024 - secs * 1000000; in gas_query_tx_comeback_req_delay() 396 " in %u secs %u usecs", MAC2STR_SEC(query->addr), secs, usecs); in gas_query_tx_comeback_req_delay() 398 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout, in gas_query_tx_comeback_req_delay()
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-timeout-timer.h | 127 * \param usecs: LWS_SET_TIMER_USEC_CANCEL removes any existing scheduled 151 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs);
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-starboard.cc | 85 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument 93 *usecs = thread_now % kSbTimeSecond; in GetUserTime()
|
H A D | platform-fuchsia.cc | 356 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument 371 *usecs = in GetUserTime()
|