Searched refs:AbsDuration (Results 1 – 6 of 6) sorted by relevance
975 EXPECT_EQ(absl::ZeroDuration(), AbsDuration(absl::ZeroDuration())); in TEST()976 EXPECT_EQ(absl::Seconds(1), AbsDuration(absl::Seconds(1))); in TEST()977 EXPECT_EQ(absl::Seconds(1), AbsDuration(absl::Seconds(-1))); in TEST()979 EXPECT_EQ(absl::InfiniteDuration(), AbsDuration(absl::InfiniteDuration())); in TEST()980 EXPECT_EQ(absl::InfiniteDuration(), AbsDuration(-absl::InfiniteDuration())); in TEST()984 EXPECT_EQ(max_dur, AbsDuration(max_dur)); in TEST()987 EXPECT_EQ(absl::InfiniteDuration(), AbsDuration(min_dur)); in TEST()988 EXPECT_EQ(max_dur, AbsDuration(min_dur + absl::Nanoseconds(1) / 4)); in TEST()1378 if (absl::AbsDuration(direct_seconds - mul_by_one_second) > in VerifyApproxSameAsMul()
512 return td <= d ? td : td - AbsDuration(unit); in Floor()517 return td >= d ? td : td + AbsDuration(unit); in Ceil()
313 inline Duration AbsDuration(Duration d) { in AbsDuration() function
1542 ?AbsDuration@absl@@YA?AVDuration@1@V21@@Z
1548 ?AbsDuration@absl@@YA?AVDuration@1@V21@@Z
1544 ?AbsDuration@absl@@YA?AVDuration@1@V21@@Z