Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp27 template <class FuncType, class AllocType>
33 std::function<FuncType> f = FunctionObject(); in test_FunctionObject()
37 assert(f.template target<FuncType>() == 0); in test_FunctionObject()
38 assert(f.template target<FuncType*>() == 0); in test_FunctionObject()
40 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FunctionObject()
44 assert(f2.template target<FuncType>() == 0); in test_FunctionObject()
45 assert(f2.template target<FuncType*>() == 0); in test_FunctionObject()
51 template <class FuncType, class AllocType>
57 FuncType* target = &FreeFunction; in test_FreeFunction()
58 std::function<FuncType> f = target; in test_FreeFunction()
[all …]
Dalloc_F.pass.cpp26 template <class FuncType, class AllocType>
34 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject()
38 assert(f2.template target<FuncType>() == 0); in test_FunctionObject()
39 assert(f2.template target<FuncType*>() == 0); in test_FunctionObject()
46 template <class FuncType, class AllocType>
51 FuncType* target = &FreeFunction; in test_FreeFunction()
53 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FreeFunction()
55 assert(f2.template target<FuncType*>()); in test_FreeFunction()
56 assert(*f2.template target<FuncType*>() == target); in test_FreeFunction()
57 assert(f2.template target<FuncType>() == 0); in test_FreeFunction()
[all …]
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp221 FunctionType* FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldFunc() local
222 OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M); in CreateOldFunc()
233 DISubroutineType *FuncType = in CreateOldFunctionBodyAndDI() local
240 CU, "f", "f", File, 4, FuncType, true, true, 3, 0, false); in CreateOldFunctionBodyAndDI()
428 auto *FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldModule() local
429 auto *PersFn = Function::Create(FuncType, GlobalValue::ExternalLinkage, in CreateOldModule()
432 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.h64 template <typename FuncType>
67 TypeBuilder<FuncType, false>::get(M->getContext()), in createFunctionDecl()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h420 typedef ReturnType (*FuncType)();
422 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)());
431 typedef ReturnType (*FuncType)(ArgType1);
434 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)(
444 typedef ReturnType (*FuncType)(ArgType1, ArgType2);
448 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)(
/external/harfbuzz_ng/src/
Dhb-font.cc1554 template <typename FuncType>
1558 FuncType func;
1561 template <typename FuncType>
1562 static hb_trampoline_t<FuncType> *
1563 trampoline_create (FuncType func, in trampoline_create()
1567 typedef hb_trampoline_t<FuncType> trampoline_t; in trampoline_create()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp489 const FunctionType *FuncType = DeclCtxt->getDecl()->getFunctionType(); in checkPreStmt() local
490 if (!FuncType) in checkPreStmt()
496 getNullabilityAnnotation(FuncType->getReturnType()); in checkPreStmt()
629 const FunctionType *FuncType = Decl->getFunctionType(); in checkPostCall() local
630 if (!FuncType) in checkPostCall()
632 QualType ReturnType = FuncType->getReturnType(); in checkPostCall()
/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/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.cpp3722 QualType FuncType; in convertFunctionTypeOfBlocks() local
3726 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks()
3727 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks()
3728 return FuncType; in convertFunctionTypeOfBlocks()
DRewriteModernObjC.cpp4621 QualType FuncType; in convertFunctionTypeOfBlocks() local
4623 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks()
4624 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks()
4625 return FuncType; in convertFunctionTypeOfBlocks()
/external/deqp/modules/gles31/functional/
Des31fDebugTests.cpp144 enum FuncType enum in deqp::gles31::Functional::__anon0b3d5a1f0111::TestFunctionWrapper
150 FuncType m_type;