Home
last modified time | relevance | path

Searched refs:dt2 (Results 1 – 14 of 14) sorted by relevance

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstdatetime.c552 GstDateTime *dt, *dt2; in GST_START_TEST() local
566 dt2 = gst_date_time_new_from_iso8601_string (str); in GST_START_TEST()
567 fail_unless (gst_date_time_get_year (dt) == gst_date_time_get_year (dt2)); in GST_START_TEST()
568 fail_unless (gst_date_time_get_month (dt) == gst_date_time_get_month (dt2)); in GST_START_TEST()
569 fail_unless (gst_date_time_get_day (dt) == gst_date_time_get_day (dt2)); in GST_START_TEST()
570 fail_unless (gst_date_time_get_hour (dt) == gst_date_time_get_hour (dt2)); in GST_START_TEST()
571 fail_unless (gst_date_time_get_minute (dt) == gst_date_time_get_minute (dt2)); in GST_START_TEST()
572 fail_unless (gst_date_time_get_second (dt) == gst_date_time_get_second (dt2)); in GST_START_TEST()
575 fail_unless (date_times_are_equal (dt, dt2)); in GST_START_TEST()
576 str2 = gst_date_time_to_iso8601_string (dt2); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideotimecode.c315 GDateTime *dt1, *dt2; in GST_START_TEST() local
329 dt2 = gst_video_time_code_to_date_time (tc1); in GST_START_TEST()
330 fail_unless (g_date_time_get_year (dt2) == 2016); in GST_START_TEST()
331 fail_unless (g_date_time_get_month (dt2) == 7); in GST_START_TEST()
332 fail_unless (g_date_time_get_day_of_month (dt2) == 29); in GST_START_TEST()
333 fail_unless (g_date_time_get_hour (dt2) == 11); in GST_START_TEST()
334 fail_unless (g_date_time_get_minute (dt2) == 36); in GST_START_TEST()
335 fail_unless_equals_float (g_date_time_get_seconds (dt2), 53.04); in GST_START_TEST()
338 g_date_time_unref (dt2); in GST_START_TEST()
634 GDateTime *dt, *dt2; in GST_START_TEST() local
[all …]
/third_party/ffmpeg/libavutil/
Dparseutils.c724 struct tm dt2 = is_utc ? *gmtime_r(&now, &tmbuf) : *localtime_r(&now, &tmbuf); in av_parse_time() local
725 dt2.tm_hour = dt.tm_hour; in av_parse_time()
726 dt2.tm_min = dt.tm_min; in av_parse_time()
727 dt2.tm_sec = dt.tm_sec; in av_parse_time()
728 dt = dt2; in av_parse_time()
/third_party/flutter/glfw/examples/
Dboing.c310 double dt_total, dt2; in DrawBoingBall() local
324 dt2 = dt_total > MAX_DELTA_T ? MAX_DELTA_T : dt_total; in DrawBoingBall()
325 dt_total -= dt2; in DrawBoingBall()
326 BounceBall( dt2 ); in DrawBoingBall()
327 deg_rot_y = TruncateDeg( deg_rot_y + deg_rot_y_inc*((float)dt2*ANIMATION_SPEED) ); in DrawBoingBall()
Dparticles.c348 float dt2; in particle_engine() local
354 dt2 = dt < MIN_DELTA_T ? dt : MIN_DELTA_T; in particle_engine()
357 update_particle(&particles[i], dt2); in particle_engine()
359 min_age += dt2; in particle_engine()
378 dt -= dt2; in particle_engine()
/third_party/python/Lib/test/
Ddatetimetester.py1064 dt2 = dt + delta
1065 self.assertEqual(dt2, dt + days)
1067 dt2 = delta + dt
1068 self.assertEqual(dt2, dt + days)
1070 dt2 = dt - delta
1071 self.assertEqual(dt2, dt - days)
1077 dt2 = dt + delta
1078 self.assertEqual(dt2, dt + days)
1080 dt2 = delta + dt
1081 self.assertEqual(dt2, dt + days)
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Did3v2.c626 GstDateTime *dt2; in id3v2_frames_to_tag_list() local
629 dt2 = gst_date_time_new_ymd (gst_date_time_get_year (dt), in id3v2_frames_to_tag_list()
632 dt2, NULL); in id3v2_frames_to_tag_list()
633 gst_date_time_unref (dt2); in id3v2_frames_to_tag_list()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideotimecode.c573 GDateTime *dt1, *dt2; in gst_video_time_code_compare() local
577 dt2 = gst_video_time_code_to_date_time (tc2); in gst_video_time_code_compare()
579 ret = g_date_time_compare (dt1, dt2); in gst_video_time_code_compare()
582 g_date_time_unref (dt2); in gst_video_time_code_compare()
/third_party/gstreamer/gstreamer/gst/
Dgstdatetime.c654 __gst_date_time_compare (const GstDateTime * dt1, const GstDateTime * dt2) in __gst_date_time_compare() argument
660 if (dt1->fields != dt2->fields) in __gst_date_time_compare()
667 g_date_time_to_unix (dt1->datetime) - g_date_time_to_unix (dt2->datetime); in __gst_date_time_compare()
Dgst_private.h227 gint __gst_date_time_compare (const GstDateTime * dt1, const GstDateTime * dt2);
/third_party/ffmpeg/libavcodec/
Dffwavesynth.c192 uint64_t dt2 = dt & 1 ? /* dt * (dt - 1) / 2 without overflow */ in phi_at() local
194 return in->phi0 + dt * in->dphi0 + dt2 * in->ddphi; in phi_at()
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstdashdemux.c3605 GDateTime *dt, *dt2; in gst_dash_demux_poll_ntp_server() local
3661 dt2 = g_date_time_add (dt, ntp_clock_time); in gst_dash_demux_poll_ntp_server()
3663 return gst_date_time_new_from_g_date_time (dt2); in gst_dash_demux_poll_ntp_server()
3804 GDateTime *dt, *dt2; in gst_dash_demux_parse_http_ntp() local
3822 dt2 = g_date_time_add (dt, fraction); in gst_dash_demux_parse_http_ntp()
3824 return gst_date_time_new_from_g_date_time (dt2); in gst_dash_demux_parse_http_ntp()
/third_party/python/Doc/library/
Ddatetime.rst1633 >>> dt2 = datetime(2006, 6, 14, 13, 0, tzinfo=tz1)
1634 >>> print(dt2.utcoffset())
1638 >>> dt3 = dt2.astimezone(timezone.utc)
1641 >>> dt2
1643 >>> dt2 == dt3
/third_party/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3695 UDate dt2 = date(2008-1900, UCAL_JUNE, 10, 12, 00); in Test6338() local
3697 str2 = fmt2.format(dt2, str2); in Test6338()