Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/util/
Dtime_util_test.cc253 Duration one_nano = TimeUtil::NanosecondsToDuration(1); in TEST() local
258 a -= one_nano; in TEST()
281 TimeUtil::ToString((one_second - one_nano) * 315576000000LL)); in TEST()
283 TimeUtil::ToString((one_nano - one_second) * 315576000000LL)); in TEST()
285 TimeUtil::ToString((one_second - one_nano) * (-315576000000LL))); in TEST()
290 Duration large = TimeUtil::SecondsToDuration(315576000000LL) - one_nano; in TEST()
295 Duration large2 = large + one_nano; in TEST()
299 EXPECT_EQ(one_nano, large2 % large); in TEST()
300 EXPECT_EQ(-one_nano, (-large2) % large); in TEST()
301 EXPECT_EQ(one_nano, large2 % (-large)); in TEST()
[all …]