Lines Matching refs:handle
38 void* handle = reinterpret_cast<void*>(module);
39 if (handle != nullptr) {
40 return handle;
48 void* ResolveSymbol(void* handle, std::string_view symbol)
50 HMODULE module = reinterpret_cast<HMODULE>(handle);
60 void CloseHandle(void* handle)
62 if (handle != nullptr) {
63 FreeLibrary(reinterpret_cast<HMODULE>(handle));
69 void* handle = dlopen(libraryName.data(), RTLD_LAZY);
70 if (handle != nullptr) {
71 return handle;
77 void* ResolveSymbol(void* handle, std::string_view symbol)
79 void* addr = dlsym(handle, symbol.data());
87 void CloseHandle(void* handle)
89 if (handle != nullptr) {
90 dlclose(handle);