/freebsd-13-stable/lib/libthr/tests/dlopen/ |
H A D | Makefile | 3 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen 9 TESTSDIR= ${TESTSBASE}/lib/libthr/dlopen
|
/freebsd-13-stable/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | h_df_1_noopen.c | 40 handle = dlopen("libpthread.so", RTLD_NOLOAD);
|
H A D | t_dlerror-cleared.c | 42 "error set by dlopen persists past a successful dlopen call"); 51 * Test that an error set by dlopen() persists past a successful 52 * dlopen() call. 54 handle = dlopen("libnonexistent.so", RTLD_LAZY); 56 handle = dlopen("libm.so", RTLD_NOW);
|
H A D | t_dlinfo.c | 70 atf_tc_set_md_var(tc, "descr", "dlinfo dlopen'd handle works"); 78 handle = dlopen("libutil.so", RTLD_LAZY); 90 atf_tc_set_md_var(tc, "descr", "dlopen'd dso's show up in the list"); 97 handle = dlopen("libutil.so", RTLD_LAZY); 108 ATF_REQUIRE_MSG(map, "dlopen()d object not found from linkmap"); 109 ATF_REQUIRE_MSG(dlopen(map->l_name, RTLD_LAZY) != NULL, 110 "could not dlopen() name in linkmap");
|
H A D | t_df_1_noopen.sh | 39 h_df_1_noopen1: Cannot dlopen non-loadable /usr/lib/libpthread.so
|
H A D | t_dlvsym.c | 53 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 85 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 117 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 147 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 178 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
|
H A D | t_dlerror-false.c | 42 "error set by dlopen persists past a successful dlopen call"); 57 handle = dlopen("libm.so", RTLD_LAZY);
|
H A D | h_locking.c | 66 if ((dso = dlopen("libh_helper_dso2.so", RTLD_LAZY)) == NULL) { 85 if ((dso = dlopen(arg, RTLD_LAZY)) == NULL) { 144 if (strcmp(argv[1], "dlopen") == 0)
|
/freebsd-13-stable/lib/libthr/tests/dlopen/dso/ |
H A D | Makefile | 3 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso 13 LIBDIR= ${TESTSBASE}/lib/libthr/dlopen
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/dlopen/ |
H A D | t_dlopen.c | 42 ATF_TC(dlopen); variable 44 ATF_TC_HEAD(dlopen, tc) 47 "Test if dlopen can load -lpthread DSO"); 52 ATF_TC_BODY(dlopen, tc) 56 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 57 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 72 "Test if dlopen can load -lpthread DSO without breaking mutex"); 84 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 85 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 104 "Test if dlopen ca [all...] |
/freebsd-13-stable/lib/libc/gen/ |
H A D | libc_dlopen.c | 40 * Whether we want to restrict dlopen()s. 52 return (dlopen(path, mode));
|
/freebsd-13-stable/contrib/netbsd-tests/lib/csu/ |
H A D | h_initfini3.cxx | 9 static const char msg2[] = "main after dlopen\n"; 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 17 err(1, "dlopen");
|
H A D | t_crt0.sh | 63 atf_set "descr" "Checks support for init/fini sections in dlopen" 71 main after dlopen
|
/freebsd-13-stable/tools/regression/tls/ttls3/ |
H A D | tls-test.c | 38 handle = dlopen("libtls-test.so.1", RTLD_NOW); 41 printf("dlopen failed (%s)!\n", error);
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/ |
H A D | tst.dlclose2.ksh | 111 if ((live = dlopen("./livelib.so", RTLD_LAZY | RTLD_LOCAL)) == NULL) { 112 printf("dlopen of livelib.so failed: %s\n", dlerror()); 118 if ((dead = dlopen("./deadlib.so", RTLD_LAZY | RTLD_LOCAL)) == NULL) { 119 printf("dlopen of deadlib.so failed: %s\n", dlerror()); 123 if ((live = dlopen("./livelib.so", RTLD_LAZY | RTLD_LOCAL)) == NULL) { 124 printf("dlopen of livelib.so failed: %s\n", dlerror());
|
/freebsd-13-stable/lib/libc/tests/stdlib/ |
H A D | dynthr_test.c | 55 * loaded via dlopen(3) would stall unless the calling application also linked 76 mod_handle = dlopen(libpath, RTLD_LOCAL);
|
H A D | cxa_thread_atexit_nothr_test.cc | 57 libthr_handle = dlopen("libthr.so.3", RTLD_LAZY | RTLD_GLOBAL |
|
/freebsd-13-stable/bin/csh/ |
H A D | iconv_stub.c | 60 iconvlib = dlopen(ICONVLIB, RTLD_LAZY | RTLD_GLOBAL);
|
/freebsd-13-stable/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/bindings/ |
H A D | __init__.py | 43 self._lib = self._ffi.dlopen(self._libname)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | DynamicLibrary.inc | 28 void *Handle = ::dlopen(File, RTLD_LAZY|RTLD_GLOBAL); 36 // with the handle of dlopen(NULL, RTLD_GLOBAL). 57 if (Err) *Err = "dlopen() not supported on this platform";
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | DynamicLibrary.inc | 37 // simillar to dlopen(NULL, RTLD_LAZY|RTLD_GLOBAL) 131 // Try EXE first, mirroring what dlsym(dlopen(NULL)) does. 136 // This is different behaviour than what Posix dlsym(dlopen(NULL)) does.
|
/freebsd-13-stable/lib/libc/tests/gen/ |
H A D | dlopen_empty_test.c | 55 atf_tc_set_md_var(tc, "descr", "Tests the dlopen() of an empty file " 80 funname = "dlopen"; 81 dlh = dlopen(soname, RTLD_LAZY); 86 ATF_REQUIRE_MSG(dlh == NULL, "dlopen(\"%s\") did not fail", soname);
|
/freebsd-13-stable/include/ |
H A D | dlfcn.h | 40 * Modes and flags for dlopen(). 121 void *dlopen(const char *, int);
|
/freebsd-13-stable/lib/libthr/tests/ |
H A D | Makefile | 53 TESTS_SUBDIRS= dlopen
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.provregex2.ksh | 30 # This test verifies that probes will be picked up after a dlopen(3C) 86 if ((alt = dlopen("./altlib.so", RTLD_LAZY | RTLD_LOCAL)) 88 printf("dlopen of altlib.so failed: %s\n", dlerror());
|