Home
last modified time | relevance | path

Searched refs:HMODULE (Results 1 – 25 of 151) sorted by relevance

1234567

/external/parameter-framework/upstream/utility/windows/
DDynamicLibrary.cpp42 static_assert(sizeof(void *) == sizeof(HMODULE), "Incompatible object size"); in DynamicLibrary()
44 HMODULE module = LoadLibrary(_path.c_str()); in DynamicLibrary()
56 HMODULE module = reinterpret_cast<HMODULE>(_handle); in ~DynamicLibrary()
63 HMODULE module = reinterpret_cast<HMODULE>(_handle); in osGetSymbol()
/external/lzma/CPP/Windows/
DDLL.h23 HMODULE _module;
30 operator HMODULE() const { return _module; } in HMODULE() function
31 HMODULE* operator&() { return &_module; }
34 void Attach(HMODULE m) in Attach()
39 HMODULE Detach() in Detach()
41 HMODULE m = _module; in Detach()
DMemoryLock.cpp31 HMODULE hModule = ::LoadLibrary(TEXT("Advapi32.dll")); in EnablePrivilege()
83 HMODULE ntdll = ::GetModuleHandleW(L"ntdll.dll"); in Get_LargePages_RiskLevel()
/external/expat/lib/
Dloadlibrary.c39 HMODULE _Expat_LoadLibrary(LPCTSTR filename);
51 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD);
79 HMODULE _Expat_LoadLibrary(LPCTSTR filename) in _Expat_LoadLibrary()
81 HMODULE hModule = NULL; in _Expat_LoadLibrary()
85 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in _Expat_LoadLibrary()
/external/python/cpython3/Modules/expat/
Dloadlibrary.c39 HMODULE _Expat_LoadLibrary(LPCTSTR filename);
51 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD);
79 HMODULE _Expat_LoadLibrary(LPCTSTR filename) in _Expat_LoadLibrary()
81 HMODULE hModule = NULL; in _Expat_LoadLibrary()
85 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in _Expat_LoadLibrary()
/external/python/cpython2/Modules/expat/
Dloadlibrary.c39 HMODULE _Expat_LoadLibrary(LPCTSTR filename);
51 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD);
79 HMODULE _Expat_LoadLibrary(LPCTSTR filename) in _Expat_LoadLibrary()
81 HMODULE hModule = NULL; in _Expat_LoadLibrary()
85 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in _Expat_LoadLibrary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DDynamicLibrary.inc28 FreeLibrary(HMODULE(Handle));
49 HMODULE Handle = LoadLibraryW(FileUnicode.data());
69 FreeLibrary((HMODULE)Handle);
72 static bool GetProcessModules(HANDLE H, DWORD &Bytes, HMODULE *Data = nullptr) {
93 return (void *)uintptr_t(GetProcAddress((HMODULE)Handle, Symbol));
115 HMODULE Self = HMODULE(GetCurrentProcess());
123 std::vector<HMODULE> Handles;
125 assert(Bytes && ((Bytes % sizeof(HMODULE)) == 0) &&
127 Handles.resize(Bytes / sizeof(HMODULE));
130 } while (Bytes != (Handles.size() * sizeof(HMODULE)));
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DDynamicLibrary.inc42 static DenseSet<HMODULE> *OpenedHandles;
66 OpenedHandles->insert((HMODULE)ModuleBase);
79 OpenedHandles = new DenseSet<HMODULE>();
87 HMODULE a_handle = LoadLibrary(filename);
95 OpenedHandles = new DenseSet<HMODULE>();
129 for (DenseSet<HMODULE>::iterator I = OpenedHandles->begin(),
131 FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName);
159 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/llvm/lib/Support/Windows/
DDynamicLibrary.inc36 static DenseSet<HMODULE> *OpenedHandles;
39 HMODULE hLib = ::LoadLibraryW(L"Dbghelp.dll");
50 OpenedHandles->insert((HMODULE)ModuleBase);
61 OpenedHandles = new DenseSet<HMODULE>();
83 HMODULE a_handle = LoadLibraryW(filenameUnicode.data());
91 OpenedHandles = new DenseSet<HMODULE>();
139 for (DenseSet<HMODULE>::iterator I = OpenedHandles->begin(),
141 FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName);
179 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/google-breakpad/src/client/windows/crash_generation/
Dminidump_generator.h114 HMODULE GetDbghelpModule();
121 HMODULE GetRpcrt4Module();
131 HMODULE dbghelp_module_;
137 HMODULE rpcrt4_module_;
Dminidump_generator.cc88 HMODULE verifier_module_;
520 HMODULE MinidumpGenerator::GetDbghelpModule() { in GetDbghelpModule()
532 HMODULE module = GetDbghelpModule(); in GetWriteDump()
542 HMODULE MinidumpGenerator::GetRpcrt4Module() { in GetRpcrt4Module()
554 HMODULE module = GetRpcrt4Module(); in GetCreateUuid()
/external/swiftshader/src/System/
DSharedLibrary.hpp77 HMODULE module = NULL; in getLibraryHandle()
84 FreeLibrary((HMODULE)library); in freeLibrary()
89 return (void*)GetProcAddress((HMODULE)library, name); in getProcAddress()
96 HMODULE module = NULL; in getModuleDirectory()
/external/swiftshader/src/Common/
DSharedLibrary.hpp78 HMODULE module = NULL; in getLibraryHandle()
85 FreeLibrary((HMODULE)library); in freeLibrary()
90 return (void*)GetProcAddress((HMODULE)library, name); in getProcAddress()
/external/compiler-rt/test/asan/TestCases/Windows/
Dreport_globals_vs_freelibrary.cc25 HMODULE dll = LoadLibrary(dll_name); in main()
39 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
Dreport_globals_reload_dll.cc30 HMODULE dll = LoadLibrary(dll_name); in main()
43 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
/external/mdnsresponder/mDNSWindows/
Dloclibrary.h33 int PathForResourceW ( HMODULE module, const wchar_t *name, wchar_t *locFile, int locFileLen);
36 int PathForResourceA ( HMODULE module, const char *name, char *locFile, int locFileLen);
DPosixCompat.c29 HMODULE library; in if_nametoindex()
55 HMODULE library; in if_indextoname()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_loader.c30 HMODULE module = GetModuleHandle(_T("grpc_c.so")); in grpc_rb_load_core()
38 HMODULE grpc_c; in grpc_rb_load_core()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dl.c64 return (util_dl_proc)GetProcAddress((HMODULE)library, procname); in util_dl_get_proc_address()
77 FreeLibrary((HMODULE)library); in util_dl_close()
/external/curl/lib/
Dsystem_win32.c130 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD);
354 HMODULE Curl_load_library(LPCTSTR filename) in Curl_load_library()
356 HMODULE hModule = NULL; in Curl_load_library()
360 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library()
/external/skia/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp32 HMODULE get() const { return fModule; } in get()
35 HMODULE fModule;
/external/skqp/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp32 HMODULE get() const { return fModule; } in get()
35 HMODULE fModule;
/external/tensorflow/tensorflow/core/platform/windows/
Denv.cc62 HMODULE module = GetModuleHandleW(L"kernel32.dll"); in WindowsEnv()
137 HMODULE hModule = LoadLibraryExW(ws_file_name.c_str(), NULL, in LoadLibrary()
150 found_symbol = GetProcAddress((HMODULE)handle, symbol_name); in GetSymbolFromLibrary()
/external/swiftshader/tests/VulkanUnitTests/
Dunittests.cpp37 HMODULE libVulkan = nullptr; in SetUp()
52 EXPECT_NE((HMODULE)NULL, libVulkan); in SetUp()
/external/python/cpython2/PC/os2emx/
Ddlfcn.c50 HMODULE handle;
73 HMODULE hm; in dlopen()

1234567