• Home
  • Raw
  • Download

Lines Matching refs:dlns

56     Dl_namespace dlns;  in dlns_init_0100()  local
58 dlns_init(&dlns, n); in dlns_init_0100()
59 EXPECT_EQ("dlns_init_0100", strcmp(dlns.name, n), 0); in dlns_init_0100()
69 Dl_namespace dlns; in dlns_init_0200() local
76 dlns_init(&dlns, n); in dlns_init_0200()
79 int dlnslen = strlen(dlns.name); in dlns_init_0200()
90 Dl_namespace dlns; in dlns_create_0100() local
91 dlns_init(&dlns, "dlns_create_0100"); in dlns_create_0100()
93 EXPECT_EQ("dlns_create_0100", dlns_create(&dlns, path), EOK); in dlns_create_0100()
104 Dl_namespace dlns; in dlns_create_0200() local
105 dlns_init(&dlns, "ns_no_allowed_libs"); in dlns_create_0200()
107 EXPECT_EQ("dlns_create_0200", dlns_create(&dlns, NULL), EEXIST); in dlns_create_0200()
118 Dl_namespace dlns; in dlns_create_0300() local
119 dlns_init(&dlns, "dlns_create_0300"); in dlns_create_0300()
121 EXPECT_EQ("dlns_create_0300", dlns_create(&dlns, path), EOK); in dlns_create_0300()
123 void* handle = dlopen_ns(&dlns, dllName, RTLD_LAZY); in dlns_create_0300()
145 Dl_namespace dlns; in dlns_create_0500() local
146 dlns_init(&dlns, "dlns_create_0500"); in dlns_create_0500()
148 EXPECT_EQ("dlns_create_0500", dlns_create(&dlns, NULL), EOK); in dlns_create_0500()
159 Dl_namespace dlns; in dlopen_ns_0100() local
160 dlns_init(&dlns, "ns_no_allowed_libs"); in dlopen_ns_0100()
162 void* handle = dlopen_ns(&dlns, dllNamePath, RTLD_LAZY); in dlopen_ns_0100()
174 Dl_namespace dlns; in dlopen_ns_0200() local
175 dlns_init(&dlns, "ns_no_allowed_libs"); in dlopen_ns_0200()
177 void* handle = dlopen_ns(&dlns, errdllNamePath, RTLD_LAZY); in dlopen_ns_0200()
188 Dl_namespace dlns; in dlopen_ns_0300() local
189 dlns_init(&dlns, "ns_no_allowed_libs"); in dlopen_ns_0300()
191 void* handle = dlopen_ns(&dlns, dllName, RTLD_LAZY); in dlopen_ns_0300()
215 Dl_namespace dlns; in dlopen_ns_0500() local
216 dlns_init(&dlns, "ns_no_allowed_libs"); in dlopen_ns_0500()
218 void *handle = dlopen_ns(&dlns, NULL, RTLD_LAZY); in dlopen_ns_0500()
230 Dl_namespace dlns; in dlns_get_0100() local
231 dlns_init(&dlns, "dlns_get_0100"); in dlns_get_0100()
232 dlns_create(&dlns, NULL); in dlns_get_0100()
233 dlns_get("dlns_get_0100", &dlns); in dlns_get_0100()
234 EXPECT_EQ("dlns_get_0100", strcmp(dlns.name, "dlns_get_0100"), 0); in dlns_get_0100()
244 Dl_namespace dlns; in dlns_get_0200() local
245 dlns_get(NULL, &dlns); in dlns_get_0200()
246 EXPECT_EQ("dlns_get_0200", strcmp(dlns.name, "default"), 0); in dlns_get_0200()
267 Dl_namespace dlns; in dlns_get_0400() local
268 dlns_init(&dlns, "dlns_get_0400"); in dlns_get_0400()
269 EXPECT_EQ("dlns_get_0400", dlns_get("dlns_get_0400", &dlns), ENOKEY); in dlns_get_0400()