Home
last modified time | relevance | path

Searched refs:ToTimeT (Results 1 – 25 of 33) sorted by relevance

12

/external/libchrome/base/time/
Dtime_unittest.cc146 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
150 EXPECT_EQ(0, Time().ToTimeT()); in TEST_F()
183 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F()
229 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F()
267 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST_F()
321 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F()
409 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
412 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
421 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
424 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
[all …]
Dtime.cc207 time_t Time::ToTimeT() const { in ToTimeT() function in base::Time
Dtime.h547 time_t ToTimeT() const;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dtime_test.cc249 TEST_FLOOR_CONVERSION(absl::ToTimeT, absl::FromUnixMillis); 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()
673 EXPECT_EQ(-1, absl::ToTimeT(minus1_cl.pre)); in TEST()
733 const time_t tt = absl::ToTimeT(t); in TEST()
959 tt = absl::ToTimeT(t); in TEST()
962 tt = absl::ToTimeT(t); in TEST()
965 tt = absl::ToTimeT(t); in TEST()
[all …]
Dtime.cc276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
Dtime.h765 time_t ToTimeT(Time t);
/external/webrtc/third_party/abseil-cpp/absl/time/
Dtime_test.cc248 TEST_FLOOR_CONVERSION(absl::ToTimeT, absl::FromUnixMillis); 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()
670 EXPECT_EQ(-1, absl::ToTimeT(minus1_cl.pre)); in TEST()
730 const time_t tt = absl::ToTimeT(t); in TEST()
956 tt = absl::ToTimeT(t); in TEST()
959 tt = absl::ToTimeT(t); in TEST()
962 tt = absl::ToTimeT(t); in TEST()
[all …]
Dtime.cc276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
Dtime.h765 time_t ToTimeT(Time t);
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime_test.cc249 TEST_FLOOR_CONVERSION(absl::ToTimeT, absl::FromUnixMillis); 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()
673 EXPECT_EQ(-1, absl::ToTimeT(minus1_cl.pre)); in TEST()
733 const time_t tt = absl::ToTimeT(t); in TEST()
959 tt = absl::ToTimeT(t); in TEST()
962 tt = absl::ToTimeT(t); in TEST()
965 tt = absl::ToTimeT(t); in TEST()
[all …]
Dtime.cc276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
Dtime.h765 time_t ToTimeT(Time t);
/external/abseil-cpp/absl/time/
Dtime_test.cc248 TEST_FLOOR_CONVERSION(absl::ToTimeT, absl::FromUnixMillis); 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()
670 EXPECT_EQ(-1, absl::ToTimeT(minus1_cl.pre)); in TEST()
730 const time_t tt = absl::ToTimeT(t); in TEST()
956 tt = absl::ToTimeT(t); in TEST()
959 tt = absl::ToTimeT(t); in TEST()
962 tt = absl::ToTimeT(t); in TEST()
[all …]
Dtime.cc276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
/external/openscreen/third_party/abseil/src/absl/time/
Dtime_test.cc249 TEST_FLOOR_CONVERSION(absl::ToTimeT, absl::FromUnixMillis); 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()
673 EXPECT_EQ(-1, absl::ToTimeT(minus1_cl.pre)); in TEST()
733 const time_t tt = absl::ToTimeT(t); in TEST()
959 tt = absl::ToTimeT(t); in TEST()
962 tt = absl::ToTimeT(t); in TEST()
965 tt = absl::ToTimeT(t); in TEST()
[all …]
Dtime.cc277 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
Dtime.h765 time_t ToTimeT(Time t);
/external/angle/third_party/abseil-cpp/absl/time/
Dtime_test.cc249 TEST_FLOOR_CONVERSION(absl::ToTimeT, absl::FromUnixMillis); 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()
673 EXPECT_EQ(-1, absl::ToTimeT(minus1_cl.pre)); in TEST()
733 const time_t tt = absl::ToTimeT(t); in TEST()
959 tt = absl::ToTimeT(t); in TEST()
962 tt = absl::ToTimeT(t); in TEST()
965 tt = absl::ToTimeT(t); in TEST()
[all …]
Dtime.cc277 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
Dtime.h775 time_t ToTimeT(Time t);
/external/libbrillo/brillo/daemons/
Ddaemon.cc130 time_t utime = time.ToTimeT(); in GetTimeAsLogString()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc102 time_t when = ToTimeT(deadline); in WaitWithDeadline()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc97 time_t when = ToTimeT(deadline); in WaitWithDeadline()
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc97 time_t when = ToTimeT(deadline); in WaitWithDeadline()
/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.cc758 static_cast<long>(stamp.ToTimeT()), static_cast<long>(pid))); in ConstructFilePathForUploadDir()

12