/external/libcxx/test/std/utilities/variant/variant.get/ |
D | get_if_index.pass.cpp | 32 static_assert(std::get_if<0>(v) == nullptr, ""); in test_const_get_if() 37 ASSERT_NOEXCEPT(std::get_if<0>(&v)); in test_const_get_if() 38 ASSERT_SAME_TYPE(decltype(std::get_if<0>(&v)), const int *); in test_const_get_if() 39 static_assert(*std::get_if<0>(&v) == 42, ""); in test_const_get_if() 40 static_assert(std::get_if<1>(&v) == nullptr, ""); in test_const_get_if() 45 ASSERT_SAME_TYPE(decltype(std::get_if<1>(&v)), const long *); in test_const_get_if() 46 static_assert(*std::get_if<1>(&v) == 42, ""); in test_const_get_if() 47 static_assert(std::get_if<0>(&v) == nullptr, ""); in test_const_get_if() 55 ASSERT_SAME_TYPE(decltype(std::get_if<0>(&v)), int *); in test_const_get_if() 56 assert(std::get_if<0>(&v) == &x); in test_const_get_if() [all …]
|
D | get_if_type.pass.cpp | 30 static_assert(std::get_if<int>(v) == nullptr, ""); in test_const_get_if() 35 ASSERT_NOEXCEPT(std::get_if<int>(&v)); in test_const_get_if() 36 ASSERT_SAME_TYPE(decltype(std::get_if<int>(&v)), const int *); in test_const_get_if() 37 static_assert(*std::get_if<int>(&v) == 42, ""); in test_const_get_if() 38 static_assert(std::get_if<const long>(&v) == nullptr, ""); in test_const_get_if() 43 ASSERT_SAME_TYPE(decltype(std::get_if<const long>(&v)), const long *); in test_const_get_if() 44 static_assert(*std::get_if<const long>(&v) == 42, ""); in test_const_get_if() 45 static_assert(std::get_if<int>(&v) == nullptr, ""); in test_const_get_if() 53 ASSERT_SAME_TYPE(decltype(std::get_if<int &>(&v)), int *); in test_const_get_if() 54 assert(std::get_if<int &>(&v) == &x); in test_const_get_if() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.get/ |
D | get_if_index.pass.cpp | 31 static_assert(std::get_if<0>(v) == nullptr, ""); in test_const_get_if() 36 ASSERT_NOEXCEPT(std::get_if<0>(&v)); in test_const_get_if() 37 ASSERT_SAME_TYPE(decltype(std::get_if<0>(&v)), const int *); in test_const_get_if() 38 static_assert(*std::get_if<0>(&v) == 42, ""); in test_const_get_if() 39 static_assert(std::get_if<1>(&v) == nullptr, ""); in test_const_get_if() 44 ASSERT_SAME_TYPE(decltype(std::get_if<1>(&v)), const long *); in test_const_get_if() 45 static_assert(*std::get_if<1>(&v) == 42, ""); in test_const_get_if() 46 static_assert(std::get_if<0>(&v) == nullptr, ""); in test_const_get_if() 54 ASSERT_SAME_TYPE(decltype(std::get_if<0>(&v)), int *); in test_const_get_if() 55 assert(std::get_if<0>(&v) == &x); in test_const_get_if() [all …]
|
D | get_if_type.pass.cpp | 29 static_assert(std::get_if<int>(v) == nullptr, ""); in test_const_get_if() 34 ASSERT_NOEXCEPT(std::get_if<int>(&v)); in test_const_get_if() 35 ASSERT_SAME_TYPE(decltype(std::get_if<int>(&v)), const int *); in test_const_get_if() 36 static_assert(*std::get_if<int>(&v) == 42, ""); in test_const_get_if() 37 static_assert(std::get_if<const long>(&v) == nullptr, ""); in test_const_get_if() 42 ASSERT_SAME_TYPE(decltype(std::get_if<const long>(&v)), const long *); in test_const_get_if() 43 static_assert(*std::get_if<const long>(&v) == 42, ""); in test_const_get_if() 44 static_assert(std::get_if<int>(&v) == nullptr, ""); in test_const_get_if() 52 ASSERT_SAME_TYPE(decltype(std::get_if<int &>(&v)), int *); in test_const_get_if() 53 assert(std::get_if<int &>(&v) == &x); in test_const_get_if() [all …]
|
/external/llvm-project/flang/lib/Lower/ |
D | OpenACC.cpp | 27 const auto *dataRef{std::get_if<Fortran::parser::DataRef>(&designator.u)}; in getDesignatorNameIfDataRef() 28 return dataRef ? std::get_if<Fortran::parser::Name>(&dataRef->u) : nullptr; in getDesignatorNameIfDataRef() 149 std::get_if<Fortran::parser::AccClause::Gang>(&clause.u)) { in genACC() 177 std::get_if<Fortran::parser::AccClause::Worker>( in genACC() 185 std::get_if<Fortran::parser::AccClause::Vector>( in genACC() 193 std::get_if<Fortran::parser::AccClause::Tile>(&clause.u)) { in genACC() 212 std::get_if<Fortran::parser::AccClause::Private>( in genACC() 240 std::get_if<Fortran::parser::AccClause::Collapse>(&clause.u)) { in genACC() 247 } else if (std::get_if<Fortran::parser::AccClause::Seq>(&clause.u)) { in genACC() 250 } else if (std::get_if<Fortran::parser::AccClause::Independent>( in genACC() [all …]
|
D | OpenMP.cpp | 27 const auto *dataRef = std::get_if<Fortran::parser::DataRef>(&designator.u); in getDesignatorNameIfDataRef() 28 return dataRef ? std::get_if<Fortran::parser::Name>(&dataRef->u) : nullptr; in getDesignatorNameIfDataRef() 150 std::get_if<Fortran::parser::OmpIfClause>(&clause.u)) { in genOMP() 155 std::get_if<Fortran::parser::OmpClause::NumThreads>( in genOMP() 161 std::get_if<Fortran::parser::OmpClause::Private>( in genOMP() 166 std::get_if<Fortran::parser::OmpClause::Firstprivate>( in genOMP() 172 std::get_if<Fortran::parser::OmpClause::Shared>( in genOMP() 177 std::get_if<Fortran::parser::OmpClause::Copyin>( in genOMP() 193 std::get_if<Fortran::parser::OmpDefaultClause>(&clause.u)) { in genOMP() 215 std::get_if<Fortran::parser::OmpProcBindClause>(&clause.u)) { in genOMP()
|
D | SymbolMap.h | 125 if (auto *arr = std::get_if<FullDim>(&box)) in hasSimpleLBounds() 127 if (auto *arr = std::get_if<CharFullDim>(&box)) in hasSimpleLBounds() 129 if (auto *arr = std::get_if<Derived>(&box)) in hasSimpleLBounds() 156 if (auto *x = std::get_if<ON>(&box))
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/ |
D | fuse_mul_to_conv.cc | 178 auto mul = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&mul_attr.param); in FuseConvolution2DWithMultiply() 179 auto mul_scalar = absl::get_if<float>(&mul_attr.param); in FuseConvolution2DWithMultiply() 199 auto mul = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&mul_attr.param); in FuseDepthwiseConvolution2DWithMultiply() 200 auto mul_scalar = absl::get_if<float>(&mul_attr.param); in FuseDepthwiseConvolution2DWithMultiply() 221 auto mul = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&mul_attr.param); in FuseConvolutionTransposedWithMultiply() 222 auto mul_scalar = absl::get_if<float>(&mul_attr.param); in FuseConvolutionTransposedWithMultiply() 241 auto mul = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&mul_attr.param); in FuseFullyConnectedWithMultiply() 242 auto mul_scalar = absl::get_if<float>(&mul_attr.param); in FuseFullyConnectedWithMultiply() 257 auto mul = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&mul_attr.param); in FuseMultiplyWithConvolution2D() 258 auto mul_scalar = absl::get_if<float>(&mul_attr.param); in FuseMultiplyWithConvolution2D() [all …]
|
/external/angle/third_party/abseil-cpp/absl/types/ |
D | variant_test.cc | 343 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 344 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() 346 EXPECT_TRUE((absl::get_if<value_type2>(&original) == in TYPED_TEST() 347 absl::get_if<value_type2>(&copied)) || in TYPED_TEST() 349 EXPECT_TRUE((absl::get_if<value_type3>(&original) == in TYPED_TEST() 350 absl::get_if<value_type3>(&copied)) || in TYPED_TEST() 352 EXPECT_TRUE((absl::get_if<value_type4>(&original) == in TYPED_TEST() 353 absl::get_if<value_type4>(&copied)) || in TYPED_TEST() 355 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 356 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/types/ |
D | variant_test.cc | 343 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 344 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() 346 EXPECT_TRUE((absl::get_if<value_type2>(&original) == in TYPED_TEST() 347 absl::get_if<value_type2>(&copied)) || in TYPED_TEST() 349 EXPECT_TRUE((absl::get_if<value_type3>(&original) == in TYPED_TEST() 350 absl::get_if<value_type3>(&copied)) || in TYPED_TEST() 352 EXPECT_TRUE((absl::get_if<value_type4>(&original) == in TYPED_TEST() 353 absl::get_if<value_type4>(&copied)) || in TYPED_TEST() 355 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 356 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/types/ |
D | variant_test.cc | 343 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 344 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() 346 EXPECT_TRUE((absl::get_if<value_type2>(&original) == in TYPED_TEST() 347 absl::get_if<value_type2>(&copied)) || in TYPED_TEST() 349 EXPECT_TRUE((absl::get_if<value_type3>(&original) == in TYPED_TEST() 350 absl::get_if<value_type3>(&copied)) || in TYPED_TEST() 352 EXPECT_TRUE((absl::get_if<value_type4>(&original) == in TYPED_TEST() 353 absl::get_if<value_type4>(&copied)) || in TYPED_TEST() 355 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 356 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/types/ |
D | variant_test.cc | 343 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 344 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() 346 EXPECT_TRUE((absl::get_if<value_type2>(&original) == in TYPED_TEST() 347 absl::get_if<value_type2>(&copied)) || in TYPED_TEST() 349 EXPECT_TRUE((absl::get_if<value_type3>(&original) == in TYPED_TEST() 350 absl::get_if<value_type3>(&copied)) || in TYPED_TEST() 352 EXPECT_TRUE((absl::get_if<value_type4>(&original) == in TYPED_TEST() 353 absl::get_if<value_type4>(&copied)) || in TYPED_TEST() 355 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 356 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() [all …]
|
/external/abseil-cpp/absl/types/ |
D | variant_test.cc | 343 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 344 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() 346 EXPECT_TRUE((absl::get_if<value_type2>(&original) == in TYPED_TEST() 347 absl::get_if<value_type2>(&copied)) || in TYPED_TEST() 349 EXPECT_TRUE((absl::get_if<value_type3>(&original) == in TYPED_TEST() 350 absl::get_if<value_type3>(&copied)) || in TYPED_TEST() 352 EXPECT_TRUE((absl::get_if<value_type4>(&original) == in TYPED_TEST() 353 absl::get_if<value_type4>(&copied)) || in TYPED_TEST() 355 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 356 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/ |
D | variant_test.cc | 343 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 344 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() 346 EXPECT_TRUE((absl::get_if<value_type2>(&original) == in TYPED_TEST() 347 absl::get_if<value_type2>(&copied)) || in TYPED_TEST() 349 EXPECT_TRUE((absl::get_if<value_type3>(&original) == in TYPED_TEST() 350 absl::get_if<value_type3>(&copied)) || in TYPED_TEST() 352 EXPECT_TRUE((absl::get_if<value_type4>(&original) == in TYPED_TEST() 353 absl::get_if<value_type4>(&copied)) || in TYPED_TEST() 355 EXPECT_TRUE((absl::get_if<value_type1>(&original) == in TYPED_TEST() 356 absl::get_if<value_type1>(&copied)) || in TYPED_TEST() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | converter.cc | 140 auto output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 144 auto input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 235 auto output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 239 auto input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 284 auto ssbo_input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 285 auto ssbo_output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 318 auto cpu_input = absl::get_if<CpuMemory>(&input_obj); in Convert() 319 auto cpu_output = absl::get_if<CpuMemory>(&output_obj); in Convert() 321 auto ssbo_output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 330 auto ssbo_input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert()
|
D | add.cc | 41 auto adds = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&attr.param); in GenerateCode() 42 auto scalar = absl::get_if<float>(&attr.param); in GenerateCode() 45 absl::get_if<Tensor<HWC, DataType::FLOAT32>>(&attr.param); in GenerateCode()
|
D | prelu.cc | 41 auto alpha = absl::get_if<Tensor<Linear, DataType::FLOAT32>>(&attr.alpha); in GenerateCode() 90 auto alpha = absl::get_if<Tensor<HWC, DataType::FLOAT32>>(&attr.alpha); in GenerateCode() 157 auto* alpha = absl::get_if<Tensor<HWC, DataType::FLOAT32>>(&attr.alpha); in GenerateCode()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/ |
D | converter.cc | 101 auto texture = absl::get_if<OpenClTexture>(&obj); in GetOpenCLMemory() 102 auto buffer = absl::get_if<OpenClBuffer>(&obj); in GetOpenCLMemory() 267 auto output = absl::get_if<OpenClBuffer>(&output_obj); in Convert() 362 auto input = absl::get_if<OpenClBuffer>(&input_obj); in Convert() 428 auto texture_input = absl::get_if<OpenClTexture>(&input_obj); in Convert() 429 auto texture_output = absl::get_if<OpenClTexture>(&output_obj); in Convert() 433 auto buffer_input = absl::get_if<OpenClBuffer>(&input_obj); in Convert() 434 auto buffer_output = absl::get_if<OpenClBuffer>(&output_obj); in Convert() 491 auto cpu_input = absl::get_if<CpuMemory>(&input_obj); in Convert() 492 auto cpu_output = absl::get_if<CpuMemory>(&output_obj); in Convert() [all …]
|
/external/llvm-project/flang/lib/Evaluate/ |
D | call.cpp | 87 if (const auto *intrinsic{std::get_if<SpecificIntrinsic>(&u)}) { in GetType() 104 if (const auto *intrinsic{std::get_if<SpecificIntrinsic>(&u)}) { in Rank() 132 } else if (const auto *intrinsic{std::get_if<SpecificIntrinsic>(&u)}) { in IsElemental() 142 return std::get_if<SpecificIntrinsic>(&u); in GetSpecificIntrinsic() 146 if (auto *c{std::get_if<common::CopyableIndirection<Component>>(&u)}) { in GetComponent() 177 if (const auto *intrinsic{std::get_if<SpecificIntrinsic>(&proc_.u)}) { in LEN()
|
/external/llvm-project/flang/lib/Semantics/ |
D | rewrite-parse-tree.cpp | 86 if (auto stmt{std::get_if<stmtFuncType>(&it->u)}) { in Post() 116 if (auto *var{std::get_if<parser::Variable>(&x.u)}) { in Post() 159 if (auto *var{std::get_if<parser::Variable>(&x.iounit->u)}) { in Post() 180 if (auto *scalar{std::get_if<parser::Scalar<parser::ConstantValue>>(&x.u)}) { in Post() 181 if (auto *named{std::get_if<parser::NamedConstant>(&scalar->thing.u)}) { in Post()
|
D | canonicalize-omp.cpp | 34 std::get_if<parser::OpenMPLoopConstruct>(&ompCons->u)}) { in Post() 51 if (auto *y{std::get_if<parser::ExecutableConstruct>(&x.u)}) { in GetConstructIf() 52 if (auto *z{std::get_if<common::Indirection<T>>(&y->u)}) { in GetConstructIf()
|
/external/llvm-project/flang/runtime/ |
D | io-api.cpp | 578 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 603 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 639 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 662 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 687 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 705 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 734 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 757 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 782 auto *open{io.get_if<OpenStatementState>()}; in IONAME() 801 if (auto *open{io.get_if<OpenStatementState>()}) { in IONAME() [all …]
|
D | descriptor-io.h | 101 io.get_if<ListDirectedStatementState<Direction::Output>>() != nullptr}; in FormattedComplexIO() 145 auto *listOutput{io.get_if<ListDirectedStatementState<Direction::Output>>()}; in FormattedCharacterIO() 181 auto *listOutput{io.get_if<ListDirectedStatementState<Direction::Output>>()}; in FormattedLogicalIO() 216 if (!io.get_if<IoDirectionState<DIR>>()) { in DescriptorIO() 224 if (auto *unf{io.get_if<UnformattedIoStatementState<DIR>>()}) { in DescriptorIO()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | gl_interop.cc | 274 auto ssbo = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 275 auto cl_mem = absl::get_if<OpenClBuffer>(&output_obj); in Convert() 287 auto cl_mem = absl::get_if<OpenClBuffer>(&input_obj); in Convert() 288 auto ssbo = absl::get_if<OpenGlBuffer>(&output_obj); in Convert()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | prelu.cc | 34 absl::get_if<tflite::gpu::Tensor<Linear, DataType::FLOAT32>>(&attr.alpha); in CreatePReLU() 47 absl::get_if<tflite::gpu::Tensor<HWC, DataType::FLOAT32>>(&attr.alpha); in CreatePReLU()
|