Lines Matching refs:handle
16 void *handle = dlopen ("modstatic2-nonexistent.so", RTLD_LAZY); in test() local
17 if (handle == NULL) in test()
22 handle = dlopen ("modstatic2.so", RTLD_LAZY); in test()
23 if (handle == NULL) in test()
30 test2 = dlsym (handle, "test"); in test()
102 res = dlinfo (handle, RTLD_DI_LMID, &lmid); in test()
141 void *test3 = dlsymfn (handle, "test"); in test()
154 dlclose (handle); in test()
156 handle = dlmopen (LM_ID_BASE, "modstatic2.so", RTLD_LAZY); in test()
157 if (handle == NULL) in test()
162 dlclose (handle); in test()
164 handle = dlmopen (LM_ID_NEWLM, "modstatic2.so", RTLD_LAZY); in test()
165 if (handle == NULL) in test()
173 handle = dlopen ("modstatic.so", RTLD_LAZY); in test()
174 if (handle == NULL) in test()
181 test4 = dlsym (handle, "test"); in test()
230 dlclose (handle); in test()