Lines Matching defs:handle
45 void *handle;
53 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
56 ATF_CHECK(handle != NULL);
58 sym = dlvsym(handle, "testfunc", "V_1");
65 dlclose(handle);
77 void *handle;
85 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
88 ATF_CHECK(handle != NULL);
90 sym = dlvsym(handle, "testfunc", "V_3");
97 dlclose(handle);
110 void *handle;
117 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
120 ATF_CHECK(handle != NULL);
122 sym = dlvsym(handle, "symbol_nonexistent", "V_3");
127 dlclose(handle);
140 void *handle;
147 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
150 ATF_CHECK(handle != NULL);
152 sym = dlvsym(handle, "testfunc", "");
157 dlclose(handle);
170 void *handle;
178 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
181 ATF_CHECK(handle != NULL);
183 sym = dlvsym(handle, "testfunc", NULL);
190 dlclose(handle);