| /freebsd-13.1/crypto/openssl/crypto/dso/ |
| H A D | dso_lib.c | 69 if (CRYPTO_DOWN_REF(&dso->references, &i, dso->lock) <= 0) in DSO_free() 78 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) { in DSO_free() 84 if ((dso->meth->finish != NULL) && !dso->meth->finish(dso)) { in DSO_free() 99 return ((dso == NULL) ? 0 : dso->flags); in DSO_flags() 111 if (CRYPTO_UP_REF(&dso->references, &i, dso->lock) <= 0) in DSO_up_ref() 137 ret = dso; in DSO_load() 185 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) { in DSO_bind_func() 224 if ((dso->meth == NULL) || (dso->meth->dso_ctrl == NULL)) { in DSO_ctrl() 228 return dso->meth->dso_ctrl(dso, cmd, larg, parg); in DSO_ctrl() 273 result = dso->merger(dso, filespec1, filespec2); in DSO_merge() [all …]
|
| H A D | dso_dl.c | 19 static int dl_load(DSO *dso); 20 static int dl_unload(DSO *dso); 53 static int dl_load(DSO *dso) in dl_load() argument 85 dso->loaded_filename = filename; in dl_load() 95 static int dl_unload(DSO *dso) in dl_unload() argument 98 if (dso == NULL) { in dl_unload() 102 if (sk_num(dso->meth_data) < 1) in dl_unload() 105 ptr = (shl_t) sk_pop(dso->meth_data); in dl_unload() 111 sk_push(dso->meth_data, (char *)ptr); in dl_unload() 127 if (sk_num(dso->meth_data) < 1) { in dl_bind_func() [all …]
|
| H A D | dso_dlfcn.c | 41 static int dlfcn_load(DSO *dso); 42 static int dlfcn_unload(DSO *dso); 96 static int dlfcn_load(DSO *dso) in dlfcn_load() argument 132 dso->loaded_filename = filename; in dlfcn_load() 142 static int dlfcn_unload(DSO *dso) in dlfcn_unload() argument 145 if (dso == NULL) { in dlfcn_unload() 149 if (sk_void_num(dso->meth_data) < 1) in dlfcn_unload() 151 ptr = sk_void_pop(dso->meth_data); in dlfcn_unload() 157 sk_void_push(dso->meth_data, ptr); in dlfcn_unload() 177 if (sk_void_num(dso->meth_data) < 1) { in dlfcn_bind_func() [all …]
|
| H A D | dso_local.h | 74 int (*dso_load) (DSO *dso); 76 int (*dso_unload) (DSO *dso); 84 DSO_FUNC_TYPE (*dso_bind_func) (DSO *dso, const char *symname); 89 long (*dso_ctrl) (DSO *dso, int cmd, long larg, void *parg); 101 int (*init) (DSO *dso); 102 int (*finish) (DSO *dso);
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | dso.c | 76 svn_dso_load_internal(apr_dso_handle_t **dso, const char *fname) in svn_dso_load_internal() argument 78 *dso = svn_hash_gets(dso_cache, fname); in svn_dso_load_internal() 83 if (*dso == NOT_THERE) in svn_dso_load_internal() 85 *dso = NULL; in svn_dso_load_internal() 90 if (! *dso) in svn_dso_load_internal() 92 apr_status_t status = apr_dso_load(dso, fname, dso_pool); in svn_dso_load_internal() 100 apr_dso_error(*dso, buf, 1024)); in svn_dso_load_internal() 102 *dso = NULL; in svn_dso_load_internal() 111 svn_hash_sets(dso_cache, apr_pstrdup(dso_pool, fname), *dso); in svn_dso_load_internal() 118 svn_dso_load(apr_dso_handle_t **dso, const char *fname) in svn_dso_load() argument [all …]
|
| H A D | auth.c | 506 apr_dso_handle_t *dso; in svn_auth_get_platform_specific_provider() local 521 SVN_ERR(svn_dso_load(&dso, library_name)); in svn_auth_get_platform_specific_provider() 522 if (dso) in svn_auth_get_platform_specific_provider() 525 dso, in svn_auth_get_platform_specific_provider() 540 dso, in svn_auth_get_platform_specific_provider()
|
| /freebsd-13.1/crypto/openssl/include/internal/ |
| H A D | dso.h | 86 int DSO_free(DSO *dso); 87 int DSO_flags(DSO *dso); 88 int DSO_up_ref(DSO *dso); 89 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg); 95 const char *DSO_get_filename(DSO *dso); 96 int DSO_set_filename(DSO *dso, const char *filename); 107 char *DSO_convert_filename(DSO *dso, const char *filename); 114 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2); 123 DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags); 126 DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname);
|
| /freebsd-13.1/contrib/apr/dso/unix/ |
| H A D | dso.c | 60 apr_dso_handle_t *dso = thedso; in dso_cleanup() local 62 if (dso->handle == NULL) in dso_cleanup() 66 shl_unload((shl_t)dso->handle); in dso_cleanup() 68 if (dso->handle != DYLD_LIBRARY_HANDLE) { in dso_cleanup() 69 NSUnLinkModule(dso->handle, FALSE); in dso_cleanup() 72 if (dlclose(dso->handle) != 0) in dso_cleanup() 75 dso->handle = NULL; in dso_cleanup() 241 APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *dso, char *buffer, in apr_dso_error() argument 244 if (dso->errormsg) { in apr_dso_error() 245 apr_cpystrn(buffer, dso->errormsg, buflen); in apr_dso_error() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/libexec/ld.elf_so/ |
| H A D | h_locking.c | 63 void *dso; in test_dl_iterate_phdr() local 66 if ((dso = dlopen("libh_helper_dso2.so", RTLD_LAZY)) == NULL) { in test_dl_iterate_phdr() 70 tls_callback_sym = dlsym(dso, "tls_callback"); in test_dl_iterate_phdr() 84 void *dso; in init_fini_helper() local 85 if ((dso = dlopen(arg, RTLD_LAZY)) == NULL) { in init_fini_helper() 89 dlclose(dso); in init_fini_helper()
|
| /freebsd-13.1/lib/libc/stdlib/ |
| H A D | atexit.c | 177 __cxa_atexit(void (*func)(void *), void *arg, void *dso) in __cxa_atexit() argument 185 fn.fn_dso = dso; in __cxa_atexit() 202 __cxa_finalize(void *dso) in __cxa_finalize() argument 209 if (dso != NULL) { in __cxa_finalize() 210 has_phdr = _rtld_addr_phdr(dso, &phdr_info); in __cxa_finalize() 222 if (dso != NULL && dso != fn.fn_dso) { in __cxa_finalize() 245 if (dso == NULL) in __cxa_finalize()
|
| H A D | cxa_thread_atexit_impl.c | 70 void *dso; member 98 new_dtor->dso = dso_symbol; in __cxa_thread_atexit_hidden() 108 if (_rtld_addr_phdr(dtor->dso, &phdr_info) && in walk_cb_call()
|
| H A D | atexit.h | 38 void __cxa_finalize(void *dso);
|
| /freebsd-13.1/crypto/openssl/crypto/conf/ |
| H A D | conf_mod.c | 28 DSO *dso; member 61 static CONF_MODULE *module_add(DSO *dso, const char *name, 191 DSO *dso = NULL; in module_load_dso() local 203 dso = DSO_load(NULL, path, NULL, 0); in module_load_dso() 204 if (!dso) { in module_load_dso() 215 md = module_add(dso, name, ifunc, ffunc); in module_load_dso() 223 DSO_free(dso); in module_load_dso() 230 static CONF_MODULE *module_add(DSO *dso, const char *name, in module_add() argument 243 tmod->dso = dso; in module_add() 368 if (((md->links > 0) || !md->dso) && !all) in CONF_modules_unload() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/ |
| H A D | init.c | 188 DSO *dso; in DEFINE_RUN_ONCE_STATIC() local 194 dso = DSO_dsobyaddr(&base_inited, DSO_FLAG_NO_UNLOAD_ON_FREE); in DEFINE_RUN_ONCE_STATIC() 197 (dso == NULL ? "No!" : "Yes.")); in DEFINE_RUN_ONCE_STATIC() 204 DSO_free(dso); in DEFINE_RUN_ONCE_STATIC() 790 DSO *dso = NULL; in OPENSSL_atexit() local 793 dso = DSO_dsobyaddr(handlersym.sym, DSO_FLAG_NO_UNLOAD_ON_FREE); in OPENSSL_atexit() 797 (dso == NULL ? "No!" : "Yes.")); in OPENSSL_atexit() 800 DSO_free(dso); in OPENSSL_atexit()
|
| /freebsd-13.1/lib/csu/tests/ |
| H A D | fini_test.c | 142 void *dso = __dso_handle; in dso_handle_check() local 145 ATF_REQUIRE_MSG(dso != NULL, in dso_handle_check() 148 ATF_REQUIRE_MSG(dso == NULL, in dso_handle_check()
|
| H A D | Makefile | 3 SUBDIR= dso 9 SUBDIR_DEPEND_dynamiclib=dso
|
| /freebsd-13.1/lib/libc/arm/aeabi/ |
| H A D | aeabi_atexit.c | 36 __aeabi_atexit(void *object, void (*func)(void*), void *dso) in __aeabi_atexit() argument 38 return __cxa_atexit(func, object, dso); in __aeabi_atexit()
|
| /freebsd-13.1/lib/csu/tests/dynamiclib/ |
| H A D | Makefile | 5 DPADD+= ${.OBJDIR:H}/dso/libh_csu.so 6 LDFLAGS+= -Wl,-rpath,${TESTSDIR} -L${.OBJDIR:H}/dso
|
| /freebsd-13.1/crypto/heimdal/lib/krb5/ |
| H A D | plugin.c | 52 } dso; member 116 e->u.dso.dsohandle = dlopen(path, RTLD_LOCAL|RTLD_LAZY); in loadlib() 117 e->u.dso.path = path; in loadlib() 284 if (e->type == DSO && strcmp(e->u.dso.path, path) == 0) in load_plugins() 339 if (e->u.dso.dsohandle == NULL) in _krb5_plugin_find() 341 sym = dlsym(e->u.dso.dsohandle, name); in _krb5_plugin_find()
|
| /freebsd-13.1/contrib/apr/ |
| H A D | build-outputs.mk | 21 OBJECTS_dso_unix = dso/unix/dso.lo 138 dso/aix/dso.lo: dso/aix/dso.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errn… 140 OBJECTS_dso_aix = dso/aix/dso.lo 144 dso/beos/dso.lo: dso/beos/dso.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_er… 146 OBJECTS_dso_beos = dso/beos/dso.lo 176 OBJECTS_dso_os2 = dso/os2/dso.lo 239 OBJECTS_dso_os390 = dso/os390/dso.lo 247 dso/win32/dso.lo: dso/win32/dso.c .make.dirs include/apr_allocator.h include/apr_errno.h include/ap… 249 OBJECTS_dso_win32 = dso/win32/dso.lo 322 …dso/unix file_io/unix locks/unix memory/unix misc/unix mmap/unix network_io/unix poll/unix random/… [all …]
|
| H A D | build.conf | 17 dso file_io locks memory misc mmap network_io poll random
|
| /freebsd-13.1/usr.bin/svn/lib/libapr/ |
| H A D | Makefile | 27 dso.c \ 92 ${APR}/dso/unix \
|
| /freebsd-13.1/contrib/subversion/subversion/include/ |
| H A D | svn_dso.h | 89 svn_dso_load(apr_dso_handle_t **dso,
|
| /freebsd-13.1/lib/libthr/tests/dlopen/dso/ |
| H A D | Makefile | 3 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso
|
| /freebsd-13.1/contrib/apr/include/ |
| H A D | apr_dso.h | 84 APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *dso, char *buf, apr_size_t bufsize);
|