Lines Matching defs:dlns1

63     Dl_namespace dlns1;
64 dlns_init(&dlns1, "ns_for_dlopen_same_so_twice_by_same_ns");
65 dlns_create(&dlns1, dllPath_ns);
67 void* handle1 = dlopen_ns(&dlns1, dllName, RTLD_NOW);
69 t_error("dlopen_ns(ns=%s, name=%s) failed : %s \n", dlns1.name, dllName, dlerror());
71 void* handle2 = dlopen_ns(&dlns1, dllName, RTLD_NOW);
73 t_error("dlopen_ns(ns=%s, name=%s) failed : %s \n", dlns1.name, dllName, dlerror());
88 Dl_namespace dlns1;
89 dlns_init(&dlns1, "ns_for_dlopen_same_so_by_different_ns_1");
90 dlns_create(&dlns1, dllPath_ns);
96 void* handle1 = dlopen_ns(&dlns1, dllName, RTLD_NOW);
98 t_error("dlopen_ns(ns=%s, name=%s) failed : %s \n", dlns1.name, dllName, dlerror());
117 Dl_namespace dlns1;
118 dlns_init(&dlns1, "ns_for_dlopen_same_so_by_different_inherit_ns_1");
119 dlns_create(&dlns1, dllPath_ns);
124 dlns_inherit(&dlns2, &dlns1, dllName);
126 void* handle1 = dlopen_ns(&dlns1, dllName, RTLD_NOW);
128 t_error("dlopen_ns(ns=%s, name=%s) failed : %s \n", dlns1.name, dllName, dlerror());
148 Dl_namespace dlns1;
149 dlns_init(&dlns1, "ns_for_no_seperated");
150 dlns_create2(&dlns1, errPath_ns, 0);
151 dlns_inherit(&dlns1, &dlns_default, "libc++.so");
154 handle = dlopen_ns(&dlns1, dllName, RTLD_NOW);
156 t_error("dlopen_ns(ns=%s, name=%s) failed : %s \n", dlns1.name, dllName, dlerror());
161 handle = dlopen_ns(&dlns1, absolute_path_1, RTLD_NOW);
163 t_error("%s can load %s by absolute path but failed : %s \n", dlns1.name, absolute_path_1, dlerror());
171 handle = dlopen_ns(&dlns1, absolute_path_2, RTLD_NOW);
173 t_error("%s can't load %s by absolute path because but it has inaccessible dependent so but succeed : %s \n", dlns1.name, absolute_path_2, dlerror());