Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 21 of 21) sorted by relevance

/elf/
A Dtst-glibc-hwcaps-prepend-cache.c60 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local
63 xdlclose (handle); in do_test()
76 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local
79 xdlclose (handle); in do_test()
84 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local
87 xdlclose (handle); in do_test()
99 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local
102 xdlclose (handle); in do_test()
107 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local
110 xdlclose (handle); in do_test()
[all …]
A Dtst-dlopen-nodelete-reloc-mod8.c24 static void *handle; variable
29 handle = dlopen ("tst-dlopen-nodelete-reloc-mod9.so", RTLD_NOW); in init()
30 if (handle == NULL) in init()
40 dlclose (handle); in fini()
A Dtst-dlopen-nodelete-reloc-mod10.c24 static void *handle; variable
29 handle = dlopen ("tst-dlopen-nodelete-reloc-mod11.so", RTLD_NOW); in init()
30 if (handle == NULL) in init()
40 dlclose (handle); in fini()
A Dtst-dlsym-error.c29 test_one (void *handle, const char *name, void *(func) (void *, const char *), in test_one() argument
43 void *addr = func (handle, symbol); in test_one()
78 void *handle = dlopen (LIBC_SO, RTLD_LAZY); in test_handles() local
79 if (handle == NULL) in test_handles()
84 test_one (handle, name, func, suffix); in test_handles()
85 dlclose (handle); in test_handles()
89 dlvsym_no_such_version (void *handle, const char *name) in dlvsym_no_such_version() argument
91 return dlvsym (handle, name, "NO_SUCH_VERSION"); in dlvsym_no_such_version()
95 dlvsym_glibc_private (void *handle, const char *name) in dlvsym_glibc_private() argument
97 return dlvsym (handle, name, "GLIBC_PRIVATE"); in dlvsym_glibc_private()
A Dnodelete2.c8 void *handle = dlopen ("nodel2mod3.so", RTLD_LAZY); in main() local
9 if (handle == NULL) in main()
14 dlclose (handle); in main()
A Dtst-sonamemove-dlopen.c28 void *handle = xdlopen ("tst-sonamemove-runmod1.so", RTLD_NOW); in do_test() local
29 TEST_VERIFY (xdlsym (handle, "moved_function") != NULL); in do_test()
30 TEST_VERIFY (xdlvsym (handle, "moved_function", "SONAME_MOVE") != NULL); in do_test()
A Dreldep8.c8 void *handle = dlopen ("reldep8mod3.so", RTLD_LAZY); in main() local
9 if (handle == NULL) in main()
14 dlclose (handle); in main()
A Dreldep9.c8 void *handle = dlopen ("reldep9mod3.so", RTLD_LAZY); in main() local
9 if (handle == NULL) in main()
14 dlclose (handle); in main()
A Dtst-array4.c10 void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY); in main() local
14 if (handle != NULL) in main()
15 dlclose (handle); in main()
A Dloadtest.c20 void *handle; member
114 if (testobjs[index].handle == NULL) in main()
121 if (testobjs[index].handle == NULL) in main()
135 testobjs[index].name, testobjs[index].handle); in main()
139 if (dlclose (testobjs[index].handle) != 0) in main()
148 testobjs[index].handle = NULL; in main()
150 if (testobjs[0].handle == NULL in main()
151 && testobjs[1].handle == NULL in main()
152 && testobjs[5].handle == NULL) in main()
174 if (testobjs[count].handle != NULL) in main()
[all …]
A Dtst-dlmopen-dlerror.c27 void *handle = xdlmopen (LM_ID_NEWLM, "tst-dlmopen-dlerror-mod.so", in do_test() local
29 void (*call_dlsym) (const char *name) = xdlsym (handle, "call_dlsym"); in do_test()
30 void (*call_dlopen) (const char *name) = xdlsym (handle, "call_dlopen"); in do_test()
A Dtst-dlmopen-gethostbyname.c24 void *handle = xdlmopen (LM_ID_NEWLM, "tst-dlmopen-gethostbyname-mod.so", in do_test() local
26 void (*call_gethostbyname) (void) = xdlsym (handle, "call_gethostbyname"); in do_test()
A Dtst-initfinilazyfail.c28 void *handle = dlopen ("tst-initlazyfailmod.so", RTLD_LAZY); in test_constructor() local
29 if (handle == NULL) in test_constructor()
32 FAIL_EXIT (2, "dlopen did not terminate the process (%p)", handle); in test_constructor()
38 void *handle = xdlopen ("tst-finilazyfailmod.so", RTLD_LAZY); in test_destructor() local
39 int ret = dlclose (handle); in test_destructor()
A Dtst-dlmodcount.c75 void *handle; in load() local
78 handle = dlopen (path, RTLD_LAZY); in load()
79 if (!handle) in load()
82 return handle; in load()
86 unload (const char *path, void *handle) in unload() argument
89 if (dlclose (handle) < 0) in unload()
A Dtst-getauxval-static.c47 void *handle = xdlopen ("tst-auxvalmod.so", RTLD_LAZY); in do_test() local
48 void *ptr = xdlsym (handle, "getauxval_wrapper"); in do_test()
62 xdlclose (handle); in do_test()
A Dtst-latepthread.c29 void *handle = dlopen ("tst-latepthreadmod.so", RTLD_LOCAL | RTLD_LAZY); in do_test() local
30 if (handle == NULL) in do_test()
35 void *ptr = dlsym (handle, "trigger_dynlink_failure"); in do_test()
A Ddl-sym.c85 do_sym (void *handle, const char *name, void *who, in do_sym() argument
95 if (handle == RTLD_DEFAULT) in do_sym()
129 else if (handle == RTLD_NEXT) in do_sym()
152 struct link_map *map = handle; in do_sym()
178 _dl_vsym (void *handle, const char *name, const char *version, void *who) in _dl_vsym() argument
189 return do_sym (handle, name, who, &vers, 0); in _dl_vsym()
193 _dl_sym (void *handle, const char *name, void *who) in _dl_sym() argument
195 return do_sym (handle, name, who, NULL, DL_LOOKUP_RETURN_NEWEST); in _dl_sym()
A Dtst-dlopen-self.c29 void *handle = dlopen (path, RTLD_LAZY); in check_dlopen_failure() local
30 if (handle != NULL) in check_dlopen_failure()
A Dtst-dlopenfail.c47 void *handle = xdlopen ("tst-dlopenfailmod2.so", RTLD_NOW); in do_test() local
48 xdlclose (handle); in do_test()
A Dtst-dlopen-tlsmodid.h50 void *handle = dlopen (TST_DLOPEN_TLSMODID_PATH, RTLD_LAZY); in check_dlopen_failure() local
51 if (handle != NULL) in check_dlopen_failure()
A Dtst-dlmopen-dlerror-mod.c46 void *handle = dlopen (name, RTLD_NOW); in call_dlopen() local
47 if (handle != NULL) in call_dlopen()

Completed in 16 milliseconds