Searched refs:lib_handle (Results 1 - 2 of 2) sorted by relevance

/system/bt/hci/src/
H A Dvendor.c41 static void *lib_handle; variable
50 assert(lib_handle == NULL);
53 lib_handle = dlopen(VENDOR_LIBRARY_NAME, RTLD_NOW);
54 if (!lib_handle) {
59 lib_interface = (bt_vendor_interface_t *)dlsym(lib_handle, VENDOR_LIBRARY_SYMBOL_NAME);
77 if (lib_handle)
78 dlclose(lib_handle);
79 lib_handle = NULL;
87 if (lib_handle)
88 dlclose(lib_handle);
[all...]
/system/core/libbacktrace/
H A Dbacktrace_test.cpp1345 void* lib_handle = dlopen(tmp_so_name, RTLD_NOW); local
1346 ASSERT_TRUE(lib_handle != nullptr);
1350 test_func = reinterpret_cast<test_func_t>(dlsym(lib_handle, "test_level_one"));
1356 ASSERT_TRUE(dlclose(lib_handle) == 0);
1362 void* lib_handle = dlopen(tmp_so_name, RTLD_NOW); local
1363 ASSERT_TRUE(lib_handle != nullptr);
1367 test_func = reinterpret_cast<test_func_t>(dlsym(lib_handle, "test_level_one"));
1376 ASSERT_TRUE(dlclose(lib_handle) == 0);

Completed in 81 milliseconds