Home
last modified time | relevance | path

Searched refs:FuncType (Results 1 – 25 of 30) sorted by relevance

12

/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp28 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 …]
Dalloc_F.pass.cpp40 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/
Dtest_bitmanip_main.cpp50 typedef Type (*FuncType)(Type); in testBitManip() typedef
53 FuncType FuncLlc; in testBitManip()
54 FuncType FuncSz; in testBitManip()
86 typedef Type (*FuncType)(Type); in testByteSwap() typedef
89 FuncType FuncLlc; in testByteSwap()
90 FuncType FuncSz; in testByteSwap()
Dtest_sync_atomic_main.cpp61 typedef Type (*FuncType)(bool, volatile Type *, Type); in testAtomicRMW() typedef
64 FuncType FuncLlc; in testAtomicRMW()
65 FuncType FuncSz; in testAtomicRMW()
112 typedef Type (*FuncType)(volatile Type *, Type, Type); in testValCompareAndSwap() typedef
115 FuncType FuncLlc; in testValCompareAndSwap()
116 FuncType FuncSz; in testValCompareAndSwap()
182 typedef Type (*FuncType)(bool, volatile Type *, Type); in testAtomicRMWThreads() typedef
185 FuncType FuncLlc; in testAtomicRMWThreads()
186 FuncType FuncSz; in testAtomicRMWThreads()
Dtest_stacksave_main.c29 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()
Dtest_arith_main.cpp252 typedef Type (*FuncType)(Type, Type); in testsFp() typedef
255 FuncType FuncLlc; in testsFp()
256 FuncType FuncSz; in testsFp()
259 { STR(inst), (FuncType)test##inst, (FuncType)Subzero_::test##inst } \ in testsFp()
323 typedef v4f32 (*FuncType)(v4f32, v4f32); in testsVecFp() typedef
326 FuncType FuncLlc; in testsVecFp()
327 FuncType FuncSz; in testsVecFp()
330 { STR(inst), (FuncType)test##inst, (FuncType)Subzero_::test##inst } \ in testsVecFp()
Dtest_icmp_main.cpp279 typedef Ty (*FuncType)(Ty, Ty); in testsVecI1() typedef
282 FuncType FuncLlc; in testsVecI1()
283 FuncType FuncSz; in testsVecI1()
286 { STR(cmp), (FuncType)icmpi1##cmp, (FuncType)Subzero_::icmpi1##cmp } \ in testsVecI1()
/external/libaom/libaom/test/
Dintrapred_test.cc49 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_;
Ddr_prediction_test.cc135 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/
Dutils.h289 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)
Dbinner.cpp215 typedef PFN_PROCESS_ATTRIBUTES FuncType; typedef
218 static FuncType GetFunc() in GetFunc()
1245 typedef PFN_PROCESS_PRIMS FuncType; typedef
1248 static FuncType GetFunc() in GetFunc()
1263 typedef PFN_PROCESS_PRIMS_SIMD16 FuncType; typedef
1266 static FuncType GetFunc() in GetFunc()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp220 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/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h48 template<typename FuncType>
51 TypeBuilder<FuncType, false>::get(Context), in startFunction()
109 template <typename FuncType>
112 TypeBuilder<FuncType, false>::get(Context), in insertExternalReferenceToFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h48 template<typename FuncType>
51 TypeBuilder<FuncType, false>::get(Context), in startFunction()
109 template <typename FuncType>
112 TypeBuilder<FuncType, false>::get(Context), in insertExternalReferenceToFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp368 FunctionType* FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldFunc() local
369 OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M); in CreateOldFunc()
380 DISubroutineType *FuncType = in CreateOldFunctionBodyAndDI() local
388 DBuilder.createFunction(CU, "f", "f", File, 4, FuncType, true, true, 3, in CreateOldFunctionBodyAndDI()
418 DBuilder.createFunction(CU, "inlined", "inlined", File, 8, FuncType, in CreateOldFunctionBodyAndDI()
585 auto *FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldModule() local
586 auto *PersFn = Function::Create(FuncType, GlobalValue::ExternalLinkage, in CreateOldModule()
589 Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM); in CreateOldModule()
/external/v8/src/wasm/
Dc-api.cc123 own<FuncType> FunctionSigToFuncType(const i::wasm::FunctionSig* sig) { in FunctionSigToFuncType()
134 return FuncType::make(std::move(params), std::move(results)); in FunctionSigToFuncType()
467 struct implement<FuncType> {
471 FuncType::~FuncType() = default;
473 auto FuncType::make(ownvec<ValType>&& params, ownvec<ValType>&& results) in make()
474 -> own<FuncType> { in make()
476 ? own<FuncType>(seal<FuncType>(new (std::nothrow) in make()
478 : own<FuncType>(); in make()
481 auto FuncType::copy() const -> own<FuncType> { in copy()
485 auto FuncType::params() const -> const ownvec<ValType>& { in params()
[all …]
/external/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h68 template <typename FuncType>
71 TypeBuilder<FuncType, false>::get(M->getContext()), in createFunctionDecl()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h441 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/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h131 template <typename FuncType>
134 TypeBuilder<FuncType, false>::get(M->getContext()), in createFunctionDecl()
/external/clang/test/SemaTemplate/
Dinstantiation-default-1.cpp83 typename FuncType = R (*)(Arg1, Arg2)>
/external/harfbuzz_ng/src/
Dhb-font.cc1989 template <typename FuncType>
1993 FuncType func;
1996 template <typename FuncType>
1997 static hb_trampoline_t<FuncType> *
1998 trampoline_create (FuncType func, in trampoline_create()
2002 typedef hb_trampoline_t<FuncType> trampoline_t; in trampoline_create()
/external/swiftshader/third_party/subzero/src/
DIceConverter.cpp864 FunctionType *FuncType = Func.getFunctionType(); in installGlobalDeclarations() local
866 Converter.convertToIceType(FuncType->getReturnType())); in installGlobalDeclarations()
867 for (size_t I = 0; I < FuncType->getNumParams(); ++I) { in installGlobalDeclarations()
869 Converter.convertToIceType(FuncType->getParamType(I))); in installGlobalDeclarations()
/external/clang/test/Parser/
Dcxx0x-attributes.cpp236 using FuncType = void ([[]] int);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp313 for (uint32_t FuncType : Section.FunctionTypes) { in writeSectionContent() local
314 encodeULEB128(FuncType, OS); in writeSectionContent()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp776 const FunctionType *FuncType = Decl->getFunctionType(); in checkPostCall() local
777 if (!FuncType) in checkPostCall()
779 QualType ReturnType = FuncType->getReturnType(); in checkPostCall()

12