• Home
  • Raw
  • Download

Lines Matching refs:dllName

7 const char* dllName = "libdlopen_ns_dso.so";  variable
17 t_error("dlopen_by_path handle get error %s open failed: %s\n", dllName, dlerror()); in test_open_by_path()
20 t_error("dlclose_by_path handle %s close failed : %s \n", dllName, dlerror()); in test_open_by_path()
29 void* handle = dlopen_ns(&dlns, dllName, RTLD_LAZY); in test_open_by_ini_name()
33 t_error("dlopen_ns_by_ini_name handle get error %s open failed: %s\n", dllName, dlerror()); in test_open_by_ini_name()
36 t_error("dlclose_by_ini_name handle %s close failed : %s \n", dllName, dlerror()); in test_open_by_ini_name()
46 dlns_inherit(&dlns1, &dlns2 , dllName); in test_open_by_ini_api()
48 void* handle = dlopen_ns(&dlns1, dllName, RTLD_LAZY); in test_open_by_ini_api()
50 t_error("dlopen_ns_by_ini_api handle get error %s open failed: %s\n", dllName, dlerror()); in test_open_by_ini_api()
53 t_error("dlclose_by_ini_api handle %s close failed : %s \n", dllName, dlerror()); in test_open_by_ini_api()
65 void* handle1 = dlopen_ns(&dlns1, dllName, RTLD_LAZY); in test_open_by_sameso_in_diff_ns()
67 …t_error("dlopen_ns_by_sameso_diff_ns handle1 get error %s open failed : %s \n", dllName, dlerror()… in test_open_by_sameso_in_diff_ns()
69 void* handle2 = dlopen_ns(&dlns2, dllName, RTLD_LAZY); in test_open_by_sameso_in_diff_ns()
71 …t_error("dlopen_ns_by_sameso_diff_ns handle2 get error %s open failed : %s \n", dllName, dlerror()… in test_open_by_sameso_in_diff_ns()
74 t_error("dlclose_by_sameso_diff_ns handle1 %s close failed : %s \n", dllName, dlerror()); in test_open_by_sameso_in_diff_ns()
76 t_error("dlclose_by_sameso_diff_ns handle2 %s close failed : %s \n", dllName, dlerror()); in test_open_by_sameso_in_diff_ns()
84 void* handle1 = dlopen_ns(&dlns, dllName, RTLD_LAZY); in test_open_by_ini_mtso_ns()
86 … t_error("dlopen_ns_by_ini_mtso_ns handle1 get error %s open failed : %s \n" , dllName, dlerror()); in test_open_by_ini_mtso_ns()
88 void* handle2 = dlopen_ns(&dlns, dllName, RTLD_LAZY); in test_open_by_ini_mtso_ns()
90 … t_error("dlopen_ns_by_ini_mtso_ns handle2 get error %s open failed : %s \n" , dllName, dlerror()); in test_open_by_ini_mtso_ns()
93 t_error("dlclose_by_ini_mtso_ns handle1 %s close failed : %s \n" , dllName, dlerror()); in test_open_by_ini_mtso_ns()
95 t_error("dlclose_by_ini_mtso_ns handle2 %s close failed : %s \n" , dllName, dlerror()); in test_open_by_ini_mtso_ns()
112 …t_error("dlopen_ns_by_ini_separated handle_ns2 get error %s open failed : %s \n", dllName, dlerror… in test_open_ini_separated()
116 … t_error("dlopen_ns_by_ini_separated handle_ns3 %s should not open successfully \n", dllName); in test_open_ini_separated()
121 … t_error("dlclose_by_inherit_transitivity handle_ns2 %s close failed : %s\n", dllName, dlerror()); in test_open_ini_separated()
125 … t_error("dlopen_ns_by_ini_separated handle_ns4 %s should not open successfully \n", dllName); in test_open_ini_separated()
141 void* handle_ns5 = dlopen_ns(&dlns5, dllName, RTLD_LAZY); in test_open_ini_by_falseseparated()
143 …open_ns_by_ini_by_falseseparated handle_ns5 get error %s open failed : %s \n", dllName, dlerror()); in test_open_ini_by_falseseparated()
145 void* handle_ns6 = dlopen_ns(&dlns6, dllName, RTLD_LAZY); in test_open_ini_by_falseseparated()
147 … t_error("dlopen_ns_by_ini_separated handle_ns6 %s should not open successfully \n", dllName); in test_open_ini_by_falseseparated()
152 …t_error("dlclose_by_ini_by_falseseparated handle_ns5 %s close failed : %s\n", dllName, dlerror()); in test_open_ini_by_falseseparated()
168 dlns_inherit(&transitivity_B, &transitivity_C, dllName); in test_open_by_inherit_transitivity()
171 void* handleA = dlopen_ns(&transitivity_A, dllName, RTLD_LAZY); in test_open_by_inherit_transitivity()
173 … t_error("dlopen_ns_by_inherit_transitivity handleA %s should not open successfully \n", dllName); in test_open_by_inherit_transitivity()
177 void* handleB = dlopen_ns(&transitivity_B, dllName, RTLD_LAZY); in test_open_by_inherit_transitivity()
179 …("dlopen_ns_by_inherit_transitivity handleB get error %s open failed : %s \n", dllName, dlerror()); in test_open_by_inherit_transitivity()
181 void* handleC = dlopen_ns(&transitivity_C, dllName, RTLD_LAZY); in test_open_by_inherit_transitivity()
183 …("dlopen_ns_by_inherit_transitivity handleC get error %s open failed : %s \n", dllName, dlerror()); in test_open_by_inherit_transitivity()
186 … t_error("dlclose_by_inherit_transitivity handleC %s close failed : %s\n", dllName, dlerror()); in test_open_by_inherit_transitivity()
188 … t_error("dlclose_by_inherit_transitivity handleB %s close failed : %s\n", dllName, dlerror()); in test_open_by_inherit_transitivity()
200 void* handle = dlopen_ns(&no_inherit_A, dllName, RTLD_LAZY); //libdlopenns_dso.so在A中无法找到 in test_open_by_ini_no_inherit()
203 t_error("dlopen_ns_by_ini_no_inherit handle %s should not open successfully \n", dllName); in test_open_by_ini_no_inherit()
207 void* handle2 = dlopen_ns(&no_inherit_B, dllName, RTLD_LAZY); in test_open_by_ini_no_inherit()
209 …t_error("dlopen_ns_by_ini_no_inherit handle2 get error %s open failed : %s \n", dllName, dlerror()… in test_open_by_ini_no_inherit()
211 dlns_inherit(&no_inherit_A, &no_inherit_B, dllName); in test_open_by_ini_no_inherit()
213 void* handle3 = dlopen_ns(&no_inherit_A, dllName, RTLD_LAZY); //通过B的继承关系再次加载库 in test_open_by_ini_no_inherit()
216 …t_error("dlopen_ns_by_ini_no_inherit handle3 get error %s open failed : %s \n", dllName, dlerror()… in test_open_by_ini_no_inherit()
219 t_error("dlclose_by_ini_no_inherit handle3 %s close failed : %s\n", dllName, dlerror()); in test_open_by_ini_no_inherit()
221 t_error("dlclose_by_ini_no_inherit handle2 %s close failed : %s\n", dllName, dlerror()); in test_open_by_ini_no_inherit()
234 void* handle = dlopen_ns(&inherir_A, dllName, RTLD_LAZY); in test_open_by_dlns_inherir()
236 … t_error("dlopen_ns_by_dlns_inherir handle get error %s open failed : %s \n", dllName, dlerror()); in test_open_by_dlns_inherir()
239 t_error("dlclose_by_dlns_inherir handle %s close failed : %s\n", dllName, dlerror()); in test_open_by_dlns_inherir()
243 void* handle2 = dlopen_ns(&inherir_A, dllName, RTLD_LAZY); in test_open_by_dlns_inherir()
245 t_error("dlopen_ns_by_ini_no_inherit handle2 %s should not open successfully \n", dllName); in test_open_by_dlns_inherir()
262 void* handle = dlopen_ns(&shared_libs_A, dllName, RTLD_LAZY); in test_open_by_shared_libs()
264 t_error("dlopen_ns_by_shared_libs handle %s should not open successfully \n", dllName); in test_open_by_shared_libs()
267 void* handle2 = dlopen_ns(&shared_libs_B, dllName, RTLD_LAZY); in test_open_by_shared_libs()
269 t_error("dlopen_ns_by_shared_libs handle2 %s should not open successfully \n", dllName); in test_open_by_shared_libs()
275 void* handle3 = dlopen_ns(&shared_libs_C, dllName, RTLD_LAZY); in test_open_by_shared_libs()
277 … t_error("dlopen_ns_by_shared_libs handle3 get error %s open failed : %s \n", dllName, dlerror()); in test_open_by_shared_libs()
279 void* handle4 = dlopen_ns(&shared_libs_A, dllName, RTLD_LAZY); in test_open_by_shared_libs()
281 … t_error("dlopen_ns_by_shared_libs handle4 get error %s open failed : %s \n", dllName, dlerror()); in test_open_by_shared_libs()
284 t_error("dlclose_by_shared_libs handle4 %s close failed : %s\n", dllName, dlerror()); in test_open_by_shared_libs()
286 t_error("dlclose_by_shared_libs handle3 %s close failed : %s\n", dllName, dlerror()); in test_open_by_shared_libs()
295 void* handle = dlopen_ns(&inherit_B, dllName, RTLD_LAZY); //inherit_b将从ns2中获取dllName库 in test_open_by_iinheritB_shared_libs()
298 …("dlopen_ns_by_iinheritB_shared_libs handle get error %s open failed : %s \n", dllName, dlerror()); in test_open_by_iinheritB_shared_libs()
302 … t_error("dlopen_ns_by_iinheritB_shared_libs handle %s close failed : %s\n", dllName, dlerror()); in test_open_by_iinheritB_shared_libs()