Searched refs:RTLD_FIRST (Results 1 - 8 of 8) sorted by relevance

/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/dlopen-RTLD_FIRST/
H A Dmain.c31 /// When dlopen() is called with the RTLD_FIRST option,
50 FAIL("dlopen-RTLD_FIRST: dlopen(\"%s\") failed: %s", path, dlerror());
61 FAIL("dlopen-RTLD_FIRST: dlsym(handle-%s, \"%s\") should have failed", hp.path, symbol);
70 FAIL("dlopen-RTLD_FIRST: dlsym(handle-%s, \"%s\") failed", hp.path, symbol);
78 info libFooFirst = dlopen_or_fail("libfoo.dylib", RTLD_FIRST);
81 info libBarFirst = dlopen_or_fail("libbar.dylib", RTLD_FIRST);
100 info bundleFooFirst = dlopen_or_fail("foo.bundle", RTLD_FIRST);
103 info bundleBarFirst = dlopen_or_fail("bar.bundle", RTLD_FIRST);
121 PASS("dlsym-RTLD_FIRST bundle and dylib");
/macosx-10.9.5/OpenPAM-20/compat/
H A Dpam_shim.c142 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
155 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
169 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
183 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
197 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
211 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
225 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
239 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
253 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
267 void *openpam = dlopen(libopenpam, RTLD_LOCAL | RTLD_LAZY | RTLD_FIRST);
[all...]
/macosx-10.9.5/dyld-239.4/include/
H A Ddlfcn.h73 #define RTLD_FIRST 0x100 /* Mac OS X 10.5 and later */ macro
/macosx-10.9.5/libunwind-35.3/testsuite/dwarf_cache_dlclose.mk/
H A Dmain.c23 void* handle = dlopen("libfoo.dylib", RTLD_FIRST);
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/dlopen-NULL-RTLD_FIRST/
H A Dmain.c31 /// When dlopen(NULL, RTLD_FIRST) is called,
50 FAIL("dlsym-NULL-RTLD_FIRST: dlopen(\"%s\") failed: %s", path, dlerror());
61 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") should have failed", hp.path, symbol);
70 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") failed", hp.path, symbol);
79 info mainFirst = dlopen_or_fail(NULL, RTLD_FIRST);
90 FAIL("dlsym-NULL-RTLD_FIRST: dlclose(mainFirst.handle) failed: %s", dlerror());
95 FAIL("dlsym-NULL-RTLD_FIRST: dlclose(mainDefault.handle) failed: %s", dlerror());
99 PASS("dlsym-NULL-RTLD_FIRST");
/macosx-10.9.5/dyld-239.4/src/
H A DdyldAPIs.cpp1412 // RTLD_FIRST means any dlsym() calls on the handle should only search that handle and not subsequent images
1413 if ( (mode & RTLD_FIRST) != 0 )
1519 // RTLD_FIRST means any dlsym() calls on the handle should only search that handle and not subsequent images
1521 if ( (mode & RTLD_FIRST) != 0 )
1695 sym = image->findExportedSymbol(underscoredName, true, &image); // search RTLD_FIRST way
1741 sym = image->findExportedSymbol(underscoredName, true, &image); // search RTLD_FIRST way
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-auto.mm1252 dlh = dlopen("/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation", RTLD_LAZY | RTLD_NOLOAD | RTLD_FIRST);
/macosx-10.9.5/CF-855.17/
H A DCFBundle.c907 _mainBundle->_handleCookie = dlopen(NULL, RTLD_NOLOAD | RTLD_FIRST);
4282 int mode = RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD | RTLD_FIRST;
4364 int mode = forceGlobal ? (RTLD_LAZY | RTLD_GLOBAL | RTLD_FIRST) : (RTLD_NOW | RTLD_LOCAL | RTLD_FIRST);
4419 int mode = RTLD_LAZY | RTLD_GLOBAL | RTLD_FIRST;

Completed in 112 milliseconds