Home
last modified time | relevance | path

Searched refs:FromTimeT (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/third_party/abseil-cpp/absl/time/
Dformat_test.cc45 absl::Time t = absl::FromTimeT(0); in TEST()
69 absl::Time t = absl::FromTimeT(0); in TEST()
78 absl::FormatTime("%c", absl::FromTimeT(0), absl::UTCTimeZone()); in TEST()
91 absl::Time t = absl::FromTimeT(0) + absl::Seconds(5); in TEST()
143 absl::Time t = absl::FromTimeT(1234567890); in TEST()
194 absl::Time t = absl::FromTimeT(0); in TEST()
Dtime_test.cc92 constexpr absl::Time t7 = absl::FromTimeT(0); in TEST()
433 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
434 TEST_CONVERSION_ROUND_TRIP(0, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
435 TEST_CONVERSION_ROUND_TRIP(1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
436 TEST_CONVERSION_ROUND_TRIP(now_time_t, absl::FromTimeT, absl::ToTimeT, in TEST()
528 EXPECT_EQ(absl::FromTimeT(-1), in TEST()
530 EXPECT_EQ(absl::FromTimeT(0), in TEST()
532 EXPECT_EQ(absl::FromTimeT(1), in TEST()
562 absl::ToChronoTime(absl::FromTimeT(-1))); in TEST()
564 absl::ToChronoTime(absl::FromTimeT(0))); in TEST()
[all …]
Dtime.h755 constexpr Time FromTimeT(time_t t);
1598 constexpr Time FromTimeT(time_t t) { in FromTimeT() function
/external/openscreen/third_party/abseil/src/absl/time/
Dformat_test.cc45 absl::Time t = absl::FromTimeT(0); in TEST()
69 absl::Time t = absl::FromTimeT(0); in TEST()
78 absl::FormatTime("%c", absl::FromTimeT(0), absl::UTCTimeZone()); in TEST()
91 absl::Time t = absl::FromTimeT(0) + absl::Seconds(5); in TEST()
143 absl::Time t = absl::FromTimeT(1234567890); in TEST()
194 absl::Time t = absl::FromTimeT(0); in TEST()
Dtime_test.cc92 constexpr absl::Time t7 = absl::FromTimeT(0); in TEST()
433 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
434 TEST_CONVERSION_ROUND_TRIP(0, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
435 TEST_CONVERSION_ROUND_TRIP(1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
436 TEST_CONVERSION_ROUND_TRIP(now_time_t, absl::FromTimeT, absl::ToTimeT, in TEST()
528 EXPECT_EQ(absl::FromTimeT(-1), in TEST()
530 EXPECT_EQ(absl::FromTimeT(0), in TEST()
532 EXPECT_EQ(absl::FromTimeT(1), in TEST()
562 absl::ToChronoTime(absl::FromTimeT(-1))); in TEST()
564 absl::ToChronoTime(absl::FromTimeT(0))); in TEST()
[all …]
Dtime.h745 constexpr Time FromTimeT(time_t t);
1574 constexpr Time FromTimeT(time_t t) { in FromTimeT() function
/external/webrtc/third_party/abseil-cpp/absl/time/
Dformat_test.cc45 absl::Time t = absl::FromTimeT(0); in TEST()
69 absl::Time t = absl::FromTimeT(0); in TEST()
78 absl::FormatTime("%c", absl::FromTimeT(0), absl::UTCTimeZone()); in TEST()
91 absl::Time t = absl::FromTimeT(0) + absl::Seconds(5); in TEST()
143 absl::Time t = absl::FromTimeT(1234567890); in TEST()
194 absl::Time t = absl::FromTimeT(0); in TEST()
Dtime_test.cc94 constexpr absl::Time t7 = absl::FromTimeT(0); in TEST()
430 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
431 TEST_CONVERSION_ROUND_TRIP(0, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
432 TEST_CONVERSION_ROUND_TRIP(1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
433 TEST_CONVERSION_ROUND_TRIP(now_time_t, absl::FromTimeT, absl::ToTimeT, in TEST()
525 EXPECT_EQ(absl::FromTimeT(-1), in TEST()
527 EXPECT_EQ(absl::FromTimeT(0), in TEST()
529 EXPECT_EQ(absl::FromTimeT(1), in TEST()
559 absl::ToChronoTime(absl::FromTimeT(-1))); in TEST()
561 absl::ToChronoTime(absl::FromTimeT(0))); in TEST()
[all …]
Dtime.h745 constexpr Time FromTimeT(time_t t);
1577 constexpr Time FromTimeT(time_t t) { in FromTimeT() function
/external/abseil-cpp/absl/time/
Dformat_test.cc45 absl::Time t = absl::FromTimeT(0); in TEST()
69 absl::Time t = absl::FromTimeT(0); in TEST()
78 absl::FormatTime("%c", absl::FromTimeT(0), absl::UTCTimeZone()); in TEST()
91 absl::Time t = absl::FromTimeT(0) + absl::Seconds(5); in TEST()
143 absl::Time t = absl::FromTimeT(1234567890); in TEST()
194 absl::Time t = absl::FromTimeT(0); in TEST()
Dtime_test.cc94 constexpr absl::Time t7 = absl::FromTimeT(0); in TEST()
430 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
431 TEST_CONVERSION_ROUND_TRIP(0, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
432 TEST_CONVERSION_ROUND_TRIP(1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
433 TEST_CONVERSION_ROUND_TRIP(now_time_t, absl::FromTimeT, absl::ToTimeT, in TEST()
525 EXPECT_EQ(absl::FromTimeT(-1), in TEST()
527 EXPECT_EQ(absl::FromTimeT(0), in TEST()
529 EXPECT_EQ(absl::FromTimeT(1), in TEST()
559 absl::ToChronoTime(absl::FromTimeT(-1))); in TEST()
561 absl::ToChronoTime(absl::FromTimeT(0))); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/
Dformat_test.cc45 absl::Time t = absl::FromTimeT(0); in TEST()
69 absl::Time t = absl::FromTimeT(0); in TEST()
78 absl::FormatTime("%c", absl::FromTimeT(0), absl::UTCTimeZone()); in TEST()
91 absl::Time t = absl::FromTimeT(0) + absl::Seconds(5); in TEST()
143 absl::Time t = absl::FromTimeT(1234567890); in TEST()
194 absl::Time t = absl::FromTimeT(0); in TEST()
Dtime_test.cc92 constexpr absl::Time t7 = absl::FromTimeT(0); in TEST()
433 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
434 TEST_CONVERSION_ROUND_TRIP(0, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
435 TEST_CONVERSION_ROUND_TRIP(1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
436 TEST_CONVERSION_ROUND_TRIP(now_time_t, absl::FromTimeT, absl::ToTimeT, in TEST()
528 EXPECT_EQ(absl::FromTimeT(-1), in TEST()
530 EXPECT_EQ(absl::FromTimeT(0), in TEST()
532 EXPECT_EQ(absl::FromTimeT(1), in TEST()
562 absl::ToChronoTime(absl::FromTimeT(-1))); in TEST()
564 absl::ToChronoTime(absl::FromTimeT(0))); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dformat_test.cc45 absl::Time t = absl::FromTimeT(0); in TEST()
69 absl::Time t = absl::FromTimeT(0); in TEST()
78 absl::FormatTime("%c", absl::FromTimeT(0), absl::UTCTimeZone()); in TEST()
91 absl::Time t = absl::FromTimeT(0) + absl::Seconds(5); in TEST()
143 absl::Time t = absl::FromTimeT(1234567890); in TEST()
194 absl::Time t = absl::FromTimeT(0); in TEST()
Dtime_test.cc92 constexpr absl::Time t7 = absl::FromTimeT(0); in TEST()
433 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
434 TEST_CONVERSION_ROUND_TRIP(0, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
435 TEST_CONVERSION_ROUND_TRIP(1, absl::FromTimeT, absl::ToTimeT, testing::Eq); in TEST()
436 TEST_CONVERSION_ROUND_TRIP(now_time_t, absl::FromTimeT, absl::ToTimeT, in TEST()
528 EXPECT_EQ(absl::FromTimeT(-1), in TEST()
530 EXPECT_EQ(absl::FromTimeT(0), in TEST()
532 EXPECT_EQ(absl::FromTimeT(1), in TEST()
562 absl::ToChronoTime(absl::FromTimeT(-1))); in TEST()
564 absl::ToChronoTime(absl::FromTimeT(0))); in TEST()
[all …]
Dtime.h745 constexpr Time FromTimeT(time_t t);
1576 constexpr Time FromTimeT(time_t t) { in FromTimeT() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc53 deadline = std::max(absl::FromTimeT(0), deadline); in LimitedDeadline()
54 deadline = std::min(deadline, absl::FromTimeT(0x7fffffff)); in LimitedDeadline()
103 int64_t nanos = ToInt64Nanoseconds(deadline - absl::FromTimeT(when)); in WaitWithDeadline()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc48 deadline = std::max(absl::FromTimeT(0), deadline); in LimitedDeadline()
49 deadline = std::min(deadline, absl::FromTimeT(0x7fffffff)); in LimitedDeadline()
98 int64_t nanos = ToInt64Nanoseconds(deadline - absl::FromTimeT(when)); in WaitWithDeadline()
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc48 deadline = std::max(absl::FromTimeT(0), deadline); in LimitedDeadline()
49 deadline = std::min(deadline, absl::FromTimeT(0x7fffffff)); in LimitedDeadline()
98 int64_t nanos = ToInt64Nanoseconds(deadline - absl::FromTimeT(when)); in WaitWithDeadline()
/external/libchrome/base/files/
Dfile_posix.cc150 Time::FromTimeT(last_modified_sec) + in FromStat()
155 Time::FromTimeT(last_accessed_sec) + in FromStat()
160 Time::FromTimeT(creation_time_sec) + in FromStat()
Dfile_enumerator_posix.cc54 return base::Time::FromTimeT(stat_.st_mtime); in GetLastModifiedTime()
/external/libchrome/base/time/
Dtime_unittest.cc114 comparison_time_local_ = Time::FromTimeT(converted_time); in SetUp()
117 comparison_time_pdt_ = Time::FromTimeT(1192477500); in SetUp()
146 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
147 EXPECT_EQ(10.0, Time().FromTimeT(10).ToDoubleT()); in TEST_F()
151 EXPECT_EQ(0, Time::FromTimeT(0).ToInternalValue()); in TEST_F()
166 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F()
212 Time our_time_1 = Time::FromTimeT(now_t_1); in TEST_F()
266 Time zero_time(Time::FromTimeT(0)); in TEST_F()
646 t = Time::FromTimeT(std::numeric_limits<time_t>::max()); in TEST_F()
Dtime.cc199 Time Time::FromTimeT(time_t tt) { in FromTimeT() function in base::Time
/external/libchrome/base/metrics/
Dpersistent_histogram_allocator_unittest.cc150 dir_path, "bar", Time::FromTimeT(12345), 6789); in TEST_F()
155 EXPECT_EQ(Time::FromTimeT(12345), stamp); in TEST_F()
/external/libchrome/base/process/
Dinternal_linux.cc186 return Time::FromTimeT(btime); in GetBootTime()

12