Home
last modified time | relevance | path

Searched refs:lib_handle (Results 1 – 5 of 5) sorted by relevance

/third_party/vulkan-loader/tests/framework/
Dtest_util.h260 loader_platform_dl_handle lib_handle = LoadLibraryW(lib_path_utf16.c_str()); in loader_platform_open_library() local
261 if (lib_handle == nullptr && GetLastError() == ERROR_MOD_NOT_FOUND) { in loader_platform_open_library()
263 lib_handle = in loader_platform_open_library()
266 return lib_handle; in loader_platform_open_library()
318 lib_handle = loader_platform_open_library(lib_path.c_str()); in LibraryWrapper()
319 if (lib_handle == nullptr) { in LibraryWrapper()
322 assert(lib_handle != nullptr && "Must be able to open library"); in LibraryWrapper()
326 if (lib_handle != nullptr) { in ~LibraryWrapper()
327 loader_platform_close_library(lib_handle); in ~LibraryWrapper()
328 lib_handle = nullptr; in ~LibraryWrapper()
[all …]
/third_party/musl/porting/linux/user/src/network/
Dresolvconf.c65 void *lib_handle = open_dns_lib(); in load_from_dns_lib() local
66 if (lib_handle == NULL) { in load_from_dns_lib()
70 void *sym_addr = dlsym(lib_handle, symbol); in load_from_dns_lib()
/third_party/vulkan-loader/loader/
Dvk_loader_platform.h478 loader_platform_dl_handle lib_handle = LoadLibraryW(lib_path_utf16); in loader_platform_open_library() local
479 if (lib_handle == NULL && GetLastError() == ERROR_MOD_NOT_FOUND) { in loader_platform_open_library()
481lib_handle = LoadLibraryExW(lib_path_utf16, NULL, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_… in loader_platform_open_library()
483 return lib_handle; in loader_platform_open_library()
Dloader.c3985 if ((prop->lib_handle = loader_platform_open_library(prop->lib_name)) == NULL) { in loader_open_layer_file()
3992 return prop->lib_handle; in loader_open_layer_file()
3996 if (prop->lib_handle) { in loader_close_layer_file()
3997 loader_platform_close_library(prop->lib_handle); in loader_close_layer_file()
3999 prop->lib_handle = NULL; in loader_close_layer_file()
4370 loader_platform_dl_handle lib_handle; in loader_create_instance_chain() local
4377 lib_handle = loader_open_layer_file(inst, layer_prop); in loader_create_instance_chain()
4378 if (!lib_handle) { in loader_create_instance_chain()
4387 lib_handle, "vkNegotiateLoaderLayerInterfaceVersion"); in loader_create_instance_chain()
4390 lib_handle, layer_prop->functions.str_negotiate_interface); in loader_create_instance_chain()
[all …]
Dloader_common.h140 loader_platform_dl_handle lib_handle; member