Lines Matching refs:handle
54 void *handle;
56 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
57 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
59 testf_dso_null = dlsym(handle, "testf_dso_null");
64 ATF_REQUIRE(dlclose(handle) == 0);
78 void *handle;
84 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
85 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
87 testf_dso_null = dlsym(handle, "testf_dso_null");
94 ATF_REQUIRE(dlclose(handle) == 0);
110 void *handle;
116 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
117 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
119 testf_dso_mutex_unlock = dlsym(handle, "testf_dso_mutex_unlock");
125 dlclose(handle);
142 void *handle;
147 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
148 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
150 testf_dso_mutex_lock = dlsym(handle, "testf_dso_mutex_lock");
158 dlclose(handle);