Lines Matching refs:handleBar
37 void* handleBar = dlopen("libbar.dylib", RTLD_LAZY);
38 if ( handleBar == NULL ) {
50 void* sym_base = dlsym(handleBar, "base");
52 FAIL("dlclose-dylib-ref-count: dlsym(handleBar, \"base\") failed");
58 FAIL("dlclose-dylib-ref-count: dlsym(handleBar, \"base\") failed");
62 void* sym_bar = dlsym(handleBar, "bar");
64 FAIL("dlclose-dylib-ref-count: dlsym(handleBar, \"base\") failed");
68 if ( dlclose(handleBar) != 0 ) {
69 FAIL("dlclose-dylib-ref-count: dlclose(handleBar) != 0, dlerrr()=%s", dlerror());
92 FAIL("dlclose-dylib-ref-count: dlclose(handleBar) != 0, dlerrr()=%s", dlerror());