/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/rpath-install-name/ |
H A D | main.c | 32 void* h1 = dlopen("./libstuff_better.dylib", RTLD_LAZY); 39 void* handle = dlopen("libbar.dylib", RTLD_LAZY);
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlclose-dylib-unload/ |
H A D | main.c | 36 void* handle1 = dlopen("libfoo.dylib", RTLD_LAZY); 38 FAIL("dlclose-dylib-unload: dlopen(\"libfoo.dylib\", RTLD_LAZY) failed with dlerror()=%s", dlerror()); 42 void* handle2 = dlopen("libfoo.dylib", RTLD_LAZY); 44 FAIL("dlclose-dylib-unload: dlopen(\"libfoo.dylib\", RTLD_LAZY) failed with dlerror()=%s", dlerror()); 48 void* handle3 = dlopen("libfoo.dylib", RTLD_LAZY); 50 FAIL("dlclose-dylib-unload: dlopen(\"libfoo.dylib\", RTLD_LAZY) failed with dlerror()=%s", dlerror()); 97 void* handle1 = dlopen("libbar.dylib", RTLD_LAZY); 99 FAIL("dlclose-dylib-unload: dlopen(\"libbar.dylib\", RTLD_LAZY) failed with dlerror()=%s", dlerror()); 103 void* handle2 = dlopen("libbar.dylib", RTLD_LAZY); 105 FAIL("dlclose-dylib-unload: dlopen(\"libba [all...] |
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlclose-bundle-unload/ |
H A D | main.c | 32 void* handle1 = dlopen("test.bundle", RTLD_LAZY); 34 FAIL("dlclose-bundle-unload: dlopen(\"test.bundle\", RTLD_LAZY) failed with dlerror()=%s", dlerror()); 38 void* handle2 = dlopen("test.bundle", RTLD_LAZY); 40 FAIL("dlclose-bundle-unload: dlopen(\"test.bundle\", RTLD_LAZY) failed with dlerror()=%s", dlerror()); 44 void* handle3 = dlopen("test.bundle", RTLD_LAZY); 46 FAIL("dlclose-bundle-unload: dlopen(\"test.bundle\", RTLD_LAZY) failed with dlerror()=%s", dlerror());
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_LOCAL/ |
H A D | main.c | 35 void* handle = dlopen(argv[1], RTLD_LOCAL); 38 // Panther dlopen() fails on RTLD_LOCAL of a dylib 40 XFAIL("dlopen(\"%s\", RTLD_LOCAL) failed: %s", argv[1], msg); 42 FAIL("dlopen(\"%s\", RTLD_LOCAL) failed: %s", argv[1], msg); 47 void* handle2 = dlopen(argv[2], RTLD_NOW); 49 FAIL("dlopen(\"%s\") succeeded but foo should have been not found", argv[2]); 54 FAIL("dlopen(\"%s\") correctly failed, but foo was not in error mesage: %s", argv[2], msg); 59 PASS("dlopen-RTLD_LOCAL");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-codesign-dynamic/ |
H A D | main.c | 19 FAIL("dlopen-codesign-dynamic: csops() failed"); 23 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 25 FAIL("dlopen-codesign-dynamic: load of libfoo.dylib should have failed"); 30 FAIL("dlopen-codesign-dynamic: load of libfoo.dylib failed, but message was wrong: %s", msg); 35 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 37 FAIL("dlopen-codesign-dynamic: load of libfoo.dylib failed"); 43 PASS("dlopen-codesign-dynamic");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-executable/ |
H A D | main.c | 33 // dlopen of regular executable should fail 34 void* handle = dlopen("./foo.exe", RTLD_LAZY); 36 FAIL("dlopen-executable: dlopen(\"./foo.exe\") did not fail"); 40 // dlopen of pie should work 41 handle = dlopen("./foo.pie", RTLD_LAZY); 43 FAIL("dlopen-executable: dlopen(\"./foo.pie\") failed with: %s", dlerror()); 49 FAIL("dlopen-executable: dlsym(handle, \"foo\") failed"); 54 FAIL("dlopen [all...] |
/macosx-10.10/ruby-106/ruby/ext/fiddle/lib/ |
H A D | fiddle.rb | 30 # call-seq: dlopen(library) => Fiddle::Handle 36 def dlopen library method in class:Fiddle 39 module_function :dlopen
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/bundle-weak/ |
H A D | main.c | 34 void* handle = dlopen("test.bundle", RTLD_LAZY); 36 FAIL("dlopen(\"test.bundle\") failed: %s", dlerror());
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlclose-dylib-terminators/ |
H A D | main.c | 35 void* handleFoo = dlopen("libfoo.dylib", RTLD_LAZY); 37 FAIL("dlclose-dylib-order: dlopen(\"libfoo.dylib\", RTLD_LAZY) failed with dlerror()=%s", dlerror());
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlclose-order/ |
H A D | main.c | 35 void* handle = dlopen(argv[1], RTLD_LAZY); 37 FAIL("dlclose-order: dlopen(\"libfoo.dylib\", RTLD_LAZY) failed");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlclose-terminator-dlclose/ |
H A D | main.c | 33 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 35 FAIL("dlclose-dylib-unload: dlopen(\"libfoo.dylib\", RTLD_LAZY) failed with dlerror()=%s", dlerror());
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlerror-clear/ |
H A D | main.c | 39 void* handle1 = dlopen("frobulite", RTLD_LAZY); 41 FAIL("dlerror-clear: dlopen(\"frobulite\", RTLD_LAZY) succeeded but should have failed");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-DYLD_FALLBACK_LIBRARY_PATH/ |
H A D | main.c | 35 void* handle = dlopen("/junk/path/libfoo.dylib", RTLD_LAZY); 37 FAIL("dlopen-DYLD_FALLBACK_LIBRARY_PATH unexpected found dylib"); 39 PASS("dlopen-DYLD_FALLBACK_LIBRARY_PATH");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOLOAD-fallback/ |
H A D | main.c | 39 void* handle = dlopen(path, RTLD_NOLOAD); 41 FAIL("dlopen-RTLD_NOLOAD-fallback, dlopen(% RTLD_NOLOAD) should have failed"); 43 PASS("dlopen-RTLD_NOLOAD-fallback");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOLOAD-in-initializer/ |
H A D | main.c | 34 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 36 FAIL("dlopen(\"libfoo.dylib\") failed with: %s", dlerror()); 42 PASS("dlopen-RTLD_NOLOAD-in-initializer");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOW/ |
H A D | main.c | 34 /// and dlopen() errors out with a message string 41 void* handle = dlopen("test.bundle", RTLD_NOW); 45 PASS("dlopen-RTLD_NOW"); 48 FAIL("dlopen(test.bundle, RTLD_NOW) failed but error message did not contain foo2: %s", msg); 51 FAIL("dlopen(test.bundle, RTLD_NOW) succeed but should have failed because foo2 does not exist");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-codesign/ |
H A D | main.c | 14 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 16 FAIL("dlopen-codesign: load of libfoo.dylib should have failed"); 21 FAIL("dlopen-codesign: load of libfoo.dylib failed, but message was wrong: %s", msg); 25 PASS("dlopen-codesign");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-non-canonical-path/ |
H A D | main.c | 33 void* handle = dlopen(path, RTLD_LAZY); 35 FAIL("dlopen-non-canonical-path: dlopen(%s)", path); 40 FAIL("dlopen-non-canonical-path: dlopen_preflight(%s)", path); 46 // <rdar://problem/7017050> dlopen() not opening frameworks with non-canonical paths 56 PASS("dlopen-non-canonical-path");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-zero/ |
H A D | main.c | 38 // passing NULL as path to dlopen() has the special meaning of 40 void* handle = dlopen(NULL, RTLD_LAZY); 42 FAIL("dlopen(NULL, RTLD_LAZY) failed"); 58 PASS("dlopen-zero");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/image-suffix/ |
H A D | main.c | 37 dlopen(argv[1], 0);
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/loader_path/ |
H A D | main.c | 37 if ( dlopen("@loader_path/hide/libfoo3.dylib", 0) == NULL )
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/rpath-dlopen/ |
H A D | main.c | 32 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 34 FAIL("rpath-dlopen: %s", dlerror()); 40 FAIL("rpath-dlopen: %s", dlerror()); 44 PASS("rpath-dlopen");
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/rpath-dlopen-in-dylib/ |
H A D | bar.c | 32 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 34 FAIL("rpath-dlopen-indirect: %s", dlerror()); 40 FAIL("rpath-dlopen-indirect: %s", dlerror());
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/rpath-dlopen-indirect/ |
H A D | bar.c | 10 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 12 FAIL("rpath-dlopen-indirect: %s", dlerror()); 18 FAIL("rpath-dlopen-indirect: %s", dlerror());
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/rpath-dlopen-leak/ |
H A D | main.c | 36 void* handle = dlopen("libfoo.dylib", RTLD_LAZY); 45 PASS("rpath-dlopen-leak"); 47 FAIL("rpath-dlopen-leak");
|