Lines Matching refs:RTLD_NOW
73 void* h = dlopen(kLibName, RTLD_NOW | RTLD_NOLOAD); in SetUp()
75 h = dlopen(kLibNameNoRelro, RTLD_NOW | RTLD_NOLOAD); in SetUp()
91 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, nullptr); in TEST_F()
101 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
115 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo); in TEST_F()
141 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo); in TEST_F()
157 handle_ = android_dlopen_ext("libname_placeholder", RTLD_NOW, &extinfo); in TEST_F()
163 handle_ = android_dlopen_ext("libname_placeholder", RTLD_NOW, &extinfo); in TEST_F()
168 handle_ = android_dlopen_ext("libname_placeholder", RTLD_NOW, &extinfo); in TEST_F()
173 handle_ = android_dlopen_ext("libname_ignored", RTLD_NOW, &extinfo); in TEST_F()
191 handle_ = android_dlopen_ext("/some/lib/that/does_not_exist", RTLD_NOW, &extinfo); in TEST_F()
200 void* handle = dlopen("libdlext_test.so", RTLD_NOW); in TEST()
205 void* handle2 = android_dlopen_ext(symlink_name.c_str(), RTLD_NOW, &extinfo); in TEST()
218 void* handle = dlopen(symlink_name.c_str(), RTLD_NOW); in TEST()
225 void* handle2 = android_dlopen_ext("libdlext_test.so", RTLD_NOW, &extinfo); in TEST()
237 ASSERT_TRUE(dlopen(nullptr, RTLD_NOW) != nullptr); in TEST()
243 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) != nullptr); in TEST()
244 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) != nullptr); in TEST()
249 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) == nullptr); in TEST()
250 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) == nullptr); in TEST()
254 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) == nullptr); in TEST()
255 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) == nullptr); in TEST()
262 void* handle = dlopen((lib_path + "!/libdir/libatest_simple_zip.so").c_str(), RTLD_NOW); in TEST()
276 void* handle = dlopen((lib_path + "!/libdir/libtest_dt_runpath_d_zip.so").c_str(), RTLD_NOW); in TEST()
301 void* handle = dlopen("libdlext_test_zip.so", RTLD_NOW); in TEST()
306 handle = dlopen("libdlext_test_zip.so", RTLD_NOW); in TEST()
330 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
354 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
365 handle_ = android_dlopen_ext(kLibNameRecursive, RTLD_NOW, &extinfo); in TEST_F()
398 handle_ = android_dlopen_ext(kLibNameRecursive, RTLD_NOW, &extinfo); in TEST_F()
409 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
426 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
465 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); in CreateRelroFile()
500 handle_ = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); in TryUsingRelro()
666 handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo_); in SpawnChildrenAndMeasurePss()
668 handle = dlopen(lib, RTLD_NOW); in SpawnChildrenAndMeasurePss()
746 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
753 handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW | RTLD_NOLOAD); in TEST()
758 handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
783 ASSERT_TRUE(dlopen(root_lib, RTLD_NOW) == nullptr); in TEST()
784 void* handle = dlopen(g_public_lib, RTLD_NOW); in TEST()
793 handle = android_dlopen_ext(lib_public_path.c_str(), RTLD_NOW, &extinfo); in TEST()
802 handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW | RTLD_NOLOAD); in TEST()
807 handle = android_dlopen_ext(lib_public_path.c_str(), RTLD_NOW, &extinfo); in TEST()
810 handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
817 handle = android_dlopen_ext(lib_public_path.c_str(), RTLD_NOW, &extinfo); in TEST()
827 handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW | RTLD_NOLOAD); in TEST()
832 handle = android_dlopen_ext(lib_public_path.c_str(), RTLD_NOW, &extinfo); in TEST()
835 handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
843 void* handle1 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
847 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
952 void* handle = android_dlopen_ext("foobar", RTLD_NOW, &extinfo); in TEST()
1000 void* handle = android_dlopen_ext("foobar", RTLD_NOW, &extinfo); in TEST()
1031 void* handle = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1080 void* handle = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1131 void* handle = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1136 handle = android_dlopen_ext(root_lib, RTLD_NOW | RTLD_NOLOAD, &extinfo); in TEST()
1143 handle = android_dlopen_ext(g_public_lib, RTLD_NOW | RTLD_NOLOAD, &extinfo); in TEST()
1181 RTLD_NOW, in TEST()
1223 void* handle = android_dlopen_ext("libtest_missing_symbol_root.so", RTLD_NOW, &extinfo); in TEST()
1251 void* handle = android_dlopen_ext("libnativehelper.so", RTLD_NOW, &extinfo); in TEST()
1263 handle = android_dlopen_ext("libnativehelper.so", RTLD_NOW, &extinfo); in TEST()
1288 void* handle = android_dlopen_ext("libnativehelper.so", RTLD_NOW, &extinfo); in TEST()
1327 void* handle = android_dlopen_ext("libthatdoesnotexist.so", RTLD_NOW, &extinfo); in TEST()
1337 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
1374 ASSERT_TRUE(dlopen(root_lib, RTLD_NOW) == nullptr); in TEST()
1382 void* handle = dlopen(lib_private_external_path.c_str(), RTLD_NOW); in TEST()
1389 void* handle1 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1394 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1402 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1411 handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1416 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1470 void* handle_public = android_dlopen_ext(lib_public_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1480 …((GetTestlibRoot() + "/private_namespace_libs/libnstest_dlopened.so").c_str(), RTLD_NOW, &extinfo); in TEST()
1507 ASSERT_TRUE(android_dlopen_ext(root_lib, RTLD_NOW, &extinfo) == nullptr); in TEST()
1515 void* handle = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1520 void* handle1 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1525 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1532 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1541 handle2 = android_dlopen_ext(root_lib_isolated, RTLD_NOW, &extinfo); in TEST()
1621 void* handle = android_dlopen_ext("libnstest_private.so", RTLD_NOW, &extinfo); in TEST()
1634 RTLD_NOW, in TEST()
1649 RTLD_NOW, in TEST()
1664 … dlopen((GetTestlibRoot() + "/private_namespace_libs/libnstest_dlopened.so").c_str(), RTLD_NOW); in TEST()
1682 void* handle = android_dlopen_ext("libnstest_dlopened.so", RTLD_NOW | RTLD_NOLOAD, &extinfo); in TEST()
1689 handle = android_dlopen_ext("libnstest_dlopened.so", RTLD_NOW | RTLD_NOLOAD, &extinfo); in TEST()
1694 RTLD_NOW | RTLD_NOLOAD, &extinfo); in TEST()
1698 handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_NOLOAD); in TEST()
1703 RTLD_NOW | RTLD_NOLOAD); in TEST()
1710 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
1714 handle = android_dlopen_ext(g_public_lib, RTLD_NOW | RTLD_NOLOAD, &extinfo); in TEST()
1773 void* handle1 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1780 handle1 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1787 handle1 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1833 void* handle = android_dlopen_ext(library_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1918 void* ns_b_handle1 = android_dlopen_ext("libnstest_ns_a_public1.so", RTLD_NOW, &extinfo); in TEST()
1922 android_dlopen_ext("libnstest_ns_a_public1_internal.so", RTLD_NOW, &extinfo); in TEST()
1925 void* ns_b_handle2 = android_dlopen_ext("libnstest_ns_b_public2.so", RTLD_NOW, &extinfo); in TEST()
1928 void* ns_b_handle3 = android_dlopen_ext("libnstest_ns_b_public3.so", RTLD_NOW, &extinfo); in TEST()
1934 void* ns_a_handle1 = android_dlopen_ext("libnstest_ns_a_public1.so", RTLD_NOW, &extinfo); in TEST()
1938 android_dlopen_ext("libnstest_ns_a_public1_internal.so", RTLD_NOW, &extinfo); in TEST()
1941 void* ns_a_handle2 = android_dlopen_ext("libnstest_ns_b_public2.so", RTLD_NOW, &extinfo); in TEST()
1944 void* ns_a_handle3 = android_dlopen_ext("libnstest_ns_b_public3.so", RTLD_NOW, &extinfo); in TEST()
1968 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
1995 void* handle = android_dlopen_ext(private_library_absolute_path.c_str(), RTLD_NOW, &extinfo); in TEST()
2094 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); in TEST()
2102 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); in TEST()