Searched refs:lib_handle (Results 1 – 2 of 2) sorted by relevance
41 static void *lib_handle; variable50 assert(lib_handle == NULL); in vendor_open()53 lib_handle = dlopen(VENDOR_LIBRARY_NAME, RTLD_NOW); in vendor_open()54 if (!lib_handle) { in vendor_open()59 lib_interface = (bt_vendor_interface_t *)dlsym(lib_handle, VENDOR_LIBRARY_SYMBOL_NAME); in vendor_open()77 if (lib_handle) in vendor_open()78 dlclose(lib_handle); in vendor_open()79 lib_handle = NULL; in vendor_open()87 if (lib_handle) in vendor_close()88 dlclose(lib_handle); in vendor_close()[all …]
1345 void* lib_handle = dlopen(tmp_so_name, RTLD_NOW); in TEST() local1346 ASSERT_TRUE(lib_handle != nullptr); in TEST()1350 test_func = reinterpret_cast<test_func_t>(dlsym(lib_handle, "test_level_one")); in TEST()1356 ASSERT_TRUE(dlclose(lib_handle) == 0); in TEST()1362 void* lib_handle = dlopen(tmp_so_name, RTLD_NOW); in TEST() local1363 ASSERT_TRUE(lib_handle != nullptr); in TEST()1367 test_func = reinterpret_cast<test_func_t>(dlsym(lib_handle, "test_level_one")); in TEST()1376 ASSERT_TRUE(dlclose(lib_handle) == 0); in TEST()