/external/parameter-framework/upstream/utility/windows/ |
D | DynamicLibrary.cpp | 42 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/ |
D | DLL.h | 23 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/ |
D | loadlibrary.c | 39 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/ |
D | win32_stack_frame_unwinder.h | 31 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;
|
D | win32_stack_frame_unwinder.cc | 18 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/ |
D | DynamicLibrary.inc | 27 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/ |
D | DynamicLibrary.inc | 27 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/ |
D | system_win32.c | 41 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/ |
D | DynamicLibrary.inc | 36 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/ |
D | minidump_generator.h | 114 HMODULE GetDbghelpModule(); 121 HMODULE GetRpcrt4Module(); 131 HMODULE dbghelp_module_; 137 HMODULE rpcrt4_module_;
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/ |
D | rtlallocateheap_dll_unload_double_free.cpp | 18 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() 41 HMODULE lib = LoadLibraryA(argv[1]); in main() 59 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
D | rtlallocateheap_dll_unload_realloc.cpp | 19 HMODULE NtDllHandle = GetModuleHandle("ntdll.dll"); in main() 49 HMODULE lib = LoadLibraryA(argv[1]); in main() 63 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
D | report_globals_vs_freelibrary.cpp | 25 HMODULE dll = LoadLibrary(dll_name); in main() 39 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
D | report_globals_reload_dll.cpp | 30 HMODULE dll = LoadLibrary(dll_name); in main() 43 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
D | heapalloc_dll_unload_realloc_uaf.cpp | 18 HMODULE lib = LoadLibraryA(argv[1]); in main() 27 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
/external/skia/src/gpu/gl/win/ |
D | GrGLMakeNativeInterface_win.cpp | 34 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/ |
D | Driver.cpp | 59 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/ |
D | mod.rs | 7 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/ |
D | SharedLibrary.hpp | 78 HMODULE module = NULL; in getLibraryHandle() 85 FreeLibrary((HMODULE)library); in freeLibrary() 90 return (void*)GetProcAddress((HMODULE)library, name); in getProcAddress()
|
/external/swiftshader/src/System/ |
D | SharedLibrary.hpp | 77 HMODULE module = NULL; in getLibraryHandle() 84 FreeLibrary((HMODULE)library); in freeLibrary() 89 return (void *)GetProcAddress((HMODULE)library, name); in getProcAddress()
|
/external/skia/src/ports/ |
D | SkOSLibrary_win.cpp | 18 return reinterpret_cast<void*>(::GetProcAddress((HMODULE)library, functionName)); in SkGetProcedureAddress() 22 return FreeLibrary((HMODULE)library); in SkFreeDynamicLibrary()
|
/external/angle/src/common/ |
D | system_utils_win.cpp | 22 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/ |
D | report_globals_vs_freelibrary.cc | 25 HMODULE dll = LoadLibrary(dll_name); in main() 39 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
D | report_globals_reload_dll.cc | 30 HMODULE dll = LoadLibrary(dll_name); in main() 43 BOOL WINAPI DllMain(HMODULE, DWORD reason, LPVOID) {
|
/external/mdnsresponder/mDNSWindows/ |
D | loclibrary.h | 33 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);
|