/external/libbrillo/brillo/ |
D | any.h | 154 T TryGet(typename std::decay<T>::type const& def_val) const { in TryGet() function 163 T TryGet() const { in TryGet() function 164 return TryGet<T>(typename std::decay<T>::type()); in TryGet()
|
D | any_test.cc | 255 TEST(Any, TryGet) { in TEST() argument 258 EXPECT_EQ("dummy", val.TryGet<std::string>("dummy")); in TEST() 259 EXPECT_EQ(12, val.TryGet<int>(17)); in TEST() 260 EXPECT_EQ(17, empty.TryGet<int>(17)); in TEST()
|
D | variant_dictionary.h | 28 return it->second.TryGet<T>(); in GetVariantValueOrDefault()
|
/external/angle/third_party/abseil-cpp/absl/flags/ |
D | flag_test.cc | 562 EXPECT_EQ(*handle->TryGet<bool>(), true); in TEST_F() 564 EXPECT_EQ(*handle->TryGet<int>(), 1234); in TEST_F() 566 EXPECT_EQ(*handle->TryGet<int16_t>(), -34); in TEST_F() 568 EXPECT_EQ(*handle->TryGet<uint16_t>(), 189); in TEST_F() 570 EXPECT_EQ(*handle->TryGet<int32_t>(), 10765); in TEST_F() 572 EXPECT_EQ(*handle->TryGet<uint32_t>(), 40000); in TEST_F() 574 EXPECT_EQ(*handle->TryGet<int64_t>(), -1234567); in TEST_F() 576 EXPECT_EQ(*handle->TryGet<uint64_t>(), 9876543); in TEST_F() 578 EXPECT_NEAR(*handle->TryGet<double>(), -9.876e-50, 1e-55); in TEST_F() 580 EXPECT_NEAR(*handle->TryGet<float>(), 1.234e12f, 1e5f); in TEST_F() [all …]
|
D | commandlineflag.h | 83 absl::optional<T> TryGet() const { in TryGet() function
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/ |
D | flag_test.cc | 559 EXPECT_EQ(*handle->TryGet<bool>(), true); in TEST_F() 561 EXPECT_EQ(*handle->TryGet<int>(), 1234); in TEST_F() 563 EXPECT_EQ(*handle->TryGet<int16_t>(), -34); in TEST_F() 565 EXPECT_EQ(*handle->TryGet<uint16_t>(), 189); in TEST_F() 567 EXPECT_EQ(*handle->TryGet<int32_t>(), 10765); in TEST_F() 569 EXPECT_EQ(*handle->TryGet<uint32_t>(), 40000); in TEST_F() 571 EXPECT_EQ(*handle->TryGet<int64_t>(), -1234567); in TEST_F() 573 EXPECT_EQ(*handle->TryGet<uint64_t>(), 9876543); in TEST_F() 575 EXPECT_NEAR(*handle->TryGet<double>(), -9.876e-50, 1e-55); in TEST_F() 577 EXPECT_NEAR(*handle->TryGet<float>(), 1.234e12f, 1e5f); in TEST_F() [all …]
|
D | commandlineflag.h | 83 absl::optional<T> TryGet() const { in TryGet() function
|
/external/openscreen/third_party/abseil/src/absl/flags/ |
D | flag_test.cc | 559 EXPECT_EQ(*handle->TryGet<bool>(), true); in TEST_F() 561 EXPECT_EQ(*handle->TryGet<int>(), 1234); in TEST_F() 563 EXPECT_EQ(*handle->TryGet<int16_t>(), -34); in TEST_F() 565 EXPECT_EQ(*handle->TryGet<uint16_t>(), 189); in TEST_F() 567 EXPECT_EQ(*handle->TryGet<int32_t>(), 10765); in TEST_F() 569 EXPECT_EQ(*handle->TryGet<uint32_t>(), 40000); in TEST_F() 571 EXPECT_EQ(*handle->TryGet<int64_t>(), -1234567); in TEST_F() 573 EXPECT_EQ(*handle->TryGet<uint64_t>(), 9876543); in TEST_F() 575 EXPECT_NEAR(*handle->TryGet<double>(), -9.876e-50, 1e-55); in TEST_F() 577 EXPECT_NEAR(*handle->TryGet<float>(), 1.234e12f, 1e5f); in TEST_F() [all …]
|
D | commandlineflag.h | 83 absl::optional<T> TryGet() const { in TryGet() function
|
/external/libtextclassifier/abseil-cpp/absl/flags/ |
D | flag_test.cc | 559 EXPECT_EQ(*handle->TryGet<bool>(), true); in TEST_F() 561 EXPECT_EQ(*handle->TryGet<int>(), 1234); in TEST_F() 563 EXPECT_EQ(*handle->TryGet<int16_t>(), -34); in TEST_F() 565 EXPECT_EQ(*handle->TryGet<uint16_t>(), 189); in TEST_F() 567 EXPECT_EQ(*handle->TryGet<int32_t>(), 10765); in TEST_F() 569 EXPECT_EQ(*handle->TryGet<uint32_t>(), 40000); in TEST_F() 571 EXPECT_EQ(*handle->TryGet<int64_t>(), -1234567); in TEST_F() 573 EXPECT_EQ(*handle->TryGet<uint64_t>(), 9876543); in TEST_F() 575 EXPECT_NEAR(*handle->TryGet<double>(), -9.876e-50, 1e-55); in TEST_F() 577 EXPECT_NEAR(*handle->TryGet<float>(), 1.234e12f, 1e5f); in TEST_F() [all …]
|
D | commandlineflag.h | 83 absl::optional<T> TryGet() const { in TryGet() function
|
/external/perfetto/include/perfetto/tracing/internal/ |
D | data_source_internal.h | 136 DataSourceState* TryGet(size_t n) { in TryGet() function
|
/external/perfetto/include/perfetto/tracing/ |
D | interceptor.h | 258 auto* internal_state = static_state_->TryGet(data_source_instance_index_); in GetInterceptorLocked()
|
D | data_source.h | 218 auto* internal_state = static_state_.TryGet(instance_index_); in GetDataSourceLocked()
|
/external/perfetto/src/tracing/internal/ |
D | tracing_muxer_impl.cc | 858 if (!static_state.TryGet(i)) in SetupDataSource() 877 if (static_state.TryGet(i)) in SetupDataSource() 1132 DataSourceState* ds_state = static_state->TryGet(inst); in DestroyStoppedTraceWritersForCurrentThread() 1494 auto* internal_state = static_state->TryGet(i); in FindDataSource()
|