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

1234567891011>>

/macosx-10.10/ksh-23/ksh/src/cmd/INIT/
H A Ddl.c24 #ifndef dlopen
31 dlopen("libdl.so",0);
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/dlzexternal/
H A Dprereq.sh21 ./dlopen || {
22 echo "I:dlopen() not supported - skipping dlzexternal test"
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/read-only-import-shared-cache-coalesce/
H A Dmain.c8 dlopen("libfoo.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/read-only-import-shared-cache-dlopen-override/
H A Dmain.c8 dlopen("/usr/lib/libz.dylib", RTLD_LAZY);
11 PASS("read-only-import-shared-cache-dlopen-override");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/weak-coalesce-stubs/
H A Dmain.c13 void* handle = dlopen("libstub.dylib", RTLD_LAZY);
19 dlopen("libbar.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-in-initializer/
H A Dfoo.c30 // call dlopen on a non-existent file to verify error handled cleanly
31 dlopen("/no_such/path", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-init-dlopen/
H A Dfoo.c30 // call dlopen to verify that initializer lock can be held recursively
31 dlopen("libbar.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-init-dlopen-notify/
H A Dfoo1.c30 // call dlopen to verify that initializer lock can be held recursively
31 dlopen("libbar.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-init-dlopen-up/
H A Dfoo.c31 dlopen("libbar.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-init-up/
H A Dfoo.c32 dlopen("libbar.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/rpath-loader_path-dlopen/
H A Dfoo.c7 return (dlopen("./libbar.dylib", RTLD_NOW) != NULL);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_GLOBAL/
H A Dmain.c36 void* handle = dlopen(argv[1], RTLD_GLOBAL);
38 FAIL("dlopen(\"%s\") failed", argv[1]);
43 void* handle2 = dlopen(argv[2], RTLD_NOW);
45 FAIL("dlopen(\"%s\") failed", argv[2]);
49 PASS("dlopen-RTLD_GLOBAL");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-error/
H A Dmain.c35 void* handle = dlopen("libdoesnotexist.dylib", RTLD_LAZY);
37 FAIL("dlopen-error: dlopen(libdoesnotexist.dylib, RTLD_LAZY) should have failed");
41 FAIL("dlopen-error: expected 'image not found' in dlerror() string");
46 handle = dlopen("libnoread.dylib", RTLD_LAZY);
48 FAIL("dlopen-error: dlopen(libnoread.dylib, RTLD_LAZY) should have failed");
52 FAIL("dlopen-error: expected 'failed with errno=13' in dlerror() string");
57 PASS("dlopen-error");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen_preflight-cycle/
H A Dmain.c42 void* handle = dlopen("libbar.dylib", RTLD_NOLOAD);
48 handle = dlopen("libbaz.dylib", RTLD_NOLOAD);
54 handle = dlopen("libfoo.dylib", RTLD_NOLOAD);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/image-state-deny-dlclose/
H A Dmain.c38 void* h1 = dlopen("libbase.dylib", RTLD_LAZY);
40 FAIL("image-state-deny-dlclose: can't dlopen libbase.dylib: %s", dlerror());
45 // if base was unloaded, then this dlopen will jump to neverland
46 void* h2 = dlopen("libfoo.dylib", RTLD_LAZY);
48 FAIL("image-state-deny-dlclose: can't dlopen libfoo.dylib: %s", dlerror());
52 void* h3 = dlopen("libbase.dylib", RTLD_LAZY);
54 FAIL("image-state-deny-dlclose: can't dlopen libbase.dylib: %s", dlerror());
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/cxa_finalize/
H A Dmain.c33 void* handle = dlopen("libfoo.dylib", RTLD_LAZY);
35 FAIL("dlopen(\"%s\") failed with: %s", "libfoo.dylib", dlerror());
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlclose-terminator-dlclose/
H A Dfoo.c33 handle = dlopen("libbar.dylib", RTLD_LAZY);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOLOAD-in-initializer/
H A Dbar.c37 FAIL("dlopen-RTLD_NOLOAD-in-initializer baz initialized too early");
41 // calling dlopen with RTLD_NOLOAD.
44 dlopen("libbaz.dylib", RTLD_NOLOAD);
47 FAIL("dlopen-RTLD_NOLOAD-in-initializer baz initialized by dlopen");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOLOAD-symlink/
H A Dmain.c40 void* handle = dlopen(argv[1], RTLD_NOLOAD);
42 PASS("dlopen-RTLD_NOLOAD-symlink");
44 FAIL("dlopen-RTLD_NOLOAD-symlink");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-multi/
H A Dmain.c31 void* handle1 = dlopen("test.bundle", RTLD_LAZY);
32 void* handle2 = dlopen("test.bundle", RTLD_LAZY);
33 void* handle3 = dlopen("test.dylib", RTLD_LAZY);
34 void* handle4 = dlopen("test.dylib", RTLD_LAZY);
36 FAIL("dlopen(\"test.bundle\") failed");
39 FAIL("dlopen(\"test.dylib\") failed");
42 FAIL("dlopen handle1 and handle2 are not equal %p != %p",handle1,handle2);
45 FAIL("dlopen handle3 and handle4 are not equal %p != %p",handle3,handle4);
70 PASS("dlopen-multi");
/macosx-10.10/apr-32/apr/apr/include/arch/aix/
H A Dapr_arch_dso.h28 void *dlopen(const char *path, int mode);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/
H A Ddlfcn.h37 * Mode flags for the dlopen routine.
43 void *dlopen (const char *path, int mode);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOLOAD/
H A Dmain.c39 void* handle = dlopen("libfoo.dylib", RTLD_NOLOAD);
42 // Panther dlcompat does not check existing loaded images (only those opened with dlopen)
44 XFAIL("dlopen(libfoo.dylib, RTLD_NOLOAD) failed but it should have worked: %s", msg);
46 FAIL("dlopen(libfoo.dylib, RTLD_NOLOAD) failed but it should have worked: %s", msg);
57 void* handle2 = dlopen("libfobbulate.dylib", RTLD_NOLOAD);
59 FAIL("dlopen(libfobbulate.dylib, RTLD_NOLOAD) succeeded but it should have failed");
65 PASS("dlopen-RTLD_NOLOAD");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-dyld-locking/
H A Dmain.c34 /// This test verifies that dlopen() releases the dyld lock
43 dlopen("libbar.dylib", RTLD_LAZY); // dladdr() will hang until dyld lock is released
53 FAIL("dlopen-dyld-locking: pthread_create failed");
58 void* handle = dlopen("libfoo.dylib", RTLD_LAZY);
60 FAIL("dlopen-dyld-locking: dlopen(\"libfoo.dylib\") failed: %s", dlerror());
64 PASS("dlopen-dyld-locking");
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-leak/
H A Dmain.c36 void* handle = dlopen("libfoo.dylib", RTLD_LAZY);
39 dlopen("libnotthere.dylib", RTLD_LAZY);
48 PASS("dlopen-leak");
50 FAIL("dlopen-leak");

Completed in 415 milliseconds

1234567891011>>