/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstdatetime.c | 552 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/glib/glib/tests/ |
D | gdatetime.c | 197 GDateTime *dt1, *dt2; in test_GDateTime_compare() local 204 dt2 = g_date_time_new_utc (i, 12, 31, 0, 0, 0); in test_GDateTime_compare() 205 g_assert_cmpint (1, ==, g_date_time_compare (dt1, dt2)); in test_GDateTime_compare() 206 g_date_time_unref (dt2); in test_GDateTime_compare() 209 dt2 = g_date_time_new_utc (1999, 12, 31, 23, 59, 59); in test_GDateTime_compare() 210 g_assert_cmpint (1, ==, g_date_time_compare (dt1, dt2)); in test_GDateTime_compare() 211 g_date_time_unref (dt2); in test_GDateTime_compare() 213 dt2 = g_date_time_new_utc (2000, 1, 1, 0, 0, 1); in test_GDateTime_compare() 214 g_assert_cmpint (-1, ==, g_date_time_compare (dt1, dt2)); in test_GDateTime_compare() 215 g_date_time_unref (dt2); in test_GDateTime_compare() [all …]
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | vandg4.hpp | 71 T x1, t, bt, ct, ft, bt2, ct2, dt, dt2; in fwd() local 89 dt2 = dt * dt; in fwd() 92 ft = x1 * (bt2 + ct2 * dt2 - 1.) + (1.-bt2) * ( in fwd() 96 (4.* x1 + dt2); in fwd()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | videotimecode.c | 315 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/boost/boost/numeric/odeint/stepper/detail/ |
D | pid_step_adjuster.hpp | 48 const time_type dt2; member 56 dt1(_dt1), dt2(_dt2), dt3(_dt3), in pid_op() 68 adapted_pow(abs(dt1/dt2), -alpha1/(m_steps + 1))* in operator ()() 69 adapted_pow(abs(dt2/dt3), -alpha2/(m_steps + 1)); in operator ()()
|
/third_party/ffmpeg/libavutil/ |
D | parseutils.c | 724 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/glib/gio/tests/ |
D | g-file-info.c | 232 GDateTime *dt = NULL, *dt2 = NULL; in test_internal_enhanced_stdio() local 620 dt2 = g_date_time_add (dt, G_USEC_PER_SEC / 100 * 200); in test_internal_enhanced_stdio() 623 g_file_info_set_modification_date_time (fi_p0, dt2); in test_internal_enhanced_stdio() 630 g_date_time_unref (dt2); in test_internal_enhanced_stdio() 637 dt2 = g_file_info_get_modification_date_time (fi_p0); in test_internal_enhanced_stdio() 638 ts = g_date_time_difference (dt2, dt); in test_internal_enhanced_stdio() 643 g_date_time_unref (dt2); in test_internal_enhanced_stdio()
|
/third_party/flutter/glfw/examples/ |
D | boing.c | 310 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()
|
D | particles.c | 348 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/ |
D | datetimetester.py | 1064 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/ |
D | id3v2.c | 626 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/glib/glib/ |
D | gdatetime.h | 197 gconstpointer dt2); 205 gconstpointer dt2);
|
D | gdatetime.c | 2043 gconstpointer dt2) in g_date_time_compare() argument 2047 difference = g_date_time_difference ((GDateTime *) dt1, (GDateTime *) dt2); in g_date_time_compare() 2118 gconstpointer dt2) in g_date_time_equal() argument 2120 return g_date_time_difference ((GDateTime *) dt1, (GDateTime *) dt2) == 0; in g_date_time_equal()
|
/third_party/glib/gio/win32/ |
D | gwinhttpfile.c | 605 GDateTime *dt = NULL, *dt2 = NULL; in g_winhttp_file_query_info() local 608 dt2 = g_date_time_add_seconds (dt, (last_modified.wMilliseconds % 1000) / 1000); in g_winhttp_file_query_info() 610 g_file_info_set_modification_date_time (info, dt2); in g_winhttp_file_query_info() 612 g_date_time_unref (dt2); in g_winhttp_file_query_info()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideotimecode.c | 573 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/ |
D | gstdatetime.c | 654 __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()
|
D | gst_private.h | 227 gint __gst_date_time_compare (const GstDateTime * dt1, const GstDateTime * dt2);
|
/third_party/ffmpeg/libavcodec/ |
D | ffwavesynth.c | 192 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/mindspore/tests/ut/python/dataset/ |
D | test_filterop.py | 220 dt2 = dataset2.filter(predicate=filter_func_zip_after, num_parallel_workers=4) 221 dataz = ds.zip((dt1, dt2))
|
/third_party/glib/gio/ |
D | gfileinfo.c | 1811 GDateTime *dt = NULL, *dt2 = NULL; in g_file_info_get_modification_date_time() local 1831 dt2 = g_date_time_add (dt, _g_file_attribute_value_get_uint32 (value_usec)); in g_file_info_get_modification_date_time() 1834 return g_steal_pointer (&dt2); in g_file_info_get_modification_date_time()
|
/third_party/gstreamer/gstplugins_bad/ext/dash/ |
D | gstdashdemux.c | 3605 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/ |
D | datetime.rst | 1633 >>> 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/ |
D | dtfmttst.cpp | 3695 UDate dt2 = date(2008-1900, UCAL_JUNE, 10, 12, 00); in Test6338() local 3697 str2 = fmt2.format(dt2, str2); in Test6338()
|