Home
last modified time | relevance | path

Searched refs:libraryHandle (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/common/
Dsystem_utils_win.cpp200 std::string GetLibraryPath(void *libraryHandle) in GetLibraryPath() argument
202 if (!libraryHandle) in GetLibraryPath()
208 if (GetModuleFileNameW(reinterpret_cast<HMODULE>(libraryHandle), buffer.data(), in GetLibraryPath()
217 void *GetLibrarySymbol(void *libraryHandle, const char *symbolName) in GetLibrarySymbol() argument
219 if (!libraryHandle) in GetLibrarySymbol()
226 GetProcAddress(reinterpret_cast<HMODULE>(libraryHandle), symbolName)); in GetLibrarySymbol()
229 void CloseSystemLibrary(void *libraryHandle) in CloseSystemLibrary() argument
231 if (libraryHandle) in CloseSystemLibrary()
233 FreeLibrary(reinterpret_cast<HMODULE>(libraryHandle)); in CloseSystemLibrary()
Dsystem_utils.cpp179 void *libraryHandle = OpenSystemLibraryAndGetError(libraryName, searchType, nullptr); in OpenSharedLibrary() local
180 return new Library(libraryHandle); in OpenSharedLibrary()
185 void *libraryHandle = in OpenSharedLibraryWithExtension() local
187 return new Library(libraryHandle); in OpenSharedLibraryWithExtension()
194 void *libraryHandle = OpenSystemLibraryAndGetError(libraryName, searchType, errorOut); in OpenSharedLibraryAndGetError() local
195 return new Library(libraryHandle); in OpenSharedLibraryAndGetError()
202 void *libraryHandle = in OpenSharedLibraryWithExtensionAndGetError() local
204 return new Library(libraryHandle); in OpenSharedLibraryWithExtensionAndGetError()
Dsystem_utils_posix.cpp222 void *GetLibrarySymbol(void *libraryHandle, const char *symbolName) in GetLibrarySymbol() argument
224 if (!libraryHandle) in GetLibrarySymbol()
229 return dlsym(libraryHandle, symbolName); in GetLibrarySymbol()
232 std::string GetLibraryPath(void *libraryHandle) in GetLibraryPath() argument
234 if (!libraryHandle) in GetLibraryPath()
239 return GetModulePath(libraryHandle); in GetLibraryPath()
242 void CloseSystemLibrary(void *libraryHandle) in CloseSystemLibrary() argument
244 if (libraryHandle) in CloseSystemLibrary()
246 dlclose(libraryHandle); in CloseSystemLibrary()
Dsystem_utils.h101 void *GetLibrarySymbol(void *libraryHandle, const char *symbolName);
102 std::string GetLibraryPath(void *libraryHandle);
103 void CloseSystemLibrary(void *libraryHandle);
109 Library(void *libraryHandle) : mLibraryHandle(libraryHandle) {} in Library() argument