Searched refs:dlopen (Results 1 - 25 of 164) sorted by relevance

1234567

/freebsd-13-stable/lib/libthr/tests/dlopen/
H A DMakefile3 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 Dh_df_1_noopen.c40 handle = dlopen("libpthread.so", RTLD_NOLOAD);
H A Dt_dlerror-cleared.c42 "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 Dt_dlinfo.c70 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 Dt_df_1_noopen.sh39 h_df_1_noopen1: Cannot dlopen non-loadable /usr/lib/libpthread.so
H A Dt_dlvsym.c53 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 Dt_dlerror-false.c42 "error set by dlopen persists past a successful dlopen call");
57 handle = dlopen("libm.so", RTLD_LAZY);
H A Dh_locking.c66 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 DMakefile3 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 Dt_dlopen.c42 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 Dlibc_dlopen.c40 * Whether we want to restrict dlopen()s.
52 return (dlopen(path, mode));
/freebsd-13-stable/contrib/netbsd-tests/lib/csu/
H A Dh_initfini3.cxx9 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 Dt_crt0.sh63 atf_set "descr" "Checks support for init/fini sections in dlopen"
71 main after dlopen
/freebsd-13-stable/tools/regression/tls/ttls3/
H A Dtls-test.c38 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 Dtst.dlclose2.ksh111 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 Ddynthr_test.c55 * loaded via dlopen(3) would stall unless the calling application also linked
76 mod_handle = dlopen(libpath, RTLD_LOCAL);
H A Dcxa_thread_atexit_nothr_test.cc57 libthr_handle = dlopen("libthr.so.3", RTLD_LAZY | RTLD_GLOBAL |
/freebsd-13-stable/bin/csh/
H A Diconv_stub.c60 iconvlib = dlopen(ICONVLIB, RTLD_LAZY | RTLD_GLOBAL);
/freebsd-13-stable/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/bindings/
H A D__init__.py43 self._lib = self._ffi.dlopen(self._libname)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DDynamicLibrary.inc28 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 DDynamicLibrary.inc37 // 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 Ddlopen_empty_test.c55 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 Ddlfcn.h40 * Modes and flags for dlopen().
121 void *dlopen(const char *, int);
/freebsd-13-stable/lib/libthr/tests/
H A DMakefile53 TESTS_SUBDIRS= dlopen
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.provregex2.ksh30 # 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());

Completed in 199 milliseconds

1234567