Home
last modified time | relevance | path

Searched refs:ZeroDuration (Results 1 – 22 of 22) sorted by relevance

/third_party/abseil-cpp/absl/time/
Dduration_test.cc64 constexpr absl::Duration d0 = absl::ZeroDuration(); in TEST()
65 static_assert(d0 == absl::ZeroDuration(), "ZeroDuration()"); in TEST()
68 static_assert(d1 != absl::ZeroDuration(), "Seconds(1)"); in TEST()
71 static_assert(d2 != absl::ZeroDuration(), "InfiniteDuration()"); in TEST()
85 constexpr absl::Duration zero = absl::ZeroDuration(); in TEST()
128 constexpr absl::Duration z = absl::ZeroDuration(); \ in TEST()
412 EXPECT_TRUE(kint64max == d / absl::ZeroDuration()); in TEST()
591 EXPECT_EQ(absl::ZeroDuration(), any_dur / dbl_inf); in TEST()
592 EXPECT_EQ(absl::ZeroDuration(), any_dur / -dbl_inf); in TEST()
593 EXPECT_EQ(absl::ZeroDuration(), -any_dur / dbl_inf); in TEST()
[all …]
Dduration.cc365 const bool num_neg = num < ZeroDuration(); in IDivDuration()
366 const bool den_neg = den < ZeroDuration(); in IDivDuration()
369 if (time_internal::IsInfiniteDuration(num) || den == ZeroDuration()) { in IDivDuration()
486 if (time_internal::IsInfiniteDuration(num) || den == ZeroDuration()) { in FDivDuration()
487 return (num < ZeroDuration()) == (den < ZeroDuration()) in FDivDuration()
626 if (d >= ZeroDuration()) { in ToTimespec()
775 if (d < ZeroDuration()) { in FormatDuration()
911 *d = ZeroDuration(); in ParseDuration()
Dformat_test.cc159 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
182 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
190 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
Dtime.cc64 rem >= ZeroDuration() || in FloorToUnit()
305 if (d >= absl::ZeroDuration()) { in ToTimespec()
341 if (d < ZeroDuration()) d = Floor(d, FromChrono(D{1})); in ToChronoTime()
Dtime.h297 constexpr Duration ZeroDuration() { return Duration(); } in ZeroDuration() function
303 return (d < ZeroDuration()) ? -d : d; in AbsDuration()
1466 return d < ZeroDuration() ? (T::min)() : (T::max)(); in ToChronoDuration()
Dclock.cc562 while (duration > absl::ZeroDuration()) { in AbslInternalSleepFor()
Dtime_test.cc113 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
124 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
942 EXPECT_LT(absl::ZeroDuration(), max - zero); in TEST()
943 EXPECT_LT(absl::ZeroDuration(), in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_test.cc65 constexpr absl::Duration d0 = absl::ZeroDuration(); in TEST()
66 static_assert(d0 == absl::ZeroDuration(), "ZeroDuration()"); in TEST()
69 static_assert(d1 != absl::ZeroDuration(), "Seconds(1)"); in TEST()
72 static_assert(d2 != absl::ZeroDuration(), "InfiniteDuration()"); in TEST()
86 constexpr absl::Duration zero = absl::ZeroDuration(); in TEST()
129 constexpr absl::Duration z = absl::ZeroDuration(); \ in TEST()
413 EXPECT_TRUE(kint64max == d / absl::ZeroDuration()); in TEST()
592 EXPECT_EQ(absl::ZeroDuration(), any_dur / dbl_inf); in TEST()
593 EXPECT_EQ(absl::ZeroDuration(), any_dur / -dbl_inf); in TEST()
594 EXPECT_EQ(absl::ZeroDuration(), -any_dur / dbl_inf); in TEST()
[all …]
Dduration.cc365 const bool num_neg = num < ZeroDuration(); in IDivDuration()
366 const bool den_neg = den < ZeroDuration(); in IDivDuration()
369 if (time_internal::IsInfiniteDuration(num) || den == ZeroDuration()) { in IDivDuration()
486 if (time_internal::IsInfiniteDuration(num) || den == ZeroDuration()) { in FDivDuration()
487 return (num < ZeroDuration()) == (den < ZeroDuration()) in FDivDuration()
626 if (d >= ZeroDuration()) { in ToTimespec()
776 if (d < ZeroDuration()) { in FormatDuration()
912 *d = ZeroDuration(); in ParseDuration()
Dformat_test.cc159 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
182 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
190 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
Dtime.cc63 return (q > 0 || rem >= ZeroDuration() || in FloorToUnit()
306 if (d >= absl::ZeroDuration()) { in ToTimespec()
342 if (d < ZeroDuration()) d = Floor(d, FromChrono(D{1})); in ToChronoTime()
Dtime.h308 constexpr Duration ZeroDuration() { return Duration(); } in ZeroDuration() function
314 return (d < ZeroDuration()) ? -d : d; in AbsDuration()
1519 return d < ZeroDuration() ? (T::min)() : (T::max)(); in ToChronoDuration()
Dclock.cc578 while (duration > absl::ZeroDuration()) { in ABSL_INTERNAL_C_SYMBOL()
Dtime_test.cc113 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
124 EXPECT_EQ(absl::ZeroDuration(), ci.subsecond); in TEST()
942 EXPECT_LT(absl::ZeroDuration(), max - zero); in TEST()
943 EXPECT_LT(absl::ZeroDuration(), in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhashtablez_sampler_test.cc332 absl::Duration oldest = absl::ZeroDuration(); in TEST()
336 ASSERT_GE(oldest, absl::ZeroDuration()); in TEST()
/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler_test.cc326 absl::Duration oldest = absl::ZeroDuration(); in TEST()
330 ASSERT_GE(oldest, absl::ZeroDuration()); in TEST()
/third_party/abseil-cpp/absl/synchronization/
Dmutex_test.cc1198 absl::Duration tolerance = expected_delay <= absl::ZeroDuration()
1269 if (delay <= absl::ZeroDuration()) {
1286 const absl::Duration immediate = absl::ZeroDuration();
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dmutex_test.cc1228 absl::Duration tolerance = expected_delay <= absl::ZeroDuration()
1299 if (delay <= absl::ZeroDuration()) {
1316 const absl::Duration immediate = absl::ZeroDuration();
/third_party/grpc/test/cpp/server/load_reporter/
Dload_reporter_test.cc188 TEST_F(LbFeedbackTest, ZeroDuration) { in TEST_F() argument
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_arm64_dbg.def2619 ?ZeroDuration@absl@@YA?AVDuration@1@XZ
Dsymbols_x86_dbg.def2612 ?ZeroDuration@absl@@YA?AVDuration@1@XZ
Dsymbols_x64_dbg.def2618 ?ZeroDuration@absl@@YA?AVDuration@1@XZ