Home
last modified time | relevance | path

Searched refs:curtime (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-1.c33 struct timeval curtime; in t1_func() local
43 if (gettimeofday(&curtime, NULL) != 0) { in t1_func()
47 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func()
48 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
D2-2.c37 struct timeval curtime; in t1_func() local
54 if (gettimeofday(&curtime, NULL) != 0) { in t1_func()
58 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func()
59 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
D3-1.c36 struct timeval curtime; in t1_func() local
47 if (gettimeofday(&curtime, NULL) != 0) { in t1_func()
51 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func()
52 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
D1-1.c36 struct timeval curtime; in t1_func() local
47 if (gettimeofday(&curtime, NULL) != 0) { in t1_func()
51 timeout.tv_sec = curtime.tv_sec; in t1_func()
52 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
D2-1.c43 struct timeval curtime; in t1_func() local
54 if (gettimeofday(&curtime, NULL) != 0) { in t1_func()
58 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func()
59 timeout.tv_nsec = curtime.tv_usec * 1000; in t1_func()
D2-3.c36 struct timeval curtime; in t1_func() local
48 if (gettimeofday(&curtime, NULL) != 0) { in t1_func()
52 timeout.tv_sec = curtime.tv_sec; in t1_func()
/third_party/ffmpeg/libavdevice/
Ddshow_pin.c298 int64_t curtime; in ff_dshow_meminputpin_Receive() local
317 IReferenceClock_GetTime(clock, &curtime); in ff_dshow_meminputpin_Receive()
319 IMediaSample_GetTime(sample, &curtime, &dummy); in ff_dshow_meminputpin_Receive()
320 if(curtime > 400000000000000000LL) { in ff_dshow_meminputpin_Receive()
325 … "dshow dropping initial (or ending) audio frame with odd PTS too high %"PRId64"\n", curtime); in ff_dshow_meminputpin_Receive()
328 curtime += pin->filter->start_time; in ff_dshow_meminputpin_Receive()
340 …devtypename, buf_size, curtime, orig_curtime, graphtime, graphtime - orig_curtime, ctx->device_nam… in ff_dshow_meminputpin_Receive()
341 pin->filter->callback(priv_data, index, buf, buf_size, curtime, devtype); in ff_dshow_meminputpin_Receive()
Dbktr.c226 uint64_t curtime; in bktr_getframe() local
228 curtime = av_gettime_relative(); in bktr_getframe()
230 || ((last_frame_time + per_frame) > curtime)) { in bktr_getframe()
231 if (!usleep(last_frame_time + per_frame + per_frame / 8 - curtime)) { in bktr_getframe()
239 last_frame_time = curtime; in bktr_getframe()
Dfbdev_dec.c154 int64_t curtime, delay; in fbdev_read_packet() local
164 curtime = av_gettime_relative(); in fbdev_read_packet()
165 delay = fbdev->time_frame - curtime; in fbdev_read_packet()
168 fbdev->time_frame, curtime, delay); in fbdev_read_packet()
Dgdigrab.c543 int64_t curtime, delay; in gdigrab_read_packet() local
554 curtime = av_gettime_relative(); in gdigrab_read_packet()
555 delay = time_frame * av_q2d(time_base) - curtime; in gdigrab_read_packet()
Dxcbgrab.c204 int64_t curtime, delay; in wait_frame() local
209 curtime = av_gettime_relative(); in wait_frame()
210 delay = c->time_frame - curtime; in wait_frame()
216 return curtime; in wait_frame()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D2-2.c38 struct timeval curtime; in thr_func() local
50 if (gettimeofday(&curtime, NULL) != 0) { in thr_func()
54 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in thr_func()
55 timeout.tv_nsec = curtime.tv_usec * 1000; in thr_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D2-2.c38 struct timeval curtime; in thr_func() local
50 if (gettimeofday(&curtime, NULL) != 0) { in thr_func()
54 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in thr_func()
55 timeout.tv_nsec = curtime.tv_usec * 1000; in thr_func()
/third_party/libinput/test/
Dtest-touchpad-tap.c65 uint32_t oldtime, curtime; in START_TEST() local
174 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
176 ck_assert_int_lt(oldtime, curtime); in START_TEST()
182 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
184 ck_assert_int_lt(oldtime, curtime); in START_TEST()
185 oldtime = curtime; in START_TEST()
191 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
193 ck_assert_int_lt(oldtime, curtime); in START_TEST()
206 curtime; in START_TEST() local
271 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
[all …]
/third_party/cups-filters/filter/
Dpdfutils.c95 time_t curtime; in pdfOut_to_pdfdate() local
96 curtime = time(NULL); in pdfOut_to_pdfdate()
97 curtm = localtime(&curtime); in pdfOut_to_pdfdate()
Dtexttopdf.c292 time_t curtime; /* Current time */ in WriteProlog() local
354 curtime = time(NULL); in WriteProlog()
355 curtm = localtime(&curtime); in WriteProlog()
Dimagetopdf.c308 time_t curtime; in outTrailer() local
312 curtime = time(NULL); in outTrailer()
313 curtm = localtime(&curtime); in outTrailer()
/third_party/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c1573 struct timeval curtime; in main() local
1574 gettimeofday(&curtime, NULL); in main()
1575 ct = curtime.tv_sec * USECS_PER_SEC + in main()
1576 curtime.tv_usec; in main()
1580 gettimeofday(&curtime, NULL); in main()
1581 ct = curtime.tv_sec * USECS_PER_SEC + in main()
1582 curtime.tv_usec; in main()
/third_party/cups/
Dohos-add-openssl.patch87 + time_t curtime; // Current time
145 + curtime = time(NULL);
148 + ASN1_TIME_set(notBefore, curtime);
158 + ASN1_INTEGER_set(serial, (int)curtime);
565 + time_t curtime; // Current date/time
567 + time(&curtime);
568 + if (curtime < http_get_date(cert, 0) || curtime > http_get_date(cert, 1))
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasesink.c3917 gint64 curtime = g_get_monotonic_time(); in kpi_log_fps() local
3920 priv->tmp_time_fps = curtime; in kpi_log_fps()
3921 priv->kpi_last_render_time = curtime; in kpi_log_fps()
3925 guint64 fps_time_diff = curtime > priv->tmp_time_fps ? curtime - priv->tmp_time_fps : 0; in kpi_log_fps()
3932 priv->tmp_time_fps = curtime; in kpi_log_fps()
3935 …guint64 render_time_diff = curtime > priv->kpi_last_render_time ? curtime - priv->kpi_last_render_… in kpi_log_fps()
3942 priv->kpi_last_render_time = curtime; in kpi_log_fps()
/third_party/cups-filters/utils/
Dcups-browsed.c745 time_t curtime = time(NULL); in debug_printf() local
747 ctime_r(&curtime, buf); in debug_printf()
781 time_t curtime = time(NULL); in debug_log_out() local
784 ctime_r(&curtime, buf); in debug_log_out()