Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 25 of 46) sorted by relevance

12

/third_party/curl/lib/
Dtimeval.c132 uint64_t usecs; in Curl_now() local
137 usecs = mach_absolute_time(); in Curl_now()
138 usecs *= timebase.numer; in Curl_now()
139 usecs /= timebase.denom; in Curl_now()
140 usecs /= 1000; in Curl_now()
142 cnow.tv_sec = usecs / 1000000; in Curl_now()
143 cnow.tv_usec = (int)(usecs % 1000000); in Curl_now()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DSystemUtils.cpp28 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);
DSystemUtils.h20 void USleep(unsigned int usecs);
/third_party/skia/third_party/externals/dawn/src/utils/
DSystemUtils.cpp28 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);
DSystemUtils.h20 void USleep(unsigned int usecs);
/third_party/ltp/testcases/lib/
Dtst_sleep.c32 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/mesa3d/src/util/
Dos_time.c93 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()
Dos_time.h81 os_time_sleep(int64_t usecs);
/third_party/gstreamer/gstreamer/gst/
Dgstdatetime.c474 gst_date_time_new_from_unix_epoch_local_time_usecs (gint64 usecs) in gst_date_time_new_from_unix_epoch_local_time_usecs() argument
477 gint64 secs = usecs / G_USEC_PER_SEC; in gst_date_time_new_from_unix_epoch_local_time_usecs()
478 gint64 usec_part = usecs % G_USEC_PER_SEC; in gst_date_time_new_from_unix_epoch_local_time_usecs()
504 gst_date_time_new_from_unix_epoch_utc_usecs (gint64 usecs) in gst_date_time_new_from_unix_epoch_utc_usecs() argument
507 gint64 secs = usecs / G_USEC_PER_SEC; in gst_date_time_new_from_unix_epoch_utc_usecs()
508 gint64 usec_part = usecs % G_USEC_PER_SEC; in gst_date_time_new_from_unix_epoch_utc_usecs()
886 guint64 usecs; in gst_date_time_new_from_iso8601_string() local
955 usecs = g_ascii_strtoull (string + 1, (gchar **) & string, 10); in gst_date_time_new_from_iso8601_string()
956 if (usecs != G_MAXUINT64 && string > usec_start) { in gst_date_time_new_from_iso8601_string()
958 second += (gdouble) usecs / pow (10.0, digits); in gst_date_time_new_from_iso8601_string()
Dgstdatetime.h109 GstDateTime * gst_date_time_new_from_unix_epoch_local_time_usecs (gint64 usecs) G_GNUC_MALLOC;
112 GstDateTime * gst_date_time_new_from_unix_epoch_utc_usecs (gint64 usecs) G_GNUC_MALLOC;
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx06.c50 unsigned int usecs; in clock_wait_tick() local
53 usecs = tst_timespec_to_us(res); in clock_wait_tick()
55 usleep(usecs); in clock_wait_tick()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.h61 unsigned usecs; member
78 uint usecs, float size_factor,
Dpb_cache.c106 entry->end = entry->start + mgr->usecs; in pb_cache_add_buffer()
281 uint usecs, float size_factor, in pb_cache_init() argument
301 mgr->usecs = usecs; in pb_cache_init()
Dpb_bufmgr_cache.c289 unsigned usecs, in pb_cache_manager_create() argument
307 pb_cache_init(&mgr->cache, 1, usecs, size_factor, bypass_usage, in pb_cache_manager_create()
Dpb_bufmgr.h138 unsigned usecs,
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_request_response_with_callback.c272 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/
DVkDeviceMemoryExternalMac.hpp49 uint64_t usecs = (uint64_t)((double)time * convert_ratio - secs * 1e9); in GetTime() local
51 tv.tv_nsec = usecs; in GetTime()
/third_party/gstreamer/gstreamer/docs/random/ensonic/
Dprofiling.txt39 * scheduler keeps a list of usecs the process function of each element was
47 * scheduler sets sum and all usecs in the list to 0
49 * remember old usecs t_old
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dgas_query_ap.c349 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_standard/src/ap/
Dgas_query_ap.c349 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/libwebsockets/lib/core-net/
Dwsi-timeout.c65 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/src/utils/
Deloop.h179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Deloop.h179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dgas_query.c395 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/gstreamer/gstplugins_bad/gst/asfmux/
Dgstasfobjects.c245 guint64 usecs; in gst_asf_get_current_time() local
250 usecs = (guint64) now % G_USEC_PER_SEC; in gst_asf_get_current_time()
251 return secs * G_GUINT64_CONSTANT (10000000) + usecs * 10 in gst_asf_get_current_time()

12