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