Home
last modified time | relevance | path

Searched refs:FunctionPtr (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/common/detector/
DLib.h38 using FunctionPtr = void (*)(void); variable
40 FunctionPtr GetSymbol(const char* name);
DLib.cpp40 Lib::FunctionPtr Lib::GetSymbol(const char* name) { in GetSymbol()
41 return reinterpret_cast<FunctionPtr>(dlsym(lib_.get(), name)); in GetSymbol()
/hardware/google/gfxstream/utils/
DRenderDoc_unittest.cpp20 using FunctionPtr = android::base::SharedLibrary::FunctionPtr; typedef
26 MOCK_METHOD(FunctionPtr, findSymbol, (const char*), (const, override));
50 .WillRepeatedly(Return(reinterpret_cast<FunctionPtr>(fpMockRENDERDOC_GetAPI))); in TEST()
77 .WillRepeatedly(Return(reinterpret_cast<FunctionPtr>(fpMockRENDERDOC_GetAPI))); in TEST()
/hardware/google/aemu/base/include/aemu/base/
DSharedLibrary.h93 typedef void (*FunctionPtr)(void); typedef
98 virtual FunctionPtr findSymbol(const char* symbolName) const;
/hardware/google/aemu/base/
DSharedLibrary.cpp171 SharedLibrary::FunctionPtr SharedLibrary::findSymbol( in findSymbol()
176 return reinterpret_cast<FunctionPtr>( in findSymbol()
279 SharedLibrary::FunctionPtr SharedLibrary::findSymbol( in findSymbol()
284 return reinterpret_cast<FunctionPtr>(dlsym(mLib, symbolName)); in findSymbol()