/third_party/lzma/CPP/Windows/ |
D | DLL.h | 9 typedef void * HMODULE; typedef 12 void *GetProcAddress(HMODULE module, LPCSTR procName); 34 HMODULE _module; 52 HMODULE Get_HMODULE() const { return _module; } in Get_HMODULE() 57 void Attach(HMODULE m) in Attach() 62 HMODULE Detach() in Detach() 64 const HMODULE m = _module; in Detach() 80 HMODULE _module; 87 HMODULE Get_HMODULE() const { return _module; }
|
D | MemoryLock.cpp | 36 const HMODULE hModule = ::LoadLibrary(TEXT("advapi32.dll")); in EnablePrivilege() 97 const HMODULE ntdll = ::GetModuleHandleW(L"ntdll.dll"); in Get_LargePages_RiskLevel()
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/curl/lib/ |
D | system_win32.c | 44 static HMODULE s_hIpHlpApiDll = NULL; 56 HMODULE ws2_32Dll; in Curl_win32_init() 178 typedef HMODULE (APIENTRY *LOADLIBRARYEX_FN)(LPCTSTR, HANDLE, DWORD); 205 HMODULE Curl_load_library(LPCTSTR filename) in Curl_load_library() 208 HMODULE hModule = NULL; in Curl_load_library() 212 HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32")); in Curl_load_library()
|
/third_party/node/deps/uv/src/win/ |
D | winapi.c | 52 HMODULE ntdll_module; in uv__winapi_init() 53 HMODULE powrprof_module; in uv__winapi_init() 54 HMODULE user32_module; in uv__winapi_init() 55 HMODULE kernel32_module; in uv__winapi_init() 56 HMODULE ws2_32_module; in uv__winapi_init()
|
/third_party/libuv/src/win/ |
D | winapi.c | 52 HMODULE ntdll_module; in uv__winapi_init() 53 HMODULE powrprof_module; in uv__winapi_init() 54 HMODULE user32_module; in uv__winapi_init() 55 HMODULE kernel32_module; in uv__winapi_init() 56 HMODULE ws2_32_module; in uv__winapi_init()
|
/third_party/node/deps/openssl/openssl/ms/ |
D | uplink.c | 36 static HMODULE volatile apphandle = NULL; in OPENSSL_Uplink() 64 apphandle = (HMODULE) - 1; in OPENSSL_Uplink() 70 if ((h = apphandle) == (HMODULE) - 1) /* revalidate */ in OPENSSL_Uplink() 78 apphandle = (HMODULE) - 1; in OPENSSL_Uplink() 84 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
|
/third_party/openssl/ms/ |
D | uplink.c | 36 static HMODULE volatile apphandle = NULL; in OPENSSL_Uplink() 64 apphandle = (HMODULE) - 1; in OPENSSL_Uplink() 70 if ((h = apphandle) == (HMODULE) - 1) /* revalidate */ in OPENSSL_Uplink() 78 apphandle = (HMODULE) - 1; in OPENSSL_Uplink() 84 apphandle = (HMODULE) - 1; in OPENSSL_Uplink()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_validator.cpp | 20 HMODULE dxil_mod; 21 HMODULE dxcompiler_mod; 34 static HMODULE 38 HMODULE mod = LoadLibraryA("DXIL.dll"); in load_dxil_mod() 70 create_dxc_validator(HMODULE dxil_mod) in create_dxc_validator() 109 get_dll_version(HMODULE mod) in get_dll_version() 148 get_filtered_validator_version(HMODULE mod, enum dxil_validator_version raw) in get_filtered_validator_version()
|
/third_party/skia/third_party/externals/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()
|
/third_party/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() 258 pub fn into_raw(self) -> HMODULE { in into_raw() argument 271 pub unsafe fn from_raw(handle: HMODULE) -> Library { in from_raw()
|
/third_party/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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/node/tools/ |
D | gen_node_def.cc | 31 RelativeAddress(HMODULE handle) noexcept in RelativeAddress() 34 RelativeAddress(HMODULE handle, uintptr_t offset) noexcept in RelativeAddress() 67 HMODULE library; 71 Library(HMODULE library) : library(library) { in Library()
|
/third_party/skia/third_party/externals/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()
|
/third_party/libsnd/tests/ |
D | win32_ordinal_test.c | 57 test_ordinal (HMODULE hmod, const char * func_name, int ordinal) in test_ordinal() 89 HMODULE hmod = NULL ; in win32_ordinal_test() 106 if ((hmod = (HMODULE) LoadLibrary (buffer)) != NULL) in win32_ordinal_test()
|
/third_party/ffmpeg/compat/ |
D | w32dlfcn.h | 31 static inline wchar_t *get_module_filename(HMODULE module) in get_module_filename() 64 static inline HMODULE win32_dlopen(const char *name) in win32_dlopen() 67 HMODULE module = NULL; in win32_dlopen()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | system_utils_win.cpp | 22 std::string GetPath(HMODULE module) in GetPath() 30 std::string GetDirectory(HMODULE module) in GetDirectory() 156 HMODULE module = nullptr; in GetModuleDirectory()
|
/third_party/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()
|
/third_party/mesa3d/src/util/ |
D | u_dl.c | 63 return (util_dl_proc)GetProcAddress((HMODULE)library, procname); in util_dl_get_proc_address() 76 FreeLibrary((HMODULE)library); in util_dl_close()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | DisplayWGL.h | 123 HMODULE mOpenGLModule; 139 HMODULE mDxgiModule; 140 HMODULE mD3d11Module;
|
D | FunctionsWGL.cpp | 19 static void GetWGLProcAddress(HMODULE glModule, in GetWGLProcAddress() 39 static void GetWGLExtensionProcAddress(HMODULE glModule, in GetWGLExtensionProcAddress() 103 void FunctionsWGL::initialize(HMODULE glModule, HDC context) in initialize()
|
/third_party/lame/ACM/ |
D | ACM.h | 63 ACM( HMODULE hModule ); 91 HMODULE my_hModule;
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | DynamicLib.cpp | 76 FreeLibrary(static_cast<HMODULE>(mHandle)); in Close() 90 proc = reinterpret_cast<void*>(GetProcAddress(static_cast<HMODULE>(mHandle), procName.c_str())); in GetProc()
|
/third_party/openh264/codec/console/dec/inc/ |
D | d3d9_utils.h | 81 HMODULE m_hDll; 111 HMODULE m_hDll;
|