Home
last modified time | relevance | path

Searched refs:ToTimeval (Results 1 – 25 of 41) sorted by relevance

12

/external/openscreen/platform/impl/
Dtimeval_posix_unittest.cc11 TEST(TimevalPosixTest, ToTimeval) { in TEST() argument
13 auto timeval = ToTimeval(timespan); in TEST()
18 timeval = ToTimeval(timespan); in TEST()
23 timeval = ToTimeval(timespan); in TEST()
28 timeval = ToTimeval(timespan); in TEST()
33 timeval = ToTimeval(timespan); in TEST()
Dtimeval_posix.h14 struct timeval ToTimeval(const Clock::duration& timeout);
Dtimeval_posix.cc13 struct timeval ToTimeval(const Clock::duration& timeout) { in ToTimeval() function
Dsocket_handle_waiter_posix.cc45 struct timeval tv = ToTimeval(timeout); in AwaitSocketsReadable()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dtime_test.cc338 EXPECT_THAT(ToTimeval(test.t), TimevalMatcher(test.tv)); in TEST()
444 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
448 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
452 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
456 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
460 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
987 tv = ToTimeval(t); in TEST()
991 tv = ToTimeval(t); in TEST()
995 tv = ToTimeval(t); in TEST()
1002 tv = ToTimeval(t); in TEST()
[all …]
Dduration_test.cc1297 EXPECT_THAT(absl::ToTimeval(test.d), TimevalMatcher(test.tv)); in TEST()
1362 EXPECT_THAT(ToTimeval(absl::Nanoseconds(0)), TimevalMatcher(tv)); in TEST()
1364 EXPECT_THAT(ToTimeval(absl::Nanoseconds(999)), TimevalMatcher(tv)); in TEST()
1366 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1000)), TimevalMatcher(tv)); in TEST()
1367 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1999)), TimevalMatcher(tv)); in TEST()
1369 EXPECT_THAT(ToTimeval(absl::Nanoseconds(2000)), TimevalMatcher(tv)); in TEST()
1463 tv = ToTimeval(d); in TEST()
1467 tv = ToTimeval(d); in TEST()
1471 tv = ToTimeval(d); in TEST()
1478 tv = ToTimeval(d); in TEST()
[all …]
Dtime.h786 timeval ToTimeval(Duration d);
790 timeval ToTimeval(Time t);
/external/webrtc/third_party/abseil-cpp/absl/time/
Dtime_test.cc337 EXPECT_THAT(ToTimeval(test.t), TimevalMatcher(test.tv)); in TEST()
441 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
445 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
449 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
453 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
457 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
984 tv = ToTimeval(t); in TEST()
988 tv = ToTimeval(t); in TEST()
992 tv = ToTimeval(t); in TEST()
999 tv = ToTimeval(t); in TEST()
[all …]
Dduration_test.cc1297 EXPECT_THAT(absl::ToTimeval(test.d), TimevalMatcher(test.tv)); in TEST()
1362 EXPECT_THAT(ToTimeval(absl::Nanoseconds(0)), TimevalMatcher(tv)); in TEST()
1364 EXPECT_THAT(ToTimeval(absl::Nanoseconds(999)), TimevalMatcher(tv)); in TEST()
1366 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1000)), TimevalMatcher(tv)); in TEST()
1367 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1999)), TimevalMatcher(tv)); in TEST()
1369 EXPECT_THAT(ToTimeval(absl::Nanoseconds(2000)), TimevalMatcher(tv)); in TEST()
1463 tv = ToTimeval(d); in TEST()
1467 tv = ToTimeval(d); in TEST()
1471 tv = ToTimeval(d); in TEST()
1478 tv = ToTimeval(d); in TEST()
[all …]
Dtime.h786 timeval ToTimeval(Duration d);
790 timeval ToTimeval(Time t);
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime_test.cc338 EXPECT_THAT(ToTimeval(test.t), TimevalMatcher(test.tv)); in TEST()
444 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
448 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
452 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
456 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
460 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
987 tv = ToTimeval(t); in TEST()
991 tv = ToTimeval(t); in TEST()
995 tv = ToTimeval(t); in TEST()
1002 tv = ToTimeval(t); in TEST()
[all …]
Dduration_test.cc1297 EXPECT_THAT(absl::ToTimeval(test.d), TimevalMatcher(test.tv)); in TEST()
1362 EXPECT_THAT(ToTimeval(absl::Nanoseconds(0)), TimevalMatcher(tv)); in TEST()
1364 EXPECT_THAT(ToTimeval(absl::Nanoseconds(999)), TimevalMatcher(tv)); in TEST()
1366 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1000)), TimevalMatcher(tv)); in TEST()
1367 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1999)), TimevalMatcher(tv)); in TEST()
1369 EXPECT_THAT(ToTimeval(absl::Nanoseconds(2000)), TimevalMatcher(tv)); in TEST()
1463 tv = ToTimeval(d); in TEST()
1467 tv = ToTimeval(d); in TEST()
1471 tv = ToTimeval(d); in TEST()
1478 tv = ToTimeval(d); in TEST()
[all …]
Dtime.h786 timeval ToTimeval(Duration d);
790 timeval ToTimeval(Time t);
Dtime.cc315 timeval ToTimeval(Time t) { in ToTimeval() function
/external/abseil-cpp/absl/time/
Dtime_test.cc337 EXPECT_THAT(ToTimeval(test.t), TimevalMatcher(test.tv)); in TEST()
441 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
445 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
449 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
453 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
457 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
984 tv = ToTimeval(t); in TEST()
988 tv = ToTimeval(t); in TEST()
992 tv = ToTimeval(t); in TEST()
999 tv = ToTimeval(t); in TEST()
[all …]
Dduration_test.cc1297 EXPECT_THAT(absl::ToTimeval(test.d), TimevalMatcher(test.tv)); in TEST()
1362 EXPECT_THAT(ToTimeval(absl::Nanoseconds(0)), TimevalMatcher(tv)); in TEST()
1364 EXPECT_THAT(ToTimeval(absl::Nanoseconds(999)), TimevalMatcher(tv)); in TEST()
1366 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1000)), TimevalMatcher(tv)); in TEST()
1367 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1999)), TimevalMatcher(tv)); in TEST()
1369 EXPECT_THAT(ToTimeval(absl::Nanoseconds(2000)), TimevalMatcher(tv)); in TEST()
1463 tv = ToTimeval(d); in TEST()
1467 tv = ToTimeval(d); in TEST()
1471 tv = ToTimeval(d); in TEST()
1478 tv = ToTimeval(d); in TEST()
[all …]
Dtime.h786 timeval ToTimeval(Duration d);
790 timeval ToTimeval(Time t);
Dtime.cc315 timeval ToTimeval(Time t) { in ToTimeval() function
/external/openscreen/third_party/abseil/src/absl/time/
Dtime_test.cc338 EXPECT_THAT(ToTimeval(test.t), TimevalMatcher(test.tv)); in TEST()
444 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
448 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
452 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
456 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
460 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
987 tv = ToTimeval(t); in TEST()
991 tv = ToTimeval(t); in TEST()
995 tv = ToTimeval(t); in TEST()
1002 tv = ToTimeval(t); in TEST()
[all …]
Dduration_test.cc1297 EXPECT_THAT(absl::ToTimeval(test.d), TimevalMatcher(test.tv)); in TEST()
1362 EXPECT_THAT(ToTimeval(absl::Nanoseconds(0)), TimevalMatcher(tv)); in TEST()
1364 EXPECT_THAT(ToTimeval(absl::Nanoseconds(999)), TimevalMatcher(tv)); in TEST()
1366 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1000)), TimevalMatcher(tv)); in TEST()
1367 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1999)), TimevalMatcher(tv)); in TEST()
1369 EXPECT_THAT(ToTimeval(absl::Nanoseconds(2000)), TimevalMatcher(tv)); in TEST()
1463 tv = ToTimeval(d); in TEST()
1467 tv = ToTimeval(d); in TEST()
1471 tv = ToTimeval(d); in TEST()
1478 tv = ToTimeval(d); in TEST()
[all …]
Dtime.h786 timeval ToTimeval(Duration d);
790 timeval ToTimeval(Time t);
/external/angle/third_party/abseil-cpp/absl/time/
Dtime_test.cc338 EXPECT_THAT(ToTimeval(test.t), TimevalMatcher(test.tv)); in TEST()
444 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
448 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
452 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
456 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
460 TEST_CONVERSION_ROUND_TRIP(tv, absl::TimeFromTimeval, absl::ToTimeval, in TEST()
987 tv = ToTimeval(t); in TEST()
991 tv = ToTimeval(t); in TEST()
995 tv = ToTimeval(t); in TEST()
1002 tv = ToTimeval(t); in TEST()
[all …]
Dduration_test.cc1298 EXPECT_THAT(absl::ToTimeval(test.d), TimevalMatcher(test.tv)); in TEST()
1363 EXPECT_THAT(ToTimeval(absl::Nanoseconds(0)), TimevalMatcher(tv)); in TEST()
1365 EXPECT_THAT(ToTimeval(absl::Nanoseconds(999)), TimevalMatcher(tv)); in TEST()
1367 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1000)), TimevalMatcher(tv)); in TEST()
1368 EXPECT_THAT(ToTimeval(absl::Nanoseconds(1999)), TimevalMatcher(tv)); in TEST()
1370 EXPECT_THAT(ToTimeval(absl::Nanoseconds(2000)), TimevalMatcher(tv)); in TEST()
1476 tv = ToTimeval(d); in TEST()
1480 tv = ToTimeval(d); in TEST()
1484 tv = ToTimeval(d); in TEST()
1491 tv = ToTimeval(d); in TEST()
[all …]
Dtime.h796 timeval ToTimeval(Duration d);
800 timeval ToTimeval(Time t);
Dtime.cc316 timeval ToTimeval(Time t) { in ToTimeval() function

12