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

1234567

/freebsd-11.0-release/lib/libthr/tests/dlopen/
H A DMakefile1 # $FreeBSD: releng/11.0/lib/libthr/tests/dlopen/Makefile 299094 2016-05-04 23:20:53Z ngie $
3 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen
7 TESTSDIR= ${TESTSBASE}/lib/libthr/dlopen
/freebsd-11.0-release/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)
H A Dt_ifunc.c62 handle = dlopen("libh_helper_ifunc_dso.so", RTLD_LAZY);
/freebsd-11.0-release/lib/libthr/tests/dlopen/dso/
H A DMakefile1 # $FreeBSD: releng/11.0/lib/libthr/tests/dlopen/dso/Makefile 299094 2016-05-04 23:20:53Z ngie $
3 TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso
12 LIBDIR= ${TESTSBASE}/lib/libthr/dlopen
/freebsd-11.0-release/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...]
H A Dt_dso_pthread_create.c77 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
78 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
H A Dt_main_pthread_create.c86 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
87 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
/freebsd-11.0-release/lib/libc/gen/
H A Dlibc_dlopen.c39 * Whether we want to restrict dlopen()s.
51 return (dlopen(path, mode));
/freebsd-11.0-release/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-11.0-release/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-11.0-release/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-11.0-release/bin/csh/
H A Diconv_stub.c60 iconvlib = dlopen(ICONVLIB, RTLD_LAZY | RTLD_GLOBAL);
/freebsd-11.0-release/include/
H A Ddlfcn.h38 * Modes and flags for dlopen().
117 void *dlopen(const char *, int);
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/tls/
H A Dt_tls_dlopen.c55 "Test (un)initialized TLS variables and dlopen");
93 handle = dlopen("h_tls_dlopen.so", RTLD_NOW | RTLD_LOCAL);
/freebsd-11.0-release/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());
/freebsd-11.0-release/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-11.0-release/lib/libc/tests/stdlib/
H A Dcxa_thread_atexit_nothr_test.cc57 libthr_handle = dlopen("libthr.so.3", RTLD_LAZY | RTLD_GLOBAL |
/freebsd-11.0-release/lib/libthr/tests/
H A DMakefile48 TESTS_SUBDIRS= dlopen

Completed in 187 milliseconds

1234567