/external/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
D | alloc_function.pass.cpp | 30 template <class FuncType, class AllocType> 36 std::function<FuncType> f = FunctionObject(); in test_FunctionObject() 40 RTTI_ASSERT(f.template target<FuncType>() == 0); in test_FunctionObject() 41 RTTI_ASSERT(f.template target<FuncType*>() == 0); in test_FunctionObject() 43 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FunctionObject() 47 RTTI_ASSERT(f2.template target<FuncType>() == 0); in test_FunctionObject() 48 RTTI_ASSERT(f2.template target<FuncType*>() == 0); in test_FunctionObject() 54 template <class FuncType, class AllocType> 60 FuncType* target = &FreeFunction; in test_FreeFunction() 61 std::function<FuncType> f = target; in test_FreeFunction() [all …]
|
D | alloc_F.pass.cpp | 42 template <class FuncType, class AllocType> 50 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject() 54 assert(f2.template target<FuncType>() == 0); in test_FunctionObject() 55 assert(f2.template target<FuncType*>() == 0); in test_FunctionObject() 62 template <class FuncType, class AllocType> 67 FuncType* target = &FreeFunction; in test_FreeFunction() 69 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FreeFunction() 73 assert(f2.template target<FuncType*>()); in test_FreeFunction() 74 assert(*f2.template target<FuncType*>() == target); in test_FreeFunction() 75 assert(f2.template target<FuncType>() == 0); in test_FreeFunction() [all …]
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
D | alloc_function.pass.cpp | 28 template <class FuncType, class AllocType> 34 std::function<FuncType> f = FunctionObject(); in test_FunctionObject() 38 assert(f.template target<FuncType>() == 0); in test_FunctionObject() 39 assert(f.template target<FuncType*>() == 0); in test_FunctionObject() 41 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FunctionObject() 45 assert(f2.template target<FuncType>() == 0); in test_FunctionObject() 46 assert(f2.template target<FuncType*>() == 0); in test_FunctionObject() 52 template <class FuncType, class AllocType> 58 FuncType* target = &FreeFunction; in test_FreeFunction() 59 std::function<FuncType> f = target; in test_FreeFunction() [all …]
|
D | alloc_F.pass.cpp | 40 template <class FuncType, class AllocType> 48 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject() 52 assert(f2.template target<FuncType>() == 0); in test_FunctionObject() 53 assert(f2.template target<FuncType*>() == 0); in test_FunctionObject() 60 template <class FuncType, class AllocType> 65 FuncType* target = &FreeFunction; in test_FreeFunction() 67 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FreeFunction() 69 assert(f2.template target<FuncType*>()); in test_FreeFunction() 70 assert(*f2.template target<FuncType*>() == target); in test_FreeFunction() 71 assert(f2.template target<FuncType>() == 0); in test_FreeFunction() [all …]
|
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_bitmanip_main.cpp | 87 typedef Type (*FuncType)(Type); in testBitManip() typedef 90 FuncType FuncLlc; in testBitManip() 91 FuncType FuncSz; in testBitManip() 123 typedef Type (*FuncType)(Type); in testByteSwap() typedef 126 FuncType FuncLlc; in testByteSwap() 127 FuncType FuncSz; in testByteSwap()
|
D | test_sync_atomic_main.cpp | 91 typedef Type (*FuncType)(bool, volatile Type *, Type); in testAtomicRMW() typedef 94 FuncType FuncLlc; in testAtomicRMW() 95 FuncType FuncSz; in testAtomicRMW() 142 typedef Type (*FuncType)(volatile Type *, Type, Type); in testValCompareAndSwap() typedef 145 FuncType FuncLlc; in testValCompareAndSwap() 146 FuncType FuncSz; in testValCompareAndSwap() 212 typedef Type (*FuncType)(bool, volatile Type *, Type); in testAtomicRMWThreads() typedef 215 FuncType FuncLlc; in testAtomicRMWThreads() 216 FuncType FuncSz; in testAtomicRMWThreads()
|
D | test_stacksave_main.c | 29 typedef uint32_t (*FuncType)(uint32_t, uint32_t, uint32_t); in DECLARE_TESTS() typedef 32 FuncType FuncLlc; in DECLARE_TESTS() 33 FuncType FuncSz; in DECLARE_TESTS()
|
D | test_arith_main.cpp | 254 typedef Type (*FuncType)(Type, Type); in testsFp() typedef 257 FuncType FuncLlc; in testsFp() 258 FuncType FuncSz; in testsFp() 261 {STR(inst), (FuncType)test##inst, (FuncType)Subzero_::test##inst}, in testsFp() 324 typedef v4f32 (*FuncType)(v4f32, v4f32); in testsVecFp() typedef 327 FuncType FuncLlc; in testsVecFp() 328 FuncType FuncSz; in testsVecFp() 331 {STR(inst), (FuncType)test##inst, (FuncType)Subzero_::test##inst}, in testsVecFp()
|
D | test_icmp_main.cpp | 261 typedef Ty (*FuncType)(Ty, Ty); in testsVecI1() typedef 264 FuncType FuncLlc; in testsVecI1() 265 FuncType FuncSz; in testsVecI1() 268 {STR(cmp), (FuncType)icmpi1##cmp, (FuncType)Subzero_::icmpi1##cmp}, in testsVecI1()
|
/external/libaom/libaom/test/ |
D | intrapred_test.cc | 49 template <typename FuncType> 51 IntraPredFunc(FuncType pred = NULL, FuncType ref = NULL, in IntraPredFunc() 57 FuncType pred_fn; 58 FuncType ref_fn; 66 template <typename FuncType, typename Pixel> 68 : public ::testing::TestWithParam<IntraPredFunc<FuncType> > { 133 IntraPredFunc<FuncType> params_;
|
D | dr_prediction_test.cc | 135 template <typename FuncType> 137 DrPredFunc(FuncType pred = NULL, FuncType tst = NULL, int bit_depth_value = 0, in DrPredFunc() 142 FuncType ref_fn; 143 FuncType tst_fn; 148 template <typename Pixel, typename FuncType> 149 class DrPredTest : public ::testing::TestWithParam<DrPredFunc<FuncType> > { 305 DrPredFunc<FuncType> params_;
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | utils.h | 289 static typename TermT::FuncType GetFunc(bool bArg) 301 static typename TermT::FuncType GetFunc(bool bArg, TArgsT... remainingArgs) 317 static typename TermT::FuncType GetFunc(RangedArg<T, TMin, TMax> iArg) 332 static typename TermT::FuncType GetFunc(RangedArg<T, TVal, TVal> iArg) 340 static typename TermT::FuncType GetFunc(RangedArg<T, TMin, TMax> iArg, TArgsT... remainingArgs) 356 static typename TermT::FuncType GetFunc(RangedArg<T, TVal, TVal> iArg, TArgsT... remainingArgs)
|
/external/llvm-project/llvm/unittests/ADT/ |
D | TypeTraitsTest.cpp | 33 using FuncType = bool (*)(const int &); typedef 34 struct CheckFunctionPointer : CheckFunctionTraits<FuncType> {};
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 220 FunctionType* FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldFunc() local 221 OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M); in CreateOldFunc() 232 DISubroutineType *FuncType = in CreateOldFunctionBodyAndDI() local 239 CU, "f", "f", File, 4, FuncType, true, true, 3, 0, false); in CreateOldFunctionBodyAndDI() 409 auto *FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldModule() local 410 auto *PersFn = Function::Create(FuncType, GlobalValue::ExternalLinkage, in CreateOldModule() 413 Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM); in CreateOldModule()
|
/external/angle/third_party/abseil-cpp/absl/hash/ |
D | hash_benchmark.cc | 81 template <typename FuncType> 82 inline FuncType* ODRUseFunction(FuncType* ptr) { in ODRUseFunction() 83 volatile FuncType* dummy = ptr; in ODRUseFunction()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 48 template<typename FuncType> 51 TypeBuilder<FuncType, false>::get(Context), in startFunction() 109 template <typename FuncType> 112 TypeBuilder<FuncType, false>::get(Context), in insertExternalReferenceToFunction()
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | OrcTestCommon.h | 68 template <typename FuncType> 71 TypeBuilder<FuncType, false>::get(M->getContext()), in createFunctionDecl()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 441 typedef ReturnType (*FuncType)(); 443 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)()); 452 typedef ReturnType (*FuncType)(ArgType1); 455 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)( 465 typedef ReturnType (*FuncType)(ArgType1, ArgType2); 469 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)(
|
/external/llvm-project/llvm/unittests/IR/ |
D | FunctionTest.cpp | 143 FunctionType *FuncType(FunctionType::get(VoidType, false)); in TEST() local 145 FuncType, GlobalValue::ExternalLinkage)); in TEST()
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CloningTest.cpp | 462 FunctionType* FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldFunc() local 463 OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M); in CreateOldFunc() 474 DISubroutineType *FuncType = in CreateOldFunctionBodyAndDI() local 482 CU, "f", "f", File, 4, FuncType, 3, DINode::FlagZero, in CreateOldFunctionBodyAndDI() 512 CU, "inlined", "inlined", File, 8, FuncType, 9, DINode::FlagZero, in CreateOldFunctionBodyAndDI() 843 auto *FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldModule() local 844 auto *PersFn = Function::Create(FuncType, GlobalValue::ExternalLinkage, in CreateOldModule() 847 Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM); in CreateOldModule()
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/ |
D | mutex.h | 937 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef 938 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/ |
D | mutex.h | 937 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef 938 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()
|
/external/abseil-cpp/absl/synchronization/ |
D | mutex.h | 928 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef 929 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/ |
D | mutex.h | 928 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef 929 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()
|
/external/angle/third_party/abseil-cpp/absl/synchronization/ |
D | mutex.h | 954 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef 955 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()
|