Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dabseil-duration-conversion-cast.cpp43 x = static_cast<float>(absl::ToInt64Nanoseconds(d1)); in f()
Dabseil-duration-comparison.cpp83 b = x == absl::ToInt64Nanoseconds(d1); in f()
Dabseil-duration-unnecessary-conversion.cpp44 d2 = absl::Nanoseconds(absl::ToInt64Nanoseconds(d1)); in f()
/external/ruy/ruy/
Dtime.h66 inline std::int64_t ToInt64Nanoseconds(const Duration& duration) { in ToInt64Nanoseconds() function
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/absl/time/
Dtime.h59 int64_t ToInt64Nanoseconds(Duration d);
/external/grpc-grpc/src/cpp/ext/filters/census/
Dserver_filter.cc149 size_t len = ServerStatsSerialize(absl::ToInt64Nanoseconds(elapsed_time_), in StartTransportStreamOpBatch()
/external/rust/crates/grpcio-sys/grpc/src/cpp/ext/filters/census/
Dserver_filter.cc151 size_t len = ServerStatsSerialize(absl::ToInt64Nanoseconds(elapsed_time_), in StartTransportStreamOpBatch()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc103 int64_t nanos = ToInt64Nanoseconds(deadline - absl::FromTimeT(when)); in WaitWithDeadline()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc98 int64_t nanos = ToInt64Nanoseconds(deadline - absl::FromTimeT(when)); in WaitWithDeadline()
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc98 int64_t nanos = ToInt64Nanoseconds(deadline - absl::FromTimeT(when)); in WaitWithDeadline()
/external/angle/third_party/abseil-cpp/absl/time/
Dduration_test.cc157 EXPECT_EQ(N, absl::ToInt64Nanoseconds(nano)); in TestToConversion()
164 EXPECT_EQ(N * 1000, absl::ToInt64Nanoseconds(micro)); in TestToConversion()
171 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Nanoseconds(milli)); in TestToConversion()
178 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion()
185 EXPECT_EQ(N * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(min)); in TestToConversion()
192 EXPECT_EQ(N * 60 * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(hour)); in TestToConversion()
Dduration_benchmark.cc296 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
/external/abseil-cpp/absl/time/
Dduration_test.cc156 EXPECT_EQ(N, absl::ToInt64Nanoseconds(nano)); in TestToConversion()
163 EXPECT_EQ(N * 1000, absl::ToInt64Nanoseconds(micro)); in TestToConversion()
170 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Nanoseconds(milli)); in TestToConversion()
177 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion()
184 EXPECT_EQ(N * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(min)); in TestToConversion()
191 EXPECT_EQ(N * 60 * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(hour)); in TestToConversion()
Dduration_benchmark.cc291 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dduration_test.cc156 EXPECT_EQ(N, absl::ToInt64Nanoseconds(nano)); in TestToConversion()
163 EXPECT_EQ(N * 1000, absl::ToInt64Nanoseconds(micro)); in TestToConversion()
170 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Nanoseconds(milli)); in TestToConversion()
177 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion()
184 EXPECT_EQ(N * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(min)); in TestToConversion()
191 EXPECT_EQ(N * 60 * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(hour)); in TestToConversion()
Dduration_benchmark.cc291 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
Dtime.h461 int64_t ToInt64Nanoseconds(Duration d);
1441 return ToInt64Nanoseconds(d); in ToInt64()
/external/webrtc/third_party/abseil-cpp/absl/time/
Dduration_test.cc156 EXPECT_EQ(N, absl::ToInt64Nanoseconds(nano)); in TestToConversion()
163 EXPECT_EQ(N * 1000, absl::ToInt64Nanoseconds(micro)); in TestToConversion()
170 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Nanoseconds(milli)); in TestToConversion()
177 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion()
184 EXPECT_EQ(N * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(min)); in TestToConversion()
191 EXPECT_EQ(N * 60 * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(hour)); in TestToConversion()
Dduration_benchmark.cc291 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
Dtime.h461 int64_t ToInt64Nanoseconds(Duration d);
1442 return ToInt64Nanoseconds(d); in ToInt64()
/external/libtextclassifier/abseil-cpp/absl/time/
Dduration_test.cc156 EXPECT_EQ(N, absl::ToInt64Nanoseconds(nano)); in TestToConversion()
163 EXPECT_EQ(N * 1000, absl::ToInt64Nanoseconds(micro)); in TestToConversion()
170 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Nanoseconds(milli)); in TestToConversion()
177 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion()
184 EXPECT_EQ(N * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(min)); in TestToConversion()
191 EXPECT_EQ(N * 60 * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(hour)); in TestToConversion()
Dduration_benchmark.cc291 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
/external/openscreen/third_party/abseil/src/absl/time/
Dduration_test.cc156 EXPECT_EQ(N, absl::ToInt64Nanoseconds(nano)); in TestToConversion()
163 EXPECT_EQ(N * 1000, absl::ToInt64Nanoseconds(micro)); in TestToConversion()
170 EXPECT_EQ(N * 1000 * 1000, absl::ToInt64Nanoseconds(milli)); in TestToConversion()
177 EXPECT_EQ(N * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(sec)); in TestToConversion()
184 EXPECT_EQ(N * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(min)); in TestToConversion()
191 EXPECT_EQ(N * 60 * 60 * 1000 * 1000 * 1000, absl::ToInt64Nanoseconds(hour)); in TestToConversion()
Dduration_benchmark.cc291 benchmark::DoNotOptimize(absl::ToInt64Nanoseconds(d)); in BM_Duration_ToInt64Nanoseconds()
Dtime.h461 int64_t ToInt64Nanoseconds(Duration d);
1441 return ToInt64Nanoseconds(d); in ToInt64()

12