Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dtime_unittest.cc1472 constexpr TimeDelta kOneSecond = TimeDelta::FromSeconds(1); in TEST() local
1475 EXPECT_TRUE((large_delta + kOneSecond).is_max()); in TEST()
1476 EXPECT_TRUE((large_negative + (-kOneSecond)).is_min()); in TEST()
1477 EXPECT_TRUE((large_negative - kOneSecond).is_min()); in TEST()
1478 EXPECT_TRUE((large_delta - (-kOneSecond)).is_max()); in TEST()
1485 EXPECT_EQ((large_delta + kOneSecond).InSecondsF(), in TEST()
1487 EXPECT_EQ((large_delta + kOneSecond).InMillisecondsF(), in TEST()
1489 EXPECT_EQ((large_delta + kOneSecond).InMicrosecondsF(), in TEST()
1494 delta += kOneSecond; in TEST()
1497 delta += -kOneSecond; in TEST()
[all …]
/external/icu/icu4c/source/i18n/
Dgregoimp.h101 #define kOneSecond 1000 macro
Dcalendar.cpp2188 delta *= kOneSecond; in add()