Home
last modified time | relevance | path

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

/dlfcn/
A Dfailtestmod.c10 void *handle; in constr() local
13 handle = dlopen (NULL, RTLD_NOW); in constr()
14 if (handle == NULL) in constr()
21 dlsym (handle, "main"); in constr()
24 dlclose (handle); in constr()
A Ddlsym.c27 void *handle; member
40 args->sym = _dl_sym (args->handle, args->name, args->who); in dlsym_doit()
44 dlsym_implementation (void *handle, const char *name, void *dl_caller) in dlsym_implementation() argument
48 args.handle = handle; in dlsym_implementation()
63 ___dlsym (void *handle, const char *name) in ___dlsym() argument
66 return GLRO (dl_dlfcn_hook)->dlsym (handle, name, RETURN_ADDRESS (0)); in ___dlsym()
68 return dlsym_implementation (handle, name, RETURN_ADDRESS (0)); in ___dlsym()
79 __dlsym (void *handle, const char *name, void *dl_caller) in __dlsym() argument
81 return dlsym_implementation (handle, name, dl_caller); in __dlsym()
85 ___dlsym (void *handle, const char *name) in ___dlsym() argument
[all …]
A Dbug-dlsym1.c10 void *handle; in main() local
15 if ((handle = dlopen("bug-dlsym1-lib1.so", RTLD_NOW)) == NULL) { in main()
20 if ((c = dlsym(handle, "dlopen_test_variable")) == NULL) { in main()
25 (void) dlclose(handle); in main()
A Dtststatic.c8 void *handle; in do_test() local
12 handle = dlopen ("modstatic.so", RTLD_LAZY); in do_test()
13 if (handle == NULL) in do_test()
19 test = dlsym (handle, "test"); in do_test()
33 dlclose (handle); in do_test()
A Ddlvsym.c27 void *handle; member
41 args->sym = _dl_vsym (args->handle, args->name, args->version, args->who); in dlvsym_doit()
45 dlvsym_implementation (void *handle, const char *name, const char *version, in dlvsym_implementation() argument
50 args.handle = handle; in dlvsym_implementation()
66 ___dlvsym (void *handle, const char *name, const char *version) in ___dlvsym() argument
69 return GLRO (dl_dlfcn_hook)->dlvsym (handle, name, version, in ___dlvsym()
72 return dlvsym_implementation (handle, name, version, RETURN_ADDRESS (0)); in ___dlvsym()
83 __dlvsym (void *handle, const char *name, const char *version, void *dl_caller) in __dlvsym() argument
85 return dlvsym_implementation (handle, name, version, dl_caller); in __dlvsym()
89 ___dlvsym (void *handle, const char *name, const char *version) in ___dlvsym() argument
[all …]
A Dtststatic5.c37 void *handle; in do_test() local
40 handle = dlopen ("modstatic5.so", RTLD_LAZY | RTLD_LOCAL); in do_test()
41 if (handle == NULL) in do_test()
48 my_getpagesize = dlsym (handle, "my_getpagesize"); in do_test()
65 dlclose (handle); in do_test()
A Dbug-atexit3.c7 void *handle = dlopen ("$ORIGIN/bug-atexit3-lib.so", RTLD_LAZY); in do_test() local
8 if (handle == NULL) in do_test()
13 dlclose (handle); in do_test()
A Dtststatic3.c37 void *handle; in do_test() local
40 handle = dlopen ("modstatic3.so", RTLD_LAZY | RTLD_GLOBAL); in do_test()
41 if (handle == NULL) in do_test()
48 foop = dlsym (handle, "foo"); in do_test()
55 getfoo = dlsym (handle, "getfoo"); in do_test()
62 setfoo = dlsym (handle, "setfoo"); in do_test()
122 dlclose (handle); in do_test()
A Ddlinfo.c28 void *handle; member
37 struct link_map *l = args->handle; in dlinfo_doit()
82 dlinfo_implementation (void *handle, int request, void *arg) in dlinfo_implementation() argument
84 struct dlinfo_args args = { handle, request, arg }; in dlinfo_implementation()
90 ___dlinfo (void *handle, int request, void *arg) in ___dlinfo() argument
93 return GLRO (dl_dlfcn_hook)->dlinfo (handle, request, arg); in ___dlinfo()
95 return dlinfo_implementation (handle, request, arg); in ___dlinfo()
105 __dlinfo (void *handle, int request, void *arg) in __dlinfo() argument
107 return dlinfo_implementation (handle, request, arg); in __dlinfo()
A Ddlclose.c24 __dlclose (void *handle) in __dlclose() argument
28 return GLRO (dl_dlfcn_hook)->dlclose (handle); in __dlclose()
31 return _dlerror_run (GLRO (dl_close), handle) ? -1 : 0; in __dlclose()
A Dtst-dlinfo.c31 void *handle = dlopen ("glreflib3.so", RTLD_NOW); in do_test() local
32 if (handle == NULL) in do_test()
36 if (dlinfo (handle, req, arg) != 0) \ in do_test()
46 if (l != handle) in do_test()
48 printf ("bogus link_map? %p != %p\n", l, handle); in do_test()
81 if (dlinfo (handle, RTLD_DI_LMID, &lmid) != 0) in do_test()
90 dlclose (handle); in do_test()
A Dtststatic2.c12 void *handle = dlopen ("modstatic2-nonexistent.so", RTLD_LAZY); in do_test() local
13 if (handle == NULL) in do_test()
18 handle = dlopen ("modstatic2.so", RTLD_LAZY); in do_test()
19 if (handle == NULL) in do_test()
26 test = dlsym (handle, "test"); in do_test()
93 res = dlinfo (handle, RTLD_DI_LMID, &lmid); in do_test()
139 void *test2 = dlsymfn (handle, "test"); in do_test()
152 dlclose (handle); in do_test()
155 if (handle == NULL) in do_test()
160 dlclose (handle); in do_test()
[all …]
A Dtst-dladdr.c33 void *handle; in do_test() local
39 handle = dlopen ("glreflib1.so", RTLD_NOW); in do_test()
40 if (handle == NULL) in do_test()
43 sym = dlsym (handle, "ref1"); in do_test()
68 dlclose (handle); in do_test()
A Dmodstatic2.c17 if (handle == NULL) in test()
23 if (handle == NULL) in test()
30 test2 = dlsym (handle, "test"); in test()
141 void *test3 = dlsymfn (handle, "test"); in test()
154 dlclose (handle); in test()
157 if (handle == NULL) in test()
162 dlclose (handle); in test()
165 if (handle == NULL) in test()
174 if (handle == NULL) in test()
181 test4 = dlsym (handle, "test"); in test()
[all …]

Completed in 19 milliseconds