Lines Matching refs:testobjs
21 } testobjs[] = variable
30 #define NOBJS (sizeof (testobjs) / sizeof (testobjs[0]))
114 if (testobjs[index].handle == NULL) in main()
119 testobjs[index].handle = dlopen (testobjs[index].name, in main()
121 if (testobjs[index].handle == NULL) in main()
123 testobjs[index].name, dlerror ()); in main()
126 fct = dlsym (testobjs[index].handle, tests[nr].fname); in main()
130 tests[nr].fname, testobjs[index].name, dlerror ()); in main()
135 testobjs[index].name, testobjs[index].handle); in main()
139 if (dlclose (testobjs[index].handle) != 0) in main()
141 printf ("failed to close %s\n", testobjs[index].name); in main()
146 testobjs[index].name, testobjs[index].handle); in main()
148 testobjs[index].handle = NULL; in main()
150 if (testobjs[0].handle == NULL in main()
151 && testobjs[1].handle == NULL in main()
152 && testobjs[5].handle == NULL) in main()
158 && (strstr (map->l_name, testobjs[0].name) != NULL in main()
159 || strstr (map->l_name, testobjs[1].name) != NULL in main()
160 || strstr (map->l_name, testobjs[5].name) != NULL)) in main()
174 if (testobjs[count].handle != NULL) in main()
177 testobjs[count].name, in main()
178 ((struct link_map *) testobjs[count].handle)->l_initfini, in main()
179 ((struct link_map *) testobjs[count].handle)->l_versions); in main()
181 if (dlclose (testobjs[count].handle) != 0) in main()
183 printf ("failed to close %s\n", testobjs[count].name); in main()