Home
last modified time | relevance | path

Searched refs:dl_handle (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/string/
H A Dt_strchr.c61 void *dl_handle; in ATF_TC_BODY() local
249 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TC_BODY()
250 strchr_fn = dlsym(dl_handle, "test_strchr"); in ATF_TC_BODY()
285 (void)dlclose(dl_handle); in ATF_TC_BODY()
H A Dt_strchrnul.c60 void *dl_handle; in ATF_TC_BODY() local
248 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TC_BODY()
249 strchrnul_fn = dlsym(dl_handle, "test_strchrnul"); in ATF_TC_BODY()
284 (void)dlclose(dl_handle); in ATF_TC_BODY()
H A Dt_strlen.c43 void *dl_handle; in ATF_TC_BODY() local
111 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TC_BODY()
112 strlen_fn = dlsym(dl_handle, "test_strlen"); in ATF_TC_BODY()
139 (void)dlclose(dl_handle); in ATF_TC_BODY()
/freebsd/lib/libc/tests/string/
H A Dstrcmp_test.c122 void *dl_handle; in ATF_TP_ADD_TCS() local
124 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
125 strcmp_fn = dlsym(dl_handle, "test_strcmp"); in ATF_TP_ADD_TCS()
H A Dmemrchr_test.c103 void *dl_handle; in ATF_TP_ADD_TCS() local
105 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
106 memrchr_fn = dlsym(dl_handle, "test_memrchr"); in ATF_TP_ADD_TCS()
H A Dstrlcpy_test.c171 void *dl_handle; in ATF_TP_ADD_TCS() local
173 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
174 strlcpy_fn = dlsym(dl_handle, "test_strlcpy"); in ATF_TP_ADD_TCS()
H A Dmemcmp_test.c147 void *dl_handle; in ATF_TP_ADD_TCS() local
149 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
150 memcmp_fn = dlsym(dl_handle, "test_" __XSTRING(MEMCMP)); in ATF_TP_ADD_TCS()
H A Dstpncpy_test.c169 void *dl_handle; in ATF_TP_ADD_TCS() local
171 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
172 stpncpy_fn = dlsym(dl_handle, "test_stpncpy"); in ATF_TP_ADD_TCS()
H A Dstrncmp_test.c154 void *dl_handle; in ATF_TP_ADD_TCS() local
156 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
157 strncmp_fn = dlsym(dl_handle, "test_strncmp"); in ATF_TP_ADD_TCS()
H A Dmemccpy_test.c216 void *dl_handle; in ATF_TP_ADD_TCS() local
218 dl_handle = dlopen(NULL, RTLD_LAZY); in ATF_TP_ADD_TCS()
219 memccpy_fn = dlsym(dl_handle, "test_memccpy"); in ATF_TP_ADD_TCS()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_methods.c216 eap_methods->dl_handle = handle; in eap_peer_method_load()
248 if (m == NULL || m->dl_handle == NULL) in eap_peer_method_unload()
256 handle = m->dl_handle; in eap_peer_method_unload()
365 handle = m->dl_handle; in eap_peer_unregister_methods()
H A Deap_i.h263 void *dl_handle; member
/freebsd/crypto/heimdal/lib/hx509/
H A Dks_p11.c64 void *dl_handle; member
867 p->dl_handle = dlopen(list, RTLD_NOW); in p11_init()
869 if (p->dl_handle == NULL) { in p11_init()
876 getFuncs = (CK_C_GetFunctionList) dlsym(p->dl_handle, "C_GetFunctionList"); in p11_init()
1012 if (p->dl_handle) in p11_release_module()
1013 dlclose(p->dl_handle); in p11_release_module()
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch1223 + * @param[in,out] dl_handle: NULL or pointer to new dlopen handle
1228 +librpz_lib_open(librpz_emsg_t *emsg, void **dl_handle, const char *path)
1238 + if (dl_handle != NULL && *dl_handle != NULL) {
1239 + if (dlclose(*dl_handle) != 0) {
1244 + *dl_handle = NULL;
1256 + if (dl_handle != NULL)
1257 + *dl_handle = handle;
1282 + if (dl_handle != NULL)
1283 + *dl_handle = handle;
1299 +librpz_lib_open(librpz_emsg_t *emsg, void **dl_handle, const char *path)
[all …]