/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | abseil-duration-addition.cpp | 24 i = absl::ToUnixNanos(t) + 5; in f() 43 i = 3 + absl::ToUnixNanos(t); in f() 89 int i = absl::ToUnixNanos(t) + T{}; in foo()
|
D | abseil-time-subtraction.cpp | 28 d = absl::Nanoseconds(absl::ToUnixNanos(t) - x); in f() 47 y = x - absl::ToUnixNanos(t); in f()
|
D | abseil-time-comparison.cpp | 66 b = x == absl::ToUnixNanos(t1); in f()
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | kernel_timeout.h | 71 int64_t x = ToUnixNanos(t); in MakeNs() 131 int64_t now = ToUnixNanos(absl::Now()); in InMillisecondsFromNow()
|
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/ |
D | kernel_timeout.h | 76 int64_t x = ToUnixNanos(t); in MakeNs() 108 int64_t now = ToUnixNanos(absl::Now()); in InMillisecondsFromNow()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | kernel_timeout.h | 71 int64_t x = ToUnixNanos(t); in MakeNs() 131 int64_t now = ToUnixNanos(absl::Now()); in InMillisecondsFromNow()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | kernel_timeout.h | 75 int64_t x = ToUnixNanos(t); in MakeNs() 107 int64_t now = ToUnixNanos(absl::Now()); in InMillisecondsFromNow()
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/ |
D | kernel_timeout.h | 75 int64_t x = ToUnixNanos(t); in MakeNs() 107 int64_t now = ToUnixNanos(absl::Now()); in InMillisecondsFromNow()
|
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/ |
D | kernel_timeout.h | 76 int64_t x = ToUnixNanos(t); in MakeNs() 108 int64_t now = ToUnixNanos(absl::Now()); in InMillisecondsFromNow()
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
D | remote_profiler_session_manager_test.cc | 77 options.set_session_creation_timestamp_ns(absl::ToUnixNanos(approx_start)); in TEST() 143 options.set_session_creation_timestamp_ns(absl::ToUnixNanos(approx_start)); in TEST()
|
D | capture_profile.cc | 197 absl::ToUnixNanos(start_timestamp)); in Trace()
|
/external/openscreen/third_party/abseil/src/absl/time/ |
D | clock_benchmark.cc | 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
|
D | time_test.cc | 254 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(3) / 2)); in TEST() 255 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1))); in TEST() 256 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1) / 2)); in TEST() 257 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(0))); in TEST() 259 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1) / 2)); in TEST() 260 EXPECT_EQ(-1, absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1))); in TEST() 262 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(3) / 2)); in TEST() 385 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 387 TEST_CONVERSION_ROUND_TRIP(0, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 389 TEST_CONVERSION_ROUND_TRIP(1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/time/ |
D | clock_benchmark.cc | 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
|
D | time_test.cc | 254 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(3) / 2)); in TEST() 255 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1))); in TEST() 256 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1) / 2)); in TEST() 257 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(0))); in TEST() 259 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1) / 2)); in TEST() 260 EXPECT_EQ(-1, absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1))); in TEST() 262 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(3) / 2)); in TEST() 385 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 387 TEST_CONVERSION_ROUND_TRIP(0, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 389 TEST_CONVERSION_ROUND_TRIP(1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() [all …]
|
/external/abseil-cpp/absl/time/ |
D | clock_benchmark.cc | 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
|
D | time_test.cc | 253 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(3) / 2)); in TEST() 254 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1))); in TEST() 255 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1) / 2)); in TEST() 256 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(0))); in TEST() 258 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1) / 2)); in TEST() 259 EXPECT_EQ(-1, absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1))); in TEST() 261 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(3) / 2)); in TEST() 382 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 384 TEST_CONVERSION_ROUND_TRIP(0, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 386 TEST_CONVERSION_ROUND_TRIP(1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/time/ |
D | clock_benchmark.cc | 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
|
D | time_test.cc | 254 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(3) / 2)); in TEST() 255 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1))); in TEST() 256 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1) / 2)); in TEST() 257 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(0))); in TEST() 259 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1) / 2)); in TEST() 260 EXPECT_EQ(-1, absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1))); in TEST() 262 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(3) / 2)); in TEST() 385 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 387 TEST_CONVERSION_ROUND_TRIP(0, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 389 TEST_CONVERSION_ROUND_TRIP(1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() [all …]
|
D | time_benchmark.cc | 142 benchmark::DoNotOptimize(ToUnixNanos(t)); in BM_Time_ToUnixNanos()
|
/external/webrtc/third_party/abseil-cpp/absl/time/ |
D | clock_benchmark.cc | 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
|
D | time_test.cc | 253 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(3) / 2)); in TEST() 254 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1))); in TEST() 255 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1) / 2)); in TEST() 256 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(0))); in TEST() 258 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1) / 2)); in TEST() 259 EXPECT_EQ(-1, absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1))); in TEST() 261 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(3) / 2)); in TEST() 382 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 384 TEST_CONVERSION_ROUND_TRIP(0, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 386 TEST_CONVERSION_ROUND_TRIP(1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
D | clock_benchmark.cc | 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
|
D | time_test.cc | 254 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(3) / 2)); in TEST() 255 EXPECT_EQ(1, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1))); in TEST() 256 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(1) / 2)); in TEST() 257 EXPECT_EQ(0, absl::ToUnixNanos(absl::UnixEpoch() + absl::Nanoseconds(0))); in TEST() 259 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1) / 2)); in TEST() 260 EXPECT_EQ(-1, absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(1))); in TEST() 262 absl::ToUnixNanos(absl::UnixEpoch() - absl::Nanoseconds(3) / 2)); in TEST() 385 TEST_CONVERSION_ROUND_TRIP(-1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 387 TEST_CONVERSION_ROUND_TRIP(0, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 389 TEST_CONVERSION_ROUND_TRIP(1, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/absl/time/ |
D | time.h | 66 int64_t ToUnixNanos(Time t);
|