/external/valgrind/perf/ |
many-xpts.c | 4 #define Fn(N, Np1) \ 18 Fn(17, 999) 19 Fn(16, 17) 20 Fn(15, 16) 21 Fn(14, 15) 22 Fn(13, 14) 23 Fn(12, 13) 24 Fn(11, 12) 25 Fn(10, 11) 26 Fn( 9, 10 [all...] |
/external/clang/test/CodeGen/ |
cfi-icall-cross-dso.c | 55 typedef void (*Fn)(void); 56 Fn g1() { 59 Fn h1() {
|
/external/skia/src/pdf/ |
SkScopeExit.h | 26 template <typename Fn> 29 SkScopeExit(Fn f) : fFn(std::move(f)) {} 33 Fn fFn; 41 template <typename Fn> 42 inline SkScopeExit<Fn> SkMakeScopeExit(Fn&& fn) { 43 return {std::move(fn)};
|
/external/libcxx/test/std/utilities/meta/meta.rel/ |
is_nothrow_callable.pass.cpp | 40 template <class Fn> 42 return std::is_callable<Fn>::value && 43 !std::is_nothrow_callable<Fn>::value; 46 template <class Fn, class Ret> 48 return std::is_callable<Fn, Ret>::value && 49 !std::is_nothrow_callable<Fn, Ret>::value; 79 using Fn = CallObject<true, int>; 80 static_assert(std::is_nothrow_callable<Fn(), Implicit>::value, ""); 81 static_assert(std::is_nothrow_callable<Fn(), double>::value, ""); 82 static_assert(std::is_nothrow_callable<Fn(), const volatile void>::value, "") [all...] |
is_callable.pass.cpp | 44 using Fn = int(Tag::*)(int); 49 static_assert(std::is_callable<Fn(Tag&, int)>::value, ""); 50 static_assert(std::is_callable<Fn(DerFromTag&, int)>::value, ""); 53 static_assert(!std::is_callable<Fn(Tag&)>::value, ""); 54 static_assert(!std::is_callable<Fn(Tag const&, int)>::value, ""); 61 static_assert(std::is_callable<Fn(T&, int)>::value, ""); 62 static_assert(std::is_callable<Fn(DT&, int)>::value, ""); 63 static_assert(std::is_callable<Fn(const T&, int)>::value, ""); 64 static_assert(std::is_callable<Fn(T&&, int)>::value, ""); 65 static_assert(!std::is_callable<Fn(CT&, int)>::value, "") [all...] |
/external/llvm/bindings/ocaml/analysis/ |
analysis_ocaml.c | 46 CAMLprim value llvm_verify_function(LLVMValueRef Fn) { 47 return Val_bool(LLVMVerifyFunction(Fn, LLVMReturnStatusAction) == 0); 57 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) { 58 LLVMVerifyFunction(Fn, LLVMAbortProcessAction); 63 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) { 64 LLVMViewFunctionCFG(Fn); 69 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) { 70 LLVMViewFunctionCFGOnly(Fn);
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/analysis/ |
analysis_ocaml.c | 46 CAMLprim value llvm_verify_function(LLVMValueRef Fn) { 47 return Val_bool(LLVMVerifyFunction(Fn, LLVMReturnStatusAction) == 0); 57 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) { 58 LLVMVerifyFunction(Fn, LLVMAbortProcessAction); 63 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) { 64 LLVMViewFunctionCFG(Fn); 69 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) { 70 LLVMViewFunctionCFGOnly(Fn);
|
/external/llvm/include/llvm-c/ |
Analysis.h | 50 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); 54 void LLVMViewFunctionCFG(LLVMValueRef Fn); 55 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
Analysis.h | 44 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); 48 void LLVMViewFunctionCFG(LLVMValueRef Fn); 49 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
|
/external/libcxx/test/std/utilities/function.objects/func.invoke/ |
invoke.pass.cpp | 221 typedef TestClass Fn; 222 Fn cl(42); 224 test_b34<int const&>(static_cast<Fn const&>(cl)); 225 test_b34<int volatile&>(static_cast<Fn volatile&>(cl)); 226 test_b34<int const volatile&>(static_cast<Fn const volatile &>(cl)); 228 test_b34<int&&>(static_cast<Fn &&>(cl)); 229 test_b34<int const&&>(static_cast<Fn const&&>(cl)); 230 test_b34<int volatile&&>(static_cast<Fn volatile&&>(cl)); 231 test_b34<int const volatile&&>(static_cast<Fn const volatile&&>(cl)); 234 typedef DerivedFromTestClass Fn; 285 FooType& fn = foo; local 289 FooType* fn = foo; local [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.invoke/ |
invoke.pass.cpp | 221 typedef TestClass Fn; 222 Fn cl(42); 224 test_b34<int const&>(static_cast<Fn const&>(cl)); 225 test_b34<int volatile&>(static_cast<Fn volatile&>(cl)); 226 test_b34<int const volatile&>(static_cast<Fn const volatile &>(cl)); 228 test_b34<int&&>(static_cast<Fn &&>(cl)); 229 test_b34<int const&&>(static_cast<Fn const&&>(cl)); 230 test_b34<int volatile&&>(static_cast<Fn volatile&&>(cl)); 231 test_b34<int const volatile&&>(static_cast<Fn const volatile&&>(cl)); 234 typedef DerivedFromTestClass Fn; 285 FooType& fn = foo; local 289 FooType* fn = foo; local [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue18392.go | 10 Fn(A.Fn) // ERROR "type A has no method A.Fn"
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue18392.go | 10 Fn(A.Fn) // ERROR "type A has no method A.Fn"
|
/external/llvm/lib/CodeGen/ |
PostRAHazardRecognizer.cpp | 57 bool runOnMachineFunction(MachineFunction &Fn) override; 69 bool PostRAHazardRecognizer::runOnMachineFunction(MachineFunction &Fn) { 70 const TargetInstrInfo *TII = Fn.getSubtarget().getInstrInfo(); 72 TII->CreateTargetPostRAHazardRecognizer(Fn)); 79 for (auto &MBB : Fn) {
|
PrologEpilogInserter.cpp | 90 bool runOnMachineFunction(MachineFunction &Fn) override; 120 void calculateCallFrameInfo(MachineFunction &Fn); 121 void calculateSaveRestoreBlocks(MachineFunction &Fn); 123 void calculateFrameObjectOffsets(MachineFunction &Fn); 124 void replaceFrameIndices(MachineFunction &Fn); 125 void replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &Fn, 127 void insertPrologEpilogCode(MachineFunction &Fn); 172 bool PEI::runOnMachineFunction(MachineFunction &Fn) { 173 const Function* F = Fn.getFunction(); 174 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo() [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
AlphaBranchSelector.cpp | 27 virtual bool runOnMachineFunction(MachineFunction &Fn); 43 bool AlphaBSel::runOnMachineFunction(MachineFunction &Fn) { 45 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E; 58 const TargetInstrInfo *TII = Fn.getTarget().getInstrInfo();
|
/external/llvm/lib/Fuzzer/ |
FuzzerExtFunctionsDlsym.cpp | 25 void *Fn = dlsym(RTLD_DEFAULT, FnName); 26 if (Fn == nullptr) { 35 return reinterpret_cast<T>(Fn);
|
/external/llvm/lib/Target/Mips/ |
MipsCCState.h | 74 CCAssignFn Fn, 78 CCState::AnalyzeCallOperands(Outs, Fn); 88 CCAssignFn Fn) = delete; 91 CCAssignFn Fn) = delete; 94 CCAssignFn Fn) { 96 CCState::AnalyzeFormalArguments(Ins, Fn); 102 CCAssignFn Fn, 105 CCState::AnalyzeCallResult(Ins, Fn); 111 CCAssignFn Fn) { 113 CCState::AnalyzeReturn(Outs, Fn); [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
PrologEpilogInserter.h | 52 bool runOnMachineFunction(MachineFunction &Fn); 114 bool calculateSets(MachineFunction &Fn); 117 void calculateAnticAvail(MachineFunction &Fn); 127 void placeSpillsAndRestores(MachineFunction &Fn); 128 void placeCSRSpillsAndRestores(MachineFunction &Fn); 129 void calculateCallsInformation(MachineFunction &Fn); 130 void calculateCalleeSavedRegisters(MachineFunction &Fn); 131 void insertCSRSpillsAndRestores(MachineFunction &Fn); 132 void calculateFrameObjectOffsets(MachineFunction &Fn); 133 void replaceFrameIndices(MachineFunction &Fn); [all...] |
/external/clang/test/SemaCXX/ |
unaddressable-functions.cpp | 53 template <typename Fn, typename... Args> void call(Fn F, Args... As) { 61 call(qux, 0); // expected-error{{no matching function for call to 'call'}} expected-note@53{{candidate template ignored: couldn't infer template argument 'Fn'}} 69 template <typename Fn, typename T, typename... Args> 70 void callMem(Fn F, T t, Args... As) { 93 template <typename Fn, typename... Args> auto call(Fn F, Args... As) { 98 auto Fail = call(&foo); // expected-error{{no matching function for call to 'call'}} expected-note@-5{{candidate template ignored: couldn't infer template argument 'Fn'}} 114 FnTy Fn; 115 (void)(Fn == bothEnableIf) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/ |
PassManagerBuilder.h | 104 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn); 105 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn); 128 PassManagerBuilder::ExtensionFn Fn) { 129 PassManagerBuilder::addGlobalExtension(Ty, Fn);
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/ |
p1.cpp | 12 typedef void Fn(); 13 Fn ar4[10]; // expected-error {{array of functions}} 15 struct Abstract { virtual void fn() = 0; }; // expected-note {{pure virtual}}
|
/external/llvm/lib/Support/ |
Threading.cpp | 45 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, 47 ThreadInfo Info = { Fn, UserData }; 92 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, 94 struct ThreadInfo param = { Fn, UserData }; 112 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData, 115 Fn(UserData);
|
/external/libcxx/test/std/utilities/variant/variant.visit/ |
visit.pass.cpp | 87 using Fn = ForwardingCallObject; 88 Fn obj{}; 89 const Fn &cobj = obj; 94 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); 96 assert(Fn::check_call<int &>(CT_Const | CT_LValue)); 98 assert(Fn::check_call<int &>(CT_NonConst | CT_RValue)); 100 assert(Fn::check_call<int &>(CT_Const | CT_RValue)); 106 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); 108 assert(Fn::check_call<long &>(CT_Const | CT_LValue)); 110 assert(Fn::check_call<long &>(CT_NonConst | CT_RValue)) [all...] |
/external/llvm/include/llvm/Support/ |
TargetRegistry.h | 503 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn 506 return Fn(Triple(TT), Ctx); 526 MCSymbolizerCtorTy Fn = 528 return Fn(Triple(TT), GetOpInfo, SymbolLookUp, DisInfo, Ctx, 636 /// @param Fn - A function to construct a MCAsmInfo for the target. 637 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { 638 T.MCAsmInfoCtorFn = Fn; 642 Target::MCAdjustCodeGenOptsFnTy Fn) { 643 T.MCAdjustCodeGenOptsFn = Fn; 654 /// @param Fn - A function to construct a MCInstrInfo for the target [all...] |