/third_party/nghttp2/src/ |
D | shrpx_log_config.h | 41 Timestamp(const std::chrono::system_clock::time_point &tp); 52 std::chrono::system_clock::time_point time_str_updated; 64 void update_tstamp_millis(const std::chrono::system_clock::time_point &now); 67 void update_tstamp(const std::chrono::system_clock::time_point &now);
|
D | shrpx_log_config.cc | 38 Timestamp::Timestamp(const std::chrono::system_clock::time_point &tp) { in Timestamp() 45 : time_str_updated(std::chrono::system_clock::now()), in LogConfig() 100 const std::chrono::system_clock::time_point &now) { in update_tstamp_millis() 114 const std::chrono::system_clock::time_point &now) { in update_tstamp()
|
D | shrpx_quic.cc | 278 std::chrono::system_clock::now().time_since_epoch()) in generate_retry_token() 298 std::chrono::system_clock::now().time_since_epoch()) in verify_retry_token() 313 std::chrono::system_clock::now().time_since_epoch()) in generate_token() 330 std::chrono::system_clock::now().time_since_epoch()) in verify_token()
|
D | util_test.cc | 197 std::chrono::system_clock::time_point())); in test_util_http_date() 200 std::chrono::system_clock::time_point( in test_util_http_date() 462 std::chrono::system_clock::time_point( in test_util_localtime_date() 470 std::chrono::system_clock::time_point( in test_util_localtime_date()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Chrono.h | 33 using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>; 38 return system_clock::to_time_t( in toTimeT() 39 time_point_cast<system_clock::time_point::duration>(TP)); in toTimeT() 46 return time_point_cast<seconds>(system_clock::from_time_t(T)); in toTimePoint()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Chrono.h | 33 using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>; 38 return system_clock::to_time_t( in toTimeT() 39 time_point_cast<system_clock::time_point::duration>(TP)); in toTimeT() 46 return time_point_cast<seconds>(system_clock::from_time_t(T)); in toTimePoint() 53 return time_point_cast<nanoseconds>(system_clock::from_time_t(T)) in toTimePoint()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_lookup_test.cc | 756 EXPECT_EQ(chrono::system_clock::from_time_t(0), in TEST() 762 EXPECT_EQ(chrono::system_clock::from_time_t(0), in TEST() 768 EXPECT_EQ(chrono::system_clock::from_time_t(0), in TEST() 824 chrono::system_clock::time_point() - chrono::system_clock::from_time_t(0); in TEST() 825 EXPECT_EQ(chrono::system_clock::time_point::duration::zero(), in TEST() 831 const auto t0 = chrono::system_clock::from_time_t(0); in TEST() 851 const auto tp = chrono::system_clock::from_time_t(0); in TEST() 859 chrono::system_clock::from_time_t(0) - chrono::milliseconds(500); in TEST() 867 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() 876 const auto tp = chrono::system_clock::from_time_t(0); in TEST() [all …]
|
D | cctz_benchmark.cc | 839 std::chrono::system_clock::time_point tp = in BM_Time_ToCivil_CCTZ() 840 std::chrono::system_clock::from_time_t(1384569027); in BM_Time_ToCivil_CCTZ() 841 std::chrono::system_clock::time_point tp2 = in BM_Time_ToCivil_CCTZ() 842 std::chrono::system_clock::from_time_t(1418962578); in BM_Time_ToCivil_CCTZ() 870 std::chrono::system_clock::time_point tp = in BM_Time_ToCivilUTC_CCTZ() 871 std::chrono::system_clock::from_time_t(1384569027); in BM_Time_ToCivilUTC_CCTZ() 1007 const std::chrono::system_clock::time_point tp = in BM_Format_FormatTime() 1020 std::chrono::system_clock::time_point tp = in BM_Format_ParseTime()
|
D | time_zone_format_test.cc | 78 chrono::system_clock::from_time_t(1420167845) + in TEST() 108 chrono::system_clock::from_time_t(0)) + in TEST() 132 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST() 157 auto tp = chrono::system_clock::from_time_t(0); in TEST() 199 auto tp = chrono::system_clock::from_time_t(0); in TEST() 248 auto tp = chrono::system_clock::from_time_t(0); in TEST() 269 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST() 311 tp = chrono::system_clock::from_time_t(0) + chrono::microseconds(-1); in TEST() 318 tp = chrono::system_clock::from_time_t(0) + in TEST() 331 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); in TEST() [all …]
|
D | time_zone_if.h | 62 std::chrono::system_clock::from_time_t(0))) in ToUnixSeconds() 67 std::chrono::system_clock::from_time_t(0)) + in FromUnixSeconds()
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerInternal.h | 65 return duration_cast<seconds>(system_clock::now() - ProcessStartTime) in secondsSinceProcessStartUp() 163 system_clock::time_point ProcessStartTime = system_clock::now(); 164 system_clock::time_point UnitStartTime, UnitStopTime;
|
D | FuzzerLoop.cpp | 295 duration_cast<seconds>(system_clock::now() - UnitStartTime).count(); in AlarmCallback() 537 UnitStartTime = system_clock::now(); in ExecuteCallback() 543 UnitStopTime = system_clock::now(); in ExecuteCallback() 748 system_clock::time_point LastCorpusReload = system_clock::now(); in Loop() 752 auto Now = system_clock::now(); in Loop() 756 LastCorpusReload = system_clock::now(); in Loop()
|
D | FuzzerDriver.cpp | 445 Seed = (std::chrono::system_clock::now().time_since_epoch().count() << 10) + in FuzzerDriver() 479 auto StartTime = system_clock::now(); in FuzzerDriver() 483 auto StopTime = system_clock::now(); in FuzzerDriver()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | event_test.cpp | 151 auto start = std::chrono::system_clock::now(); in TEST_P() 153 auto end = std::chrono::system_clock::now(); in TEST_P() 168 auto start = std::chrono::system_clock::now(); in TEST_P() 183 auto start = std::chrono::system_clock::now(); in TEST_P() 185 auto end = std::chrono::system_clock::now(); in TEST_P()
|
D | scheduler.cpp | 432 return timeout == nullptr || std::chrono::system_clock::now() < *timeout; in wait() 460 if (timeout != nullptr && std::chrono::system_clock::now() >= *timeout) { in wait() 470 const std::chrono::system_clock::time_point* timeout) { in suspend() 619 auto now = std::chrono::system_clock::now(); in enqueueFiberTimeouts()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/ |
D | get_current_time_chrono.inc | 24 std::chrono::system_clock::now() - 25 std::chrono::system_clock::from_time_t(0))
|
/third_party/skia/third_party/externals/swiftshader/tests/SystemUnitTests/ |
D | SynchronizationTests.cpp | 83 ASSERT_TRUE(ev.wait(std::chrono::system_clock::now() + std::chrono::seconds(10))); in TEST() 92 ASSERT_FALSE(ev.wait(std::chrono::system_clock::now() + std::chrono::milliseconds(1))); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | time.cc | 56 std::chrono::system_clock::from_time_t(0)); in unix_epoch() 334 Time FromChrono(const std::chrono::system_clock::time_point& tp) { in FromChrono() 336 tp - std::chrono::system_clock::from_time_t(0))); in FromChrono() 339 std::chrono::system_clock::time_point ToChronoTime(absl::Time t) { in ToChronoTime() 340 using D = std::chrono::system_clock::duration; in ToChronoTime() 343 return std::chrono::system_clock::from_time_t(0) + in ToChronoTime()
|
D | time_test.cc | 523 std::chrono::system_clock::time_point MakeChronoUnixTime(const Duration& d) { in MakeChronoUnixTime() 524 return std::chrono::system_clock::from_time_t(0) + d; in MakeChronoUnixTime() 529 absl::FromChrono(std::chrono::system_clock::from_time_t(-1))); in TEST() 531 absl::FromChrono(std::chrono::system_clock::from_time_t(0))); in TEST() 533 absl::FromChrono(std::chrono::system_clock::from_time_t(1))); in TEST() 561 EXPECT_EQ(std::chrono::system_clock::from_time_t(-1), in TEST() 563 EXPECT_EQ(std::chrono::system_clock::from_time_t(0), in TEST() 565 EXPECT_EQ(std::chrono::system_clock::from_time_t(1), in TEST() 577 EXPECT_EQ(std::chrono::system_clock::from_time_t(0) - in TEST() 578 std::chrono::system_clock::duration(1), in TEST() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
D | time_ftime_test.cpp | 22 auto currentTime = std::chrono::system_clock::now();
|
/third_party/gstreamer/gstplugins_good/sys/directsound/ |
D | gstdirectsoundsink.h | 84 GstClock *system_clock; member
|
D | gstdirectsoundsink.c | 142 gst_object_unref (dsoundsink->system_clock); in gst_directsound_sink_finalize() 224 dsoundsink->system_clock = gst_system_clock_obtain (); in gst_directsound_sink_init() 647 sleep_until = gst_clock_get_time (dsoundsink->system_clock) + in gst_directsound_sink_write() 656 gst_clock_single_shot_id_reinit (dsoundsink->system_clock, in gst_directsound_sink_write() 664 gst_clock_new_single_shot_id (dsoundsink->system_clock, in gst_directsound_sink_write()
|
/third_party/gstreamer/gstplugins_bad/sys/directsound/ |
D | gstdirectsoundsrc.h | 106 GstClock *system_clock; member
|
D | gstdirectsoundsrc.c | 160 gst_object_unref (dsoundsrc->system_clock); in gst_directsound_src_finalize() 321 src->system_clock = gst_system_clock_obtain (); in gst_directsound_src_init() 699 sleep_until = gst_clock_get_time (dsoundsrc->system_clock) + in gst_directsound_src_read() 703 gst_clock_single_shot_id_reinit (dsoundsrc->system_clock, in gst_directsound_src_read() 708 gst_clock_new_single_shot_id (dsoundsrc->system_clock, sleep_until); in gst_directsound_src_read()
|
/third_party/skia/third_party/externals/angle2/util/ |
D | random_utils.cpp | 22 long long timeSeed = std::chrono::system_clock::now().time_since_epoch().count(); in RNG()
|