/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | gsttestclock.c | 38 GstClockID clock_id; member 76 gst_clock_id_wait (ctx->clock_id, &ctx->jitter); in test_wait_pending_single_shot_id_sync_worker() 84 GstClockID clock_id = data; in test_wait_pending_single_shot_id_async_worker() local 87 gst_clock_id_wait_async (clock_id, test_async_wait_cb, NULL, NULL); in test_wait_pending_single_shot_id_async_worker() 95 GstClockID clock_id = data; in test_wait_pending_periodic_id_waiter_thread() local 96 gst_clock_id_wait (clock_id, NULL); in test_wait_pending_periodic_id_waiter_thread() 270 GstClockID clock_id; in GST_START_TEST() local 279 clock_id = gst_clock_new_single_shot_id (clock, GST_SECOND - 1); in GST_START_TEST() 280 context.clock_id = gst_clock_id_ref (clock_id); in GST_START_TEST() 286 assert_pending_id (pending_id, clock_id, GST_CLOCK_ENTRY_SINGLE, in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | audio-trickplay.c | 55 GstClockID clock_id; in main() local 175 clock_id = in main() 182 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 186 gst_clock_id_unref (clock_id); in main() 198 clock_id = in main() 201 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 204 gst_clock_id_unref (clock_id); in main() 216 clock_id = in main() 219 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 222 gst_clock_id_unref (clock_id); in main() [all …]
|
/third_party/boost/boost/chrono/detail/inlined/posix/ |
D | thread_clock.hpp | 36 clockid_t clock_id; in now() 37 pthread_getcpuclockid(pth, &clock_id); in now() 39 if ( ::clock_gettime( clock_id, &ts ) ) in now() 62 clockid_t clock_id; in now() 63 pthread_getcpuclockid(pth, &clock_id); in now() 65 if ( ::clock_gettime( clock_id, &ts ) ) in now()
|
/third_party/ltp/lib/ |
D | tst_timer.c | 16 static clockid_t clock_id; variable 34 clock_id = clk_id; in tst_timer_start() 36 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start() 44 if (tst_clock_gettime(clock_id, &cur_time)) in tst_timer_expired_ms() 52 if (tst_clock_gettime(clock_id, &stop_time)) in tst_timer_stop()
|
/third_party/musl/libc-test/src/functionalext/thread/ |
D | pthread_rwlock_wrlock.c | 60 clockid_t clock_id = CLOCK_REALTIME; in RwlockClockRealTimeWait2() local 62 GetDelayedTimeByClockid(&ts, SLEEP_100_MS, clock_id); in RwlockClockRealTimeWait2() 63 EXPECT_EQ(pthread_rwlock_clockwrlock(&w_rwlock2, clock_id, &ts), 0); in RwlockClockRealTimeWait2() 177 clockid_t clock_id = CLOCK_REALTIME; in pthread_rwlock_timedwrlock_0020() local 181 GetDelayedTimeByClockid(&ts, SLEEP_100_MS, clock_id); in pthread_rwlock_timedwrlock_0020() 182 EXPECT_EQ(pthread_rwlock_clockwrlock(&w, clock_id, &ts), ETIMEDOUT); in pthread_rwlock_timedwrlock_0020() 196 clockid_t clock_id = CLOCK_MONOTONIC; in pthread_rwlock_timedwrlock_0030() local 200 GetDelayedTimeByClockid(&ts, SLEEP_100_MS, clock_id); in pthread_rwlock_timedwrlock_0030() 201 EXPECT_EQ(pthread_rwlock_clockwrlock(&w, clock_id, &ts), ETIMEDOUT); in pthread_rwlock_timedwrlock_0030() 215 clockid_t clock_id = CLOCK_PROCESS_CPUTIME_ID; in pthread_rwlock_timedwrlock_0040() local [all …]
|
D | pthread_cond_timedwait.c | 188 clockid_t clock_id = CLOCK_REALTIME; in pthread_cond_clockwait_0010() local 189 EXPECT_EQ(pthread_cond_clockwait(&cond, &mutex, clock_id, &ts), ETIMEDOUT); in pthread_cond_clockwait_0010() 190 clock_id = CLOCK_MONOTONIC; in pthread_cond_clockwait_0010() 191 EXPECT_EQ(pthread_cond_clockwait(&cond, &mutex, clock_id, &ts), ETIMEDOUT); in pthread_cond_clockwait_0010() 192 clock_id = CLOCK_PROCESS_CPUTIME_ID; in pthread_cond_clockwait_0010() 193 EXPECT_EQ(pthread_cond_clockwait(&cond, &mutex, clock_id, &ts), EINVAL); in pthread_cond_clockwait_0010() 239 clockid_t clock_id = CLOCK_REALTIME; in ClockWaitTimedwait2() local 240 EXPECT_EQ(pthread_cond_clockwait(&c_cond1, &c_mtx1, clock_id, &ts), 0); in ClockWaitTimedwait2() 269 clockid_t clock_id = CLOCK_REALTIME; in ClockWaitTimeOut() local 270 GetDelayedTimeByClockid(&ts, SLEEP_100_MS, clock_id); in ClockWaitTimeOut() [all …]
|
/third_party/gstreamer/gstreamer/tests/examples/controller/ |
D | absolute-example.c | 24 GstClockID clock_id; in main() local 79 clock_id = in main() 84 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 91 gst_clock_id_unref (clock_id); in main()
|
D | audio-example.c | 23 GstClockID clock_id; in main() local 77 clock_id = in main() 82 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 89 gst_clock_id_unref (clock_id); in main()
|
D | text-color-example.c | 25 GstClockID clock_id; in main() local 99 clock_id = in main() 104 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 111 gst_clock_id_unref (clock_id); in main()
|
/third_party/musl/src/linux/ |
D | clock_adjtime.c | 37 int clock_adjtime (clockid_t clock_id, struct timex *utx) in clock_adjtime() argument 66 r = __syscall(SYS_clock_adjtime, clock_id, &ktx); in clock_adjtime() 121 if (clock_id==CLOCK_REALTIME) r = __syscall(SYS_adjtimex, &ktx); in clock_adjtime() 124 r = __syscall(SYS_clock_adjtime, clock_id, &ktx); in clock_adjtime() 151 if (clock_id==CLOCK_REALTIME) return syscall(SYS_adjtimex, utx); in clock_adjtime() 153 return syscall(SYS_clock_adjtime, clock_id, utx); in clock_adjtime()
|
/third_party/gstreamer/gstplugins_bad/gst/debugutils/ |
D | gstclockselect.c | 134 clock_select->clock_id = DEFAULT_CLOCK_ID; in gst_clock_select_init() 148 clock_select->clock_id = g_value_get_enum (value); in gst_clock_select_set_property() 169 g_value_set_enum (value, clock_select->clock_id); in gst_clock_select_get_property() 186 switch (clock_select->clock_id) { in gst_clock_select_provide_clock()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | clockselect.c | 101 guint clock_id, domain; in GST_START_TEST() local 107 g_object_get (G_OBJECT (element), "clock-id", &clock_id, NULL); in GST_START_TEST() 108 fail_unless_equals_uint64 (clock_id, 3); in GST_START_TEST()
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_mutex_clocklock.c | 18 int pthread_mutex_clocklock(pthread_mutex_t* mutex_interface, clockid_t clock_id, in pthread_mutex_clocklock() argument 25 switch (clock_id) { in pthread_mutex_clocklock()
|
D | pthread_rwlock_clockrdlock.c | 18 int pthread_rwlock_clockrdlock(pthread_rwlock_t *rw, clockid_t clock_id, const struct timespec *at) in pthread_rwlock_clockrdlock() argument 24 switch (clock_id) { in pthread_rwlock_clockrdlock()
|
D | pthread_rwlock_clockwrlock.c | 18 int pthread_rwlock_clockwrlock(pthread_rwlock_t *rw, clockid_t clock_id, const struct timespec *at) in pthread_rwlock_clockwrlock() argument 24 switch (clock_id) { in pthread_rwlock_clockwrlock()
|
D | pthread_cond_clockwait.c | 19 clockid_t clock_id, const struct timespec *abs_timeout) in pthread_cond_clockwait() argument 24 switch (clock_id) { in pthread_cond_clockwait()
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstclocksync.c | 343 clocksync->clock_id = gst_clock_new_single_shot_id (clock, timestamp); in gst_clocksync_do_sync() 346 cret = gst_clock_id_wait (clocksync->clock_id, &jitter); in gst_clocksync_do_sync() 352 if (clocksync->clock_id) { in gst_clocksync_do_sync() 353 gst_clock_id_unref (clocksync->clock_id); in gst_clocksync_do_sync() 354 clocksync->clock_id = NULL; in gst_clocksync_do_sync() 398 if (clocksync->clock_id) { in gst_clock_sync_sink_event() 400 gst_clock_id_unschedule (clocksync->clock_id); in gst_clock_sync_sink_event() 628 if (clocksync->clock_id) { in gst_clocksync_change_state() 630 gst_clock_id_unschedule (clocksync->clock_id); in gst_clocksync_change_state()
|
/third_party/gstreamer/gstplugins_good/tests/examples/spectrum/ |
D | demo-osssrc.c | 135 GstClockID clock_id; in message_handler() local 148 clock_id = in message_handler() 150 gst_clock_id_wait_async (clock_id, delayed_spectrum_update, in message_handler() 152 gst_clock_id_unref (clock_id); in message_handler()
|
D | demo-audiotest.c | 182 GstClockID clock_id; in message_handler() local 195 clock_id = in message_handler() 197 gst_clock_id_wait_async (clock_id, delayed_spectrum_update, in message_handler() 199 gst_clock_id_unref (clock_id); in message_handler()
|
/third_party/libuv/src/unix/ |
D | linux-core.c | 124 clock_t clock_id; in uv__hrtime() local 134 clock_id = CLOCK_MONOTONIC; in uv__hrtime() 138 clock_id = uv__load_relaxed(&fast_clock_id); in uv__hrtime() 139 if (clock_id != -1) in uv__hrtime() 142 clock_id = CLOCK_MONOTONIC; in uv__hrtime() 145 clock_id = CLOCK_MONOTONIC_COARSE; in uv__hrtime() 147 uv__store_relaxed(&fast_clock_id, clock_id); in uv__hrtime() 151 if (clock_gettime(clock_id, &t)) in uv__hrtime()
|
/third_party/ltp/include/lapi/ |
D | common_timers.h | 37 static inline const char *get_clock_str(const int clock_id) in get_clock_str() argument 39 switch (clock_id) { in get_clock_str()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | os_unix.c | 74 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local 76 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime() 78 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime() 87 res = clock_gettime(clock_id, &ts); in os_get_reltime() 93 switch (clock_id) { in os_get_reltime() 96 clock_id = CLOCK_MONOTONIC; in os_get_reltime() 101 clock_id = CLOCK_REALTIME; in os_get_reltime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | os_unix.c | 80 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local 82 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime() 84 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime() 93 res = clock_gettime(clock_id, &ts); in os_get_reltime() 99 switch (clock_id) { in os_get_reltime() 102 clock_id = CLOCK_MONOTONIC; in os_get_reltime() 107 clock_id = CLOCK_REALTIME; in os_get_reltime()
|
/third_party/musl/compat/time32/ |
D | clock_adjtime32.c | 21 int __clock_adjtime32(clockid_t clock_id, struct timex32 *tx32) in __clock_adjtime32() argument 46 int r = clock_adjtime(clock_id, &utx); in __clock_adjtime32()
|
/third_party/gstreamer/gstreamer/libs/gst/helpers/ |
D | gst-ptp-helper.c | 71 static guint64 clock_id = (guint64) - 1; variable 77 {"clock-id", 'c', 0, G_OPTION_ARG_INT64, &clock_id, 308 if (clock_id == (guint64) - 1) { in setup_sockets() 424 clock_id = (((guint64) g_random_int ()) << 32) | (g_random_int ()); in setup_sockets() 425 GST_WRITE_UINT64_BE (clock_id_array, clock_id); in setup_sockets() 430 GST_WRITE_UINT64_BE (clock_id_array, clock_id); in setup_sockets()
|