Lines Matching refs:handle
32 /// any dlsym() looks against that handle should only look in
40 void* handle;
48 result.handle = dlopen(path, options);
49 if ( result.handle == NULL ) {
53 //fprintf(stderr, "dlopen(%s, 0x%0X) => %p\n", path, options, result.handle);
59 void* sym = dlsym(hp.handle, symbol);
61 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") should have failed", hp.path, symbol);
68 void* sym = dlsym(hp.handle, symbol);
70 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") failed", hp.path, symbol);
88 result = dlclose(mainFirst.handle);
90 FAIL("dlsym-NULL-RTLD_FIRST: dlclose(mainFirst.handle) failed: %s", dlerror());
93 result = dlclose(mainDefault.handle);
95 FAIL("dlsym-NULL-RTLD_FIRST: dlclose(mainDefault.handle) failed: %s", dlerror());