/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
D | 10-1.c | 41 struct timespec ts_start, ts_end; in main() 92 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts_end) != 0) { in main() 97 if (labs(ts_end.tv_sec - ts_start.tv_sec - TIMERSEC) <= ACCEPTABLEDELTA) { in main() 104 (int)ts_end.tv_sec, (int)ts_start.tv_sec, in main()
|
D | 11-1.c | 41 struct timespec ts_start, ts_end; in main() 92 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_end) != 0) { in main() 97 if (labs(ts_end.tv_sec - ts_start.tv_sec - TIMERSEC) <= ACCEPTABLEDELTA) { in main() 104 (int)ts_end.tv_sec, (int)ts_start.tv_sec, in main()
|
/third_party/ffmpeg/libavcodec/ |
D | ffwavesynth.c | 83 int64_t ts_start, ts_end; member 207 if (ts >= in->ts_end) in wavesynth_seek() 260 in->ts_end = AV_RL64(edata + 8); in wavesynth_parse_extradata() 265 in->ts_end <= in->ts_start || in wavesynth_parse_extradata() 266 (uint64_t)in->ts_end - in->ts_start > INT64_MAX in wavesynth_parse_extradata() 270 dt = in->ts_end - in->ts_start; in wavesynth_parse_extradata() 360 if (ts >= in->ts_end) { in wavesynth_synth_sample() 402 if (ts >= in->ts_end) in wavesynth_enter_intervals()
|
/third_party/ffmpeg/libavformat/ |
D | jacosubdec.c | 109 int ts_start, ts_end; in read_ts() local 117 ts_end = (he*3600 + me*60 + se) * jacosub->timeres + fe; in read_ts() 122 if (sscanf(buf, "@%u @%u %n", &ts_start, &ts_end, &len) == 2) in read_ts() 129 ts_end64 = (ts_end + (int64_t)jacosub->shift) * 100LL / jacosub->timeres; in read_ts()
|
D | webvttdec.c | 82 int64_t ts_start, ts_end; in webvtt_read_header() local 124 if ((ts_end = read_ts(p)) == AV_NOPTS_VALUE) in webvtt_read_header() 147 sub->duration = ts_end - ts_start; in webvtt_read_header()
|
/third_party/ffmpeg/tests/api/ |
D | api-seek-test.c | 77 uint64_t ts_start, uint64_t ts_end, int no_seeking) in compute_crc_of_packets() argument 94 … printf("Seeking to %"PRId64", computing crc for frames with pts < %"PRId64"\n", ts_start, ts_end); in compute_crc_of_packets() 145 if ((!no_seeking) && (fr->pts > ts_end)) in compute_crc_of_packets() 159 } while (result >= 0 && (no_seeking || (fr->pts + fr->pkt_duration <= ts_end))); in compute_crc_of_packets()
|
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/ |
D | check_run.c | 388 struct timespec ts_start = { 0, 0 }, ts_end = { in tcase_run_tfun_nofork() local 397 clock_gettime (check_get_clockid (), &ts_end); in tcase_run_tfun_nofork() 400 DIFF_IN_USEC (ts_start, ts_end)); in tcase_run_tfun_nofork() 450 struct timespec ts_start = { 0, 0 }, ts_end = { in tcase_run_tfun_fork() local 468 clock_gettime (check_get_clockid (), &ts_end); in tcase_run_tfun_fork() 470 send_duration_info (DIFF_IN_USEC (ts_start, ts_end)); in tcase_run_tfun_fork()
|
D | check_log.c | 306 struct timespec ts_end = { 0, 0 }; in xml_lfun() local 310 clock_gettime (check_get_clockid (), &ts_end); in xml_lfun() 311 duration = (unsigned long) DIFF_IN_USEC (ts_start, ts_end); in xml_lfun()
|
/third_party/ltp/testcases/realtime/lib/ |
D | librttest.c | 418 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, in ts_minus() argument 421 if (ts_end == NULL || ts_start == NULL || ts_delta == NULL) { in ts_minus() 427 ts_delta->tv_sec = ts_end->tv_sec - ts_start->tv_sec; in ts_minus() 428 ts_delta->tv_nsec = ts_end->tv_nsec - ts_start->tv_nsec; in ts_minus()
|
/third_party/elfutils/debuginfod/ |
D | debuginfod.cxx | 486 struct timespec ts_end; in ~tmp_ms_metric() local 487 clock_gettime (CLOCK_MONOTONIC, & ts_end); in ~tmp_ms_metric() 488 double deltas = (ts_end.tv_sec - ts_start.tv_sec) in ~tmp_ms_metric() 489 + (ts_end.tv_nsec - ts_start.tv_nsec)/1.e9; in ~tmp_ms_metric() 2586 struct timespec ts_start, ts_end; in handler_cb() local 2689 clock_gettime (CLOCK_MONOTONIC, &ts_end); in handler_cb() 2690 double deltas = (ts_end.tv_sec - ts_start.tv_sec) + (ts_end.tv_nsec - ts_start.tv_nsec)/1.e9; in handler_cb() 3647 struct timespec ts_start, ts_end; in scan_source_paths() local 3725 clock_gettime (CLOCK_MONOTONIC, &ts_end); in scan_source_paths() 3726 double deltas = (ts_end.tv_sec - ts_start.tv_sec) + (ts_end.tv_nsec - ts_start.tv_nsec)/1.e9; in scan_source_paths() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/subparse/ |
D | gstsubparse.c | 1005 GstClockTime ts_start, ts_end; in parse_subrip() local 1011 parse_subrip_time (end_time + strlen (" --> "), &ts_end) && in parse_subrip() 1012 state->start_time <= ts_end) { in parse_subrip() 1015 state->duration = ts_end - ts_start; in parse_subrip() 1103 GstClockTime ts_start, ts_end; in parse_webvtt() local 1110 parse_subrip_time (end_time + strlen (" --> "), &ts_end) && in parse_webvtt() 1111 state->start_time <= ts_end) { in parse_webvtt() 1114 state->duration = ts_end - ts_start; in parse_webvtt()
|
/third_party/ltp/testcases/realtime/include/ |
D | librttest.h | 284 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, struct timespec *ts_delta);
|
/third_party/gstreamer/gstplugins_good/gst/avi/ |
D | gstavidemux.c | 124 GstClockTime * ts_end, guint64 * offset, guint64 * offset_end); 1393 guint entry_n, GstClockTime * timestamp, GstClockTime * ts_end, in gst_avi_demux_get_buffer_info() argument 1406 if (ts_end) { in gst_avi_demux_get_buffer_info() 1410 *ts_end = avi_stream_convert_frames_to_time_unchecked (stream, in gst_avi_demux_get_buffer_info() 1417 if (ts_end) in gst_avi_demux_get_buffer_info() 1418 *ts_end = avi_stream_convert_frames_to_time_unchecked (stream, in gst_avi_demux_get_buffer_info() 1426 if (ts_end) in gst_avi_demux_get_buffer_info() 1427 *ts_end = avi_stream_convert_bytes_to_time_unchecked (stream, in gst_avi_demux_get_buffer_info()
|