Home
last modified time | relevance | path

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

/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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVFunction.h88 FuncType(FunctionType), FCtrlMask(FunctionControlMaskNone) {
94 SPIRVFunction():SPIRVValue(OpFunction),FuncType(NULL),
98 SPIRVTypeFunction *getFunctionType() const { return FuncType;}
137 assert(FuncType && "Invalid func type");
156 SPIRVTypeFunction *FuncType; // Function type
DSPIRVFunction.cpp77 getEncoder(O) << Type << Id << FCtrlMask << FuncType; in encode()
100 Decoder >> Type >> Id >> FCtrlMask >> FuncType; in decode()
DSPIRVModule.cpp811 SPIRVModuleImpl::addFunction(SPIRVTypeFunction *FuncType, SPIRVId Id) { in addFunction() argument
812 return addFunction(new SPIRVFunction(this, FuncType, in addFunction()
813 getId(Id, FuncType->getNumParameters() + 1))); in addFunction()
/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/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/harfbuzz_ng/src/
Dhb-font.cc1661 template <typename FuncType>
1665 FuncType func;
1668 template <typename FuncType>
1669 static hb_trampoline_t<FuncType> *
1670 trampoline_create (FuncType func, in trampoline_create()
1674 typedef hb_trampoline_t<FuncType> trampoline_t; in trampoline_create()
/external/clang/test/SemaTemplate/
Dinstantiation-default-1.cpp83 typename FuncType = R (*)(Arg1, Arg2)>
/external/clang/test/Parser/
Dcxx0x-attributes.cpp236 using FuncType = void ([[]] int);
/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()
/external/valgrind/VEX/test/
Dtest-i386.c1616 typedef int FuncType(void);
1623 printf("func1 = 0x%x\n", ((FuncType *)code)());
1626 printf("func%d = 0x%x\n", i, ((FuncType *)code)());
Dtest-amd64.c1656 typedef int FuncType(void);
1663 printf("func1 = 0x%x\n", ((FuncType *)code)());
1666 printf("func%d = 0x%x\n", i, ((FuncType *)code)());
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3709 QualType FuncType; in convertFunctionTypeOfBlocks() local
3713 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks()
3714 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks()
3715 return FuncType; in convertFunctionTypeOfBlocks()
DRewriteModernObjC.cpp4552 QualType FuncType; in convertFunctionTypeOfBlocks() local
4554 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks()
4555 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks()
4556 return FuncType; in convertFunctionTypeOfBlocks()
/external/deqp/modules/gles31/functional/
Des31fDebugTests.cpp147 enum FuncType enum in deqp::gles31::Functional::__anon0b3d5a1f0111::TestFunctionWrapper
153 FuncType m_type;