Home
last modified time | relevance | path

Searched refs:base_time (Results 1 – 25 of 64) sorted by relevance

123

/third_party/cef/libcef/common/
Dtime_impl.cc62 base::Time base_time; in cef_time_to_timet() local
63 cef_time_to_basetime(*cef_time, base_time); in cef_time_to_timet()
64 *time = base_time.ToTimeT(); in cef_time_to_timet()
72 base::Time base_time = base::Time::FromTimeT(time); in cef_time_from_timet() local
73 cef_time_from_basetime(base_time, *cef_time); in cef_time_from_timet()
81 base::Time base_time; in cef_time_to_doublet() local
82 cef_time_to_basetime(*cef_time, base_time); in cef_time_to_doublet()
83 *time = base_time.ToDoubleT(); in cef_time_to_doublet()
91 base::Time base_time = base::Time::FromDoubleT(time); in cef_time_from_doublet() local
92 cef_time_from_basetime(base_time, *cef_time); in cef_time_from_doublet()
[all …]
/third_party/boost/boost/date_time/posix_time/
Dptime.hpp32 class BOOST_SYMBOL_VISIBLE ptime : public date_time::base_time<ptime, posix_time_system>
42 date_time::base_time<time_type,time_system_type>(d,td) in ptime()
47 date_time::base_time<time_type,time_system_type>(d,time_duration_type(0,0,0)) in ptime()
52 date_time::base_time<time_type,time_system_type>(rhs) in ptime()
57 date_time::base_time<time_type,time_system_type>(sv) in ptime()
63 date_time::base_time<time_type,time_system_type>(gregorian::date(not_a_date_time), in ptime()
/third_party/boost/libs/fusion/example/performance/
Dsequence_efficiency.cpp209 double base_time = test::measure<plain_accumulator<int> >(1, repeats); in main() local
212 << base_time; in main()
230 measure(vsmall, "small vector time: ", repeats, base_time); in main()
231 measure(lsmall, "small list time: ", repeats, base_time); in main()
232 measure(vmedium, "medium vector time: ", repeats, base_time); in main()
233 measure(lmedium, "medium list time: ", repeats, base_time); in main()
234 measure(vbig, "big vector time: ", repeats, base_time); in main()
235 measure(lbig, "big list time: ", repeats, base_time); in main()
/third_party/uboot/u-boot-2020.01/drivers/rtc/
Di2c_rtc_emul.c39 long base_time; member
63 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time) in sandbox_i2c_rtc_get_set_base_time() argument
68 old_base_time = plat->base_time; in sandbox_i2c_rtc_get_set_base_time()
69 if (base_time != -1) in sandbox_i2c_rtc_get_set_base_time()
70 plat->base_time = base_time; in sandbox_i2c_rtc_get_set_base_time()
81 plat->base_time = rtc_mktime(&now); in reset_time()
96 now = plat->base_time; in sandbox_i2c_rtc_get()
114 now = plat->base_time; in sandbox_i2c_rtc_set()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dflvmux.c232 const GstClockTime base_time = 123456789; in GST_START_TEST() local
242 sizeof (speex_hdr0), base_time, 0)); in GST_START_TEST()
246 sizeof (speex_hdr1), base_time, 0)); in GST_START_TEST()
250 sizeof (speex_buf), base_time, duration)); in GST_START_TEST()
254 sizeof (speex_buf), base_time + duration, duration)); in GST_START_TEST()
281 fail_unless_equals_uint64 (base_time, GST_BUFFER_PTS (buf)); in GST_START_TEST()
299 fail_unless_equals_uint64 (base_time, GST_BUFFER_PTS (buf)); in GST_START_TEST()
317 fail_unless_equals_uint64 (base_time, GST_BUFFER_PTS (buf)); in GST_START_TEST()
338 fail_unless_equals_uint64 (base_time + duration, GST_BUFFER_PTS (buf)); in GST_START_TEST()
379 GstClockTime base_time = 42 * GST_SECOND; in GST_START_TEST() local
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/dynamic/
Daddstream.c61 GstClockTime now, base_time, running_time; in pause_play_stream() local
66 base_time = gst_element_get_base_time (bin); in pause_play_stream()
68 running_time = now - base_time; in pause_play_stream()
103 base_time = now - running_time; in pause_play_stream()
105 gst_element_set_base_time (bin, base_time); in pause_play_stream()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpjitterbuffer.c331 jbuf->base_time = -1; in rtp_jitter_buffer_reset_skew()
365 jbuf->base_time = time; in rtp_jitter_buffer_resync()
547 if (time == -1 || jbuf->base_time == -1) in calculate_skew()
551 recv_diff = time - jbuf->base_time; in calculate_skew()
566 GST_TIME_ARGS (jbuf->base_time), GST_TIME_ARGS (recv_diff), slope); in calculate_skew()
655 if (jbuf->base_time != -1) { in calculate_skew()
656 out_time = jbuf->base_time + send_diff; in calculate_skew()
696 gboolean estimated_dts, guint32 rtptime, GstClockTime base_time) in rtp_jitter_buffer_calculate_pts() argument
711 jbuf->base_time != -1 && jbuf->last_rtptime != -1) { in rtp_jitter_buffer_calculate_pts()
761 if (jbuf->base_time == -1) in rtp_jitter_buffer_calculate_pts()
[all …]
Drtpjitterbuffer.h89 GstClockTime base_time; member
194 guint32 rtptime, GstClockTime base_time);
/third_party/boost/boost/date_time/
Dtime.hpp46 class base_time : private class
62 base_time(const date_type& day, in base_time() function in boost::date_time::base_time
68 base_time(special_values sv) : in base_time() function in boost::date_time::base_time
72 base_time(const time_rep_type& rhs) : in base_time() function in boost::date_time::base_time
/third_party/grpc/tools/github/
Dpr_latency.py60 base_time, argument
71 pr, base_time, test_time, diff_time, successes, failures,
76 str(base_time),
78 str(int((test_time - base_time).total_seconds())),
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiobasesrc.c870 GstClockTime base_time; in gst_audio_base_src_create() local
895 base_time = GST_ELEMENT_CAST (src)->base_time; in gst_audio_base_src_create()
898 running_time = current_time - base_time; in gst_audio_base_src_create()
973 GstClockTime base_time, latency; in gst_audio_base_src_create() local
980 base_time = GST_ELEMENT_CAST (src)->base_time; in gst_audio_base_src_create()
982 if (GST_CLOCK_DIFF (timestamp, base_time) < 0) in gst_audio_base_src_create()
983 timestamp -= base_time; in gst_audio_base_src_create()
998 GstClockTime base_time; in gst_audio_base_src_create() local
1010 base_time = GST_ELEMENT_CAST (src)->base_time; in gst_audio_base_src_create()
1012 if (GST_CLOCK_DIFF (timestamp, base_time) < 0) { in gst_audio_base_src_create()
[all …]
/third_party/gstreamer/gstplugins_base/tests/icles/
Dplaybin-text.c97 GstClockTime base_time, running_time; in have_subtitle() local
103 base_time = gst_element_get_base_time (appsink); in have_subtitle()
105 running_time = gst_clock_get_time (clock) - base_time; in have_subtitle()
/third_party/uboot/u-boot-2020.01/arch/x86/cpu/coreboot/
Dtimestamp.c19 uint64_t base_time; member
41 tse->entry_stamp = ts_time - ts_table->base_time; in timestamp_add()
/third_party/boost/boost/date_time/local_time/
Dlocal_date_time.hpp65 class BOOST_SYMBOL_VISIBLE local_date_time_base : public date_time::base_time<utc_time_,
84 date_time::base_time<utc_time_type, time_system_type>(t), in local_date_time_base()
105 …date_time::base_time<utc_time_type,time_system_type>(construction_adjustment(utc_time_type(d, td),… in local_date_time_base()
147 date_time::base_time<utc_time_type,time_system_type>(utc_time_type(d,td)), in local_date_time_base()
216 date_time::base_time<utc_time_type, time_system_type>(rhs), in local_date_time_base()
223 date_time::base_time<utc_time_type, time_system_type>(utc_time_type(sv)), in local_date_time_base()
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstnetclientclock.h77 gint remote_port, GstClockTime base_time);
98 gint remote_port, GstClockTime base_time);
Dgstnetclientclock.c978 GstClockTime base_time, internal_base_time; member
1097 priv->base_time = DEFAULT_BASE_TIME; in gst_net_client_clock_init()
1250 self->priv->base_time = g_value_get_uint64 (value); in gst_net_client_clock_set_property()
1313 g_value_set_uint64 (value, self->priv->base_time); in gst_net_client_clock_get_property()
1405 self->priv->internal_base_time, self->priv->base_time, 1, 1); in gst_net_client_clock_get_internal_time()
1427 gint remote_port, GstClockTime base_time) in gst_net_client_clock_new() argument
1434 g_return_val_if_fail (base_time != GST_CLOCK_TIME_NONE, NULL); in gst_net_client_clock_new()
1438 remote_address, "port", remote_port, "base-time", base_time, NULL); in gst_net_client_clock_new()
1476 gint remote_port, GstClockTime base_time) in gst_ntp_clock_new() argument
1483 g_return_val_if_fail (base_time != GST_CLOCK_TIME_NONE, NULL); in gst_ntp_clock_new()
[all …]
/third_party/uboot/u-boot-2020.01/test/dm/
Drtc.c124 long old_base_time, base_time; in dm_test_rtc_reset() local
138 base_time = sandbox_i2c_rtc_get_set_base_time(emul, -1); in dm_test_rtc_reset()
139 ut_asserteq(old_base_time, base_time); in dm_test_rtc_reset()
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.c332 demux->base_time = G_MAXUINT64; in gst_ps_demux_reset()
591 GST_TIME_ARGS (pts), GST_TIME_ARGS (demux->base_time), in gst_ps_demux_send_segment()
601 demux->src_segment.start = pts - demux->base_time; in gst_ps_demux_send_segment()
604 demux->src_segment.stop = pts - demux->base_time; in gst_ps_demux_send_segment()
612 if (GST_CLOCK_TIME_IS_VALID (demux->base_time)) { in gst_ps_demux_send_segment()
614 segment.start += demux->base_time; in gst_ps_demux_send_segment()
616 segment.stop += demux->base_time; in gst_ps_demux_send_segment()
617 segment.time = segment.start - demux->base_time; in gst_ps_demux_send_segment()
669 demux->base_time != GST_CLOCK_TIME_NONE) { in gst_ps_demux_send_data()
670 GstClockTime new_time = demux->base_time + demux->src_segment.position; in gst_ps_demux_send_data()
[all …]
/third_party/boost/boost/asio/detail/
Ddate_time_fwd.hpp24 class base_time;
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtspacketizer.c83 res->base_time = GST_CLOCK_TIME_NONE; in get_pcr_table()
585 pcrtable->base_time = GST_CLOCK_TIME_NONE; in mpegts_packetizer_clear()
625 pcrtable->base_time = GST_CLOCK_TIME_NONE; in mpegts_packetizer_flush()
1229 pcr->base_time = time; in mpegts_packetizer_resync()
1323 if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (pcr->base_time))) { in calculate_skew()
1324 pcr->base_time = time; in calculate_skew()
1368 pcr->pcroffset += time - pcr->base_time + pcr->base_pcrtime - gstpcrtime; in calculate_skew()
1406 || !GST_CLOCK_TIME_IS_VALID (pcr->base_time)) in calculate_skew()
1410 recv_diff = time - pcr->base_time; in calculate_skew()
1429 GST_TIME_ARGS (time), GST_TIME_ARGS (pcr->base_time), in calculate_skew()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasesink.c2372 GstClockTime base_time; in gst_base_sink_wait_clock() local
2384 base_time = GST_ELEMENT_CAST (sink)->base_time; in gst_base_sink_wait_clock()
2387 GST_TIME_ARGS (time), GST_TIME_ARGS (base_time)); in gst_base_sink_wait_clock()
2390 time += base_time; in gst_base_sink_wait_clock()
3184 now - GST_ELEMENT_CAST (basesink)->base_time; in gst_base_sink_update_start_time()
3196 GST_TIME_ARGS (GST_ELEMENT_CAST (basesink)->base_time)); in gst_base_sink_update_start_time()
3768 GstClockTime base_time; in gst_base_sink_chain_unlocked() local
3772 base_time = GST_ELEMENT_CAST (basesink)->base_time; in gst_base_sink_chain_unlocked()
3773 stime = base_time + gst_base_sink_adjust_time (basesink, rstart); in gst_base_sink_chain_unlocked()
4868 GstClockTimeDiff base_time; in gst_base_sink_get_position() local
[all …]
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkvideosink.cpp708 GstClockTime base_time; in gst_decklink_video_sink_convert_to_internal_clock() local
727 base_time = gst_element_get_base_time (GST_ELEMENT_CAST (self)); in gst_decklink_video_sink_convert_to_internal_clock()
728 if (base_time > external_base) in gst_decklink_video_sink_convert_to_internal_clock()
729 base_time = 0; in gst_decklink_video_sink_convert_to_internal_clock()
731 base_time = external_base - base_time; in gst_decklink_video_sink_convert_to_internal_clock()
733 if (external_timestamp < base_time) in gst_decklink_video_sink_convert_to_internal_clock()
736 external_timestamp = external_timestamp - base_time; in gst_decklink_video_sink_convert_to_internal_clock()
Dgstdecklinkaudiosink.cpp651 GstClockTime base_time = in gst_decklink_audio_sink_render() local
656 if (clock_now != GST_CLOCK_TIME_NONE && base_time != GST_CLOCK_TIME_NONE) { in gst_decklink_audio_sink_render()
660 GST_TIME_ARGS (clock_now), GST_TIME_ARGS (base_time), in gst_decklink_audio_sink_render()
662 if (clock_now > base_time) in gst_decklink_audio_sink_render()
663 clock_now -= base_time; in gst_decklink_audio_sink_render()
/third_party/uboot/u-boot-2020.01/arch/sandbox/include/asm/
Dtest.h94 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time);
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2src.c829 GstClockTime abs_time, base_time, timestamp, duration; in gst_v4l2src_create() local
855 base_time = GST_ELEMENT (v4l2src)->base_time; in gst_v4l2src_create()
859 base_time = GST_CLOCK_TIME_NONE; in gst_v4l2src_create()
938 timestamp = abs_time - base_time; in gst_v4l2src_create()

123