Home
last modified time | relevance | path

Searched refs:mModule (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/common/
Dsystem_utils_win32.cpp50 mModule = LoadLibraryA(moduleRelativePath.c_str()); in Win32Library()
55 mModule = LoadLibraryExA(libraryName, nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32); in Win32Library()
58 mModule = GetModuleHandleA(libraryName); in Win32Library()
65 if (mModule) in ~Win32Library()
67 FreeLibrary(mModule); in ~Win32Library()
73 if (!mModule) in getSymbol()
79 return reinterpret_cast<void *>(GetProcAddress(mModule, symbolName)); in getSymbol()
82 void *getNative() const override { return reinterpret_cast<void *>(mModule); } in getNative()
86 if (!mModule) in getPath()
92 if (GetModuleFileNameA(mModule, buffer.data(), buffer.size()) == 0) in getPath()
[all …]
Dsystem_utils_winuwp.cpp44 mModule = LoadPackagedLibrary(wideBuffer.c_str(), 0); in UwpLibrary()
55 if (mModule) in ~UwpLibrary()
57 FreeLibrary(mModule); in ~UwpLibrary()
63 if (!mModule) in getSymbol()
68 return reinterpret_cast<void *>(GetProcAddress(mModule, symbolName)); in getSymbol()
71 void *getNative() const override { return reinterpret_cast<void *>(mModule); } in getNative()
75 if (!mModule) in getPath()
81 if (GetModuleFileNameA(mModule, buffer.data(), buffer.size()) == 0) in getPath()
90 HMODULE mModule = nullptr; member in angle::UwpLibrary
Dsystem_utils_posix.cpp97 : mModule(dlopen(fullPath.c_str(), RTLD_NOW | extraFlags)) in PosixLibrary()
102 if (mModule) in ~PosixLibrary()
104 dlclose(mModule); in ~PosixLibrary()
110 if (!mModule) in getSymbol()
115 return dlsym(mModule, symbolName); in getSymbol()
118 void *getNative() const override { return mModule; } in getNative()
122 if (!mModule) in getPath()
127 return GetModulePath(mModule); in getPath()
131 void *mModule = nullptr; member in angle::PosixLibrary