Home
last modified time | relevance | path

Searched refs:dlclose (Results 1 - 25 of 157) sorted by relevance

1234567

/third_party/musl/libc-test/src/functionalext/ldso_randomization/
H A Dldso_randomization_test.c52 EXPECT_EQ(__FUNCTION__, dlclose(handle), 0); in dlopen_randomization_0100()
71 dlclose(handle); in dlopen_randomization_0200()
78 dlclose(handle); in dlopen_randomization_0200()
84 dlclose(handle); in dlopen_randomization_0200()
97 dlclose(handle); in dlopen_randomization_0300()
121 dlclose(ori_handle); in dlopen_randomization_0400()
144 dlclose(handle); in dlopen_randomization_0600()
151 dlclose(handle); in dlopen_randomization_0600()
156 dlclose(handle); in dlopen_randomization_0600()
170 EXPECT_EQ(__FUNCTION__, dlclose(handl in dlopen_ext_randomization_0100()
[all...]
H A Dldso_randomization_manual.c50 * and calling dlclose to unload each time
62 dlclose(handle); in dlopen_randomization_0500()
91 dlclose(child_handle); in dlopen_randomization_0700()
99 dlclose(parent_handle); in dlopen_randomization_0700()
117 * and calling dlclose to unload each time
130 dlclose(handle); in dlopen_ext_randomization_0500()
160 dlclose(child_handle); in dlopen_ext_randomization_0700()
168 dlclose(parent_handle); in dlopen_ext_randomization_0700()
186 * and calling dlclose to unload each time
202 dlclose(handl in dlopen_ns_randomization_0500()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_dlsym_test.cpp46 dlclose(handle); in HWTEST_F()
61 dlclose(handle); in HWTEST_F()
76 dlclose(handle); in HWTEST_F()
93 dlclose(handle); in HWTEST_F()
115 dlclose(handle); in HWTEST_F()
116 dlclose(prehandle); in HWTEST_F()
137 dlclose(handle); in HWTEST_F()
138 dlclose(handle01); in HWTEST_F()
198 dlclose(handle); in HWTEST_F()
215 dlclose(handl in HWTEST_F()
[all...]
H A Dldso_dlopen_test.cpp40 dlclose(handle); in HWTEST_F()
65 dlclose(handle); in HWTEST_F()
89 dlclose(handle); in HWTEST_F()
112 dlclose(handle); in HWTEST_F()
132 dlclose(handle); in HWTEST_F()
157 dlclose(handle); in HWTEST_F()
158 dlclose(handle01); in HWTEST_F()
182 dlclose(handle01); in HWTEST_F()
183 dlclose(handle); in HWTEST_F()
198 dlclose(handl in HWTEST_F()
[all...]
H A Dldso_cfi_test.cpp81 dlclose(handle); in HWTEST_F()
82 dlclose(handle2); in HWTEST_F()
116 dlclose(handle); in HWTEST_F()
142 dlclose(handle); in HWTEST_F()
163 dlclose(handle); in HWTEST_F()
183 dlclose(handle); in HWTEST_F()
198 dlclose(handle); in HWTEST_F()
228 dlclose(handle); in HWTEST_F()
262 dlclose(handle); in HWTEST_F()
H A Dcxa_thread_atexit_test.cpp153 * @tc.desc: Test that we can't dlclose so when other threads have the corresponding destructor.
165 dlclose(handle); in HWTEST_F()
185 dlclose(handle); in TestDlcloseSo()
194 dlclose(handle); in TestDlcloseSo()
197 dlclose(handle); in TestDlcloseSo()
209 * - Test that we can't dlclose so when other threads have the corresponding destructor.
H A Dldso_dlclose_test.cpp20 * @tc.desc: Test that after dlclose, symbols in the library cannot be accessed.
33 dlclose(handle); in HWTEST_F()
66 dlclose(handle); in HWTEST_F()
87 dlclose(handle); in HWTEST_F()
121 dlclose(handle); in HWTEST_F()
H A Dldso_dlopen_ns_test.cpp52 dlclose(handle); in HWTEST_F()
86 dlclose(handle); in HWTEST_F()
112 dlclose(handle); in HWTEST_F()
168 dlclose(handle); in HWTEST_F()
H A Dldso_dladdr_test.cpp34 dlclose(handle); in HWTEST_F()
61 dlclose(handle); in HWTEST_F()
88 dlclose(handle); in HWTEST_F()
H A Dldso_dlopen_ext_test.cpp33 dlclose(handle); in HWTEST_F()
54 dlclose(handle); in HWTEST_F()
80 dlclose(handle); in HWTEST_F()
130 dlclose(handle); in HWTEST_F()
170 dlclose(handle); in HWTEST_F()
276 dlclose(handle); in UseRelro()
411 dlclose(handle); in HWTEST_F()
/third_party/musl/libc-test/src/functional/
H A Ddlopen.c24 if(dlclose(handle)) in do_dlopen()
25 t_error("dlclose %s failed : %s \n", name, dlerror()); in do_dlopen()
60 if(dlclose(handle1)) in dlopen_so_used_by_dlsym()
61 t_error("dlclose %s failed : %s \n", SO_LOAD_BY_LOCAL, dlerror()); in dlopen_so_used_by_dlsym()
74 if(dlclose(handle2)) in dlopen_so_used_by_dlsym()
75 t_error("dlclose %s failed : %s \n", SO_LOAD_BY_GLOBAL, dlerror()); in dlopen_so_used_by_dlsym()
85 if(dlclose(handle1)) in dlopen_nodelete_and_noload()
86 t_error("dlclose %s failed : %s \n", SO_FOR_NO_DELETE, dlerror()); in dlopen_nodelete_and_noload()
108 if(dlclose(handle)) in dlopen_dlclose()
109 t_error("dlclose in dlopen_dlclose()
[all...]
H A Ddlopen_ns.c20 if (dlclose(handle)) in main_dlopen_ndk_so()
21 t_error("dlclose %s failed : %s \n", ndk_so, dlerror()); in main_dlopen_ndk_so()
78 if(dlclose(handle1)) in dlopen_same_so_twice_by_same_ns()
79 t_error("dlclose %s failed : %s \n", dllName, dlerror()); in dlopen_same_so_twice_by_same_ns()
81 if(dlclose(handle2)) in dlopen_same_so_twice_by_same_ns()
82 t_error("dlclose %s failed : %s \n", dllName, dlerror()); in dlopen_same_so_twice_by_same_ns()
107 if(dlclose(handle1)) in dlopen_same_so_by_different_ns()
108 t_error("dlclose %s failed : %s \n", dllName, dlerror()); in dlopen_same_so_by_different_ns()
110 if(dlclose(handle2)) in dlopen_same_so_by_different_ns()
111 t_error("dlclose in dlopen_same_so_by_different_ns()
[all...]
H A Ddl_multithread_lock.c125 dlclose(handle); in dlopen_dlclose_test001()
141 dlclose(g_init_handler); in dlopen_dlclose_test003()
240 * @tc.desc : multithreaded dlopen/dlclose, at the end the expected so file should not be in memory.
275 * @tc.desc : multithreaded dlopen, the deconstructor should be called only at the last dlclose.
292 dlclose(g_init_handler); in dl_multithread_lock_0300()
318 dlclose(handle1); in dl_multithread_lock_0400()
319 dlclose(handle2); in dl_multithread_lock_0400()
341 dlclose(handle); in dl_multithread_lock_0500()
/third_party/musl/libc-test/src/functionalext/dlns/
H A Ddlns_inherit.c41 dlclose(handle); in dlns_inherit_0100()
45 dlclose(handle1); in dlns_inherit_0100()
64 dlclose(handle); in dlns_inherit_0200()
91 dlclose(handle); in dlns_inherit_0300()
110 dlclose(handle); in dlns_inherit_0400()
140 dlclose(handle); in dlns_inherit_0500()
144 dlclose(handle); in dlns_inherit_0500()
169 dlclose(handle); in dlns_inherit_0600()
202 dlclose(handle); in dlns_inherit_0700()
232 dlclose(handl in dlns_inherit_0800()
[all...]
H A Ddlns_dlopen.c34 dlclose(handle); in dlopen_0100()
126 dlclose(handle); in dlns_create_0300()
168 dlclose(handle); in dlopen_ns_0100()
203 dlclose(handle); in dlopen_ns_0300()
215 dlclose(handle); in dlopen_ns_0400()
230 dlclose(handle); in dlopen_ns_0500()
304 dlclose(handle); in dlopen_relocation()
318 dlclose(handle); in dlopen_hash_type()
332 dlclose(handle); in dlopen_set_rpath()
346 dlclose(handl in dlopen_fill_random()
[all...]
H A Ddlns_special_scene.c46 dlclose(handle1); in dlopen_ns_special_0100()
47 dlclose(handle2); in dlopen_ns_special_0100()
48 dlclose(handle3); in dlopen_ns_special_0100()
77 dlclose(handle1); in dlopen_ns_special_0200()
78 dlclose(handle2); in dlopen_ns_special_0200()
79 dlclose(handle3); in dlopen_ns_special_0200()
94 dlclose(handle); in dlopen_ns_sys_path_0100()
H A Ddlns_set_fun.c55 dlclose(handle); in dlns_set_namespace_lib_path_0200()
103 dlclose(handle); in dlns_set_namespace_lib_path_0500()
107 dlclose(handle1); in dlns_set_namespace_lib_path_0500()
135 dlclose(handle); in dlns_set_namespace_separated_0200()
188 dlclose(handle1); in dlns_set_namespace_permitted_paths_0200()
216 dlclose(handle1); in dlns_set_namespace_permitted_paths_0300()
259 dlclose(handle2); in dlns_set_namespace_permitted_paths_0500()
263 dlclose(handle3); in dlns_set_namespace_permitted_paths_0500()
290 dlclose(handle); in dlns_set_namespace_allowed_libs_0200()
324 dlclose(handl in dlns_set_namespace_allowed_libs_0400()
[all...]
H A Ddlns_separated.c37 dlclose(handle); in separated_0100()
69 dlclose(handle); in separated_0300()
119 dlclose(handle); in separated_0600()
159 dlclose(handle); in separated_0800()
218 dlclose(handle); in separated_1100()
238 dlclose(handle); in separated_1200()
/third_party/musl/libc-test/src/functionalext/symver/
H A Ddlvsym.c47 dlclose(handle); in dlvsym_no_symver_0100()
79 dlclose(handle); in dlvsym_no_symver_0200()
112 dlclose(handle); in dlvsym_easy_symver_0100()
145 dlclose(handle); in dlvsym_easy_symver_0200()
177 dlclose(handle); in dlvsym_easy_symver_0300()
209 dlclose(handle); in dlvsym_easy_symver_0400()
242 dlclose(handle); in dlvsym_hard_symver_0100()
275 dlclose(handle); in dlvsym_hard_symver_0200()
307 dlclose(handle); in dlvsym_hard_symver_0300()
339 dlclose(handl in dlvsym_hard_symver_0400()
[all...]
H A Ddlsym.c53 dlclose(handle); in dlsym_no_symver_0100()
85 dlclose(handle); in dlsym_no_symver_0200()
134 dlclose(handle); in dlsym_easy_symver_0200()
166 dlclose(handle); in dlsym_easy_symver_0300()
215 dlclose(handle); in dlsym_hard_symver_0200()
247 dlclose(handle); in dlsym_hard_symver_0300()
280 dlclose(handle); in dlsym_time64_no_symver_0100()
/third_party/musl/libc-test/src/functionalext/rpath/
H A Drpath_test.c34 dlclose(handle); in RapthAbsolute()
49 dlclose(handle); in RapthRelative()
65 dlclose(handle); in RapthMultiple()
90 dlclose(handleErr); in RpathNsOrigin()
96 dlclose(handle); in RpathNsOrigin()
118 dlclose(handle); in RpathNsMultiple()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/
H A Ddl_iterate_phdr.c66 dlclose(handle); in dl_iterate_phdr_0100()
73 * @tc.desc : Call dlopen twice, dlclose twice, the target so cannot find when second dlclose call.
87 dlclose(handle); in dl_iterate_phdr_0200()
91 dlclose(handle); in dl_iterate_phdr_0200()
98 * @tc.desc : Call dlopen twice, dlclose twice, so file use the same name but it is two different files.
118 dlclose(handle1); in dl_iterate_phdr_0300()
123 dlclose(handle2); in dl_iterate_phdr_0300()
141 dlclose(handle); in dl_iterate_phdr_0400()
169 dlclose(handl in dl_iterate_phdr_0500()
[all...]
/third_party/musl/libc-test/src/functionalext/ldso_cfi/
H A Dldso_cfi_check.c116 dlclose(handle); in cfi_slowpath_function_test_0002()
149 dlclose(handle); in cfi_slowpath_function_test_0003()
171 dlclose(handle); in cfi_slowpath_function_test_0004()
207 dlclose(handle); in cfi_slowpath_function_test_0005()
235 dlclose(handle); in cfi_slowpath_function_test_0006()
270 dlclose(handle); in cfi_slowpath_function_test_0007()
271 dlclose(handle2); in cfi_slowpath_function_test_0007()
287 dlclose(handle); in cfi_slowpath_function_test_0008()
333 dlclose(handle); in cfi_slowpath_diag_function_test_0001()
/third_party/musl/libc-test/src/functionalext/ldso_debug/
H A Dldso_debug_test.c46 EXPECT_EQ("ldso_debug_test_0001", dlclose(handle_lib1), 0); in ldso_debug_test_0001()
47 EXPECT_EQ("ldso_debug_test_0001", dlclose(handle_lib3), 0); in ldso_debug_test_0001()
48 EXPECT_EQ("ldso_debug_test_0001", dlclose(handle_lib2), 0); in ldso_debug_test_0001()
70 EXPECT_EQ("ldso_debug_test_0002", dlclose(handle_lib1), 0); in ldso_debug_test_0002()
/third_party/mbedtls/programs/test/
H A Ddlopen.c71 dlclose(tls_so); in main()
72 CHECK_DLERROR("dlclose", TLS_SO_FILENAME); in main()
83 dlclose(x509_so); in main()
84 CHECK_DLERROR("dlclose", X509_SO_FILENAME); in main()
99 dlclose(crypto_so); in main()
100 CHECK_DLERROR("dlclose", CRYPTO_SO_FILENAME); in main()

Completed in 11 milliseconds

1234567