Home
last modified time | relevance | path

Searched refs:FnPtr (Results 1 – 19 of 19) sorted by relevance

/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_7.pass.cpp191 template <class CallSig, CallSig* FnPtr, int Arity, class ArgCaster>
195 typedef FunctionPtrID<CallSig, FnPtr> FID; in run()
198 DerefToType<CallSig*> deref_to(FnPtr); in run()
199 DerefToType<CallSig&> deref_to_ref(*FnPtr); in run()
201 t.runTest(FnPtr); in run()
202 t.runTest(*FnPtr); in run()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp100 ExFunc FnPtr = FuncNames[ExtName]; in lookupFunction() local
101 if (FnPtr == 0) in lookupFunction()
102 FnPtr = FuncNames["lle_X_" + F->getNameStr()]; in lookupFunction()
103 if (FnPtr == 0) // Try calling a generic function... if it exists... in lookupFunction()
104 FnPtr = (ExFunc)(intptr_t) in lookupFunction()
106 if (FnPtr != 0) in lookupFunction()
107 ExportedFunctions->insert(std::make_pair(F, FnPtr)); // Cache for later in lookupFunction()
108 return FnPtr; in lookupFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp111 ExFunc FnPtr = (*FuncNames)[ExtName]; in lookupFunction() local
112 if (!FnPtr) in lookupFunction()
113 FnPtr = (*FuncNames)[("lle_X_" + F->getName()).str()]; in lookupFunction()
114 if (!FnPtr) // Try calling a generic function... if it exists... in lookupFunction()
115 FnPtr = (ExFunc)(intptr_t)sys::DynamicLibrary::SearchForAddressOfSymbol( in lookupFunction()
117 if (FnPtr) in lookupFunction()
118 ExportedFunctions->insert(std::make_pair(F, FnPtr)); // Cache for later in lookupFunction()
119 return FnPtr; in lookupFunction()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp100 ExFunc FnPtr = (*FuncNames)[ExtName]; in lookupFunction() local
101 if (!FnPtr) in lookupFunction()
102 FnPtr = (*FuncNames)[("lle_X_" + F->getName()).str()]; in lookupFunction()
103 if (!FnPtr) // Try calling a generic function... if it exists... in lookupFunction()
104 FnPtr = (ExFunc)(intptr_t)sys::DynamicLibrary::SearchForAddressOfSymbol( in lookupFunction()
106 if (FnPtr) in lookupFunction()
107 ExportedFunctions->insert(std::make_pair(F, FnPtr)); // Cache for later in lookupFunction()
108 return FnPtr; in lookupFunction()
/external/llvm/lib/Fuzzer/
DFuzzerExtFunctionsWeak.cpp32 static void CheckFnPtr(void *FnPtr, const char *FnName, bool WarnIfMissing) { in CheckFnPtr() argument
33 if (FnPtr == nullptr && WarnIfMissing) { in CheckFnPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSignals.cpp74 static void insertSignalHandler(sys::SignalHandlerCallback FnPtr, in insertSignalHandler() argument
82 SetMe.Callback = FnPtr; in insertSignalHandler()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSignals.h44 void AddSignalHandler(void (*FnPtr)(void *), void *Cookie);
/external/llvm/include/llvm/Support/
DSignals.h62 void AddSignalHandler(void (*FnPtr)(void *), void *Cookie);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSignals.h62 void AddSignalHandler(void (*FnPtr)(void *), void *Cookie);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSignals.h64 void AddSignalHandler(SignalHandlerCallback FnPtr, void *Cookie);
/external/clang/test/SemaCXX/
Dcxx98-compat-pedantic.cpp29 void (*FnPtr)() = (void(*)())dlsym(); // expected-warning {{cast between pointer-to-function and po… variable
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DSignals.inc200 void llvm::sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
201 CallBacksToRun.push_back(std::make_pair(FnPtr, Cookie));
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DSignals.inc309 void sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
312 CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc296 void llvm::sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
297 CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
/external/llvm/lib/Support/Unix/
DSignals.inc296 void llvm::sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
297 CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DSignals.inc383 void llvm::sys::AddSignalHandler(sys::SignalHandlerCallback FnPtr,
385 insertSignalHandler(FnPtr, Cookie);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DSignals.inc564 void llvm::sys::AddSignalHandler(sys::SignalHandlerCallback FnPtr,
566 insertSignalHandler(FnPtr, Cookie);
/external/llvm/lib/Support/Windows/
DSignals.inc551 void llvm::sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
552 CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc552 void llvm::sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
553 CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));