Home
last modified time | relevance | path

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

123456789

/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()
/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/libchrome/base/profiler/
Dwin32_stack_frame_unwinder.h31 using Handle = HMODULE;
33 static bool BASE_EXPORT CloseHandle(HMODULE handle);
34 static bool BASE_EXPORT IsHandleValid(HMODULE handle);
35 static HMODULE BASE_EXPORT NullHandle();
37 BASE_EXPORT static const HMODULE kNonNullModuleForTesting;
Dwin32_stack_frame_unwinder.cc18 const HMODULE ModuleHandleTraits::kNonNullModuleForTesting =
19 reinterpret_cast<HMODULE>(static_cast<uintptr_t>(-1));
22 bool ModuleHandleTraits::CloseHandle(HMODULE handle) { in CloseHandle()
30 bool ModuleHandleTraits::IsHandleValid(HMODULE handle) { in IsHandleValid()
35 HMODULE ModuleHandleTraits::NullHandle() { in NullHandle()
95 HMODULE module_handle = nullptr; in GetModuleForProgramCounter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DDynamicLibrary.inc27 FreeLibrary(HMODULE(Handle));
48 HMODULE Handle = LoadLibraryW(FileUnicode.data());
68 FreeLibrary((HMODULE)Handle);
71 static bool GetProcessModules(HANDLE H, DWORD &Bytes, HMODULE *Data = nullptr) {
92 return (void *)uintptr_t(GetProcAddress((HMODULE)Handle, Symbol));
114 HMODULE Self = HMODULE(GetCurrentProcess());
122 std::vector<HMODULE> Handles;
124 assert(Bytes && ((Bytes % sizeof(HMODULE)) == 0) &&
126 Handles.resize(Bytes / sizeof(HMODULE));
129 } while (Bytes != (Handles.size() * sizeof(HMODULE)));
[all …]
/external/llvm-project/llvm/lib/Support/Windows/
DDynamicLibrary.inc27 FreeLibrary(HMODULE(Handle));
48 HMODULE Handle = LoadLibraryW(FileUnicode.data());
68 FreeLibrary((HMODULE)Handle);
71 static bool GetProcessModules(HANDLE H, DWORD &Bytes, HMODULE *Data = nullptr) {
92 return (void *)uintptr_t(GetProcAddress((HMODULE)Handle, Symbol));
114 HMODULE Self = HMODULE(GetCurrentProcess());
122 std::vector<HMODULE> Handles;
124 assert(Bytes && ((Bytes % sizeof(HMODULE)) == 0) &&
126 Handles.resize(Bytes / sizeof(HMODULE));
129 } while (Bytes != (Handles.size() * sizeof(HMODULE)));
[all …]
/external/curl/lib/
Dsystem_win32.c41 static HMODULE s_hIpHlpApiDll = NULL;
145 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD);
172 HMODULE Curl_load_library(LPCTSTR filename) in Curl_load_library()
175 HMODULE hModule = NULL; in Curl_load_library()
179 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library()
/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_;
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Drtlallocateheap_dll_unload_double_free.cpp18 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main()
41 HMODULE lib = LoadLibraryA(argv[1]); in main()
59 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
Drtlallocateheap_dll_unload_realloc.cpp19 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main()
49 HMODULE lib = LoadLibraryA(argv[1]); in main()
63 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
Dreport_globals_vs_freelibrary.cpp25 HMODULE dll = LoadLibrary(dll_name); in main()
39 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
Dreport_globals_reload_dll.cpp30 HMODULE dll = LoadLibrary(dll_name); in main()
43 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
Dheapalloc_dll_unload_realloc_uaf.cpp18 HMODULE lib = LoadLibraryA(argv[1]); in main()
27 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
/external/skia/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp34 struct FreeModule { void operator()(HMODULE m) { (void)FreeLibrary(m); } }; in GrGLMakeNativeInterface()
35 std::unique_ptr<typename std::remove_pointer<HMODULE>::type, FreeModule> module( in GrGLMakeNativeInterface()
42 if (GrGLFuncPtr p = (GrGLFuncPtr)GetProcAddress((HMODULE)ctx, name)) { in GrGLMakeNativeInterface()
/external/swiftshader/tests/VulkanUnitTests/
DDriver.cpp59 HMODULE libvulkan = LoadLibraryA("swiftshader\\libvulkan.dll"); in loadSwiftShader()
60 EXPECT_NE((HMODULE)NULL, libvulkan); in loadSwiftShader()
151 FreeLibrary((HMODULE)dll); in unload()
197 return GetProcAddress((HMODULE)dll, name); in lookup()
/external/rust/crates/libloading/src/os/windows/
Dmod.rs7 pub(super) enum HMODULE {} enum
29 pub(super) use self::winapi::shared::minwindef::{WORD, DWORD, HMODULE, FARPROC};
59 pub struct Library(HMODULE);
119 let mut handle: HMODULE = std::ptr::null_mut(); in this()
152 let mut handle: HMODULE = std::ptr::null_mut(); in open_already_loaded()
260 pub fn into_raw(self) -> HMODULE { in into_raw() argument
273 pub unsafe fn from_raw(handle: HMODULE) -> Library { in from_raw()
/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/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()
/external/skia/src/ports/
DSkOSLibrary_win.cpp18 return reinterpret_cast<void*>(::GetProcAddress((HMODULE)library, functionName)); in SkGetProcedureAddress()
22 return FreeLibrary((HMODULE)library); in SkFreeDynamicLibrary()
/external/angle/src/common/
Dsystem_utils_win.cpp22 std::string GetPath(HMODULE module) in GetPath()
30 std::string GetDirectory(HMODULE module) in GetDirectory()
125 HMODULE module = nullptr; in GetModuleDirectory()
/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);

123456789