/external/libchrome/base/time/ |
D | time_unittest.cc | 146 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 …]
|
D | time.cc | 207 time_t Time::ToTimeT() const { in ToTimeT() function in base::Time
|
D | time.h | 547 time_t ToTimeT() const;
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
D | time_test.cc | 249 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 …]
|
D | time.cc | 276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
|
D | time.h | 765 time_t ToTimeT(Time t);
|
/external/webrtc/third_party/abseil-cpp/absl/time/ |
D | time_test.cc | 248 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 …]
|
D | time.cc | 276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
|
D | time.h | 765 time_t ToTimeT(Time t);
|
/external/libtextclassifier/abseil-cpp/absl/time/ |
D | time_test.cc | 249 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 …]
|
D | time.cc | 276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
|
D | time.h | 765 time_t ToTimeT(Time t);
|
/external/abseil-cpp/absl/time/ |
D | time_test.cc | 248 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 …]
|
D | time.cc | 276 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
|
/external/openscreen/third_party/abseil/src/absl/time/ |
D | time_test.cc | 249 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 …]
|
D | time.cc | 277 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
|
D | time.h | 765 time_t ToTimeT(Time t);
|
/external/angle/third_party/abseil-cpp/absl/time/ |
D | time_test.cc | 249 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 …]
|
D | time.cc | 277 time_t ToTimeT(Time t) { return absl::ToTimespec(t).tv_sec; } in ToTimeT() function
|
D | time.h | 775 time_t ToTimeT(Time t);
|
/external/libbrillo/brillo/daemons/ |
D | daemon.cc | 130 time_t utime = time.ToTimeT(); in GetTimeAsLogString()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 102 time_t when = ToTimeT(deadline); in WaitWithDeadline()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 97 time_t when = ToTimeT(deadline); in WaitWithDeadline()
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 97 time_t when = ToTimeT(deadline); in WaitWithDeadline()
|
/external/libchrome/base/metrics/ |
D | persistent_histogram_allocator.cc | 758 static_cast<long>(stamp.ToTimeT()), static_cast<long>(pid))); in ConstructFilePathForUploadDir()
|