Searched refs:dlsym (Results 1 - 25 of 323) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.shared/
H A Dhost.c23 int (*plugin1_init)() = dlsym(plugin1, "plugin_init");
24 int (*plugin1_term)() = dlsym(plugin1, "plugin_term");
25 int (*runTests1)() = dlsym(plugin1, "runTests");
26 int (*plugin2_init)() = dlsym(plugin2, "plugin_init");
27 int (*plugin2_term)() = dlsym(plugin2, "plugin_term");
28 int (*runTests2)() = dlsym(plugin2, "runTests");
40 plugin1_init = dlsym(plugin1, "plugin_init");
41 plugin1_term = dlsym(plugin1, "plugin_term");
42 runTests1 = dlsym(plugin1, "runTests");
H A DloadDR.c13 int (*rt_init)(void) = dlsym(h, "rt_init");
14 int (*rt_term)(void) = dlsym(h, "rt_term");
15 void* (*rt_loadLibrary)(const char*) = dlsym(h, "rt_loadLibrary");
16 int (*rt_unloadLibrary)(void*) = dlsym(h, "rt_unloadLibrary");
30 int (*runTests)(void) = dlsym(dlib, "runTests");
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.shared/
H A Dhost.c28 int (*plugin1_init)() = dlsym(plugin1, "plugin_init");
29 int (*plugin1_term)() = dlsym(plugin1, "plugin_term");
30 int (*runTests1)() = dlsym(plugin1, "runTests");
31 int (*plugin2_init)() = dlsym(plugin2, "plugin_init");
32 int (*plugin2_term)() = dlsym(plugin2, "plugin_term");
33 int (*runTests2)() = dlsym(plugin2, "runTests");
45 plugin1_init = dlsym(plugin1, "plugin_init");
46 plugin1_term = dlsym(plugin1, "plugin_term");
47 runTests1 = dlsym(plugin1, "runTests");
H A DloadDR.c13 int (*rt_init)(void) = dlsym(h, "rt_init");
14 int (*rt_term)(void) = dlsym(h, "rt_term");
15 void* (*rt_loadLibrary)(const char*) = dlsym(h, "rt_loadLibrary");
16 int (*rt_unloadLibrary)(void*) = dlsym(h, "rt_unloadLibrary");
30 int (*runTests)(void) = dlsym(dlib, "runTests");
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-elf/
H A Dpr21964-2c.c19 sym = dlsym(dl, "__start___verbose");
23 func = dlsym(dl, "foo2");
H A Ddl1main.c20 fcn = (void (*)(void)) dlsym(handle, "foo");
23 printf("dlsym foo: %s\n", dlerror ());
H A Ddl6amain.c20 fcn = (void (*)(void)) dlsym(handle, "foo");
23 printf("dlsym foo: %s\n", dlerror ());
H A Ddl6bmain.c20 fcn = (void (*)(void)) dlsym(handle, "foo");
23 printf("dlsym foo: %s\n", dlerror ());
/netbsd-current/external/gpl3/gdb.old/dist/gold/testsuite/
H A Difuncmain3.c53 p = dlsym (h, "foo");
62 f = dlsym (h, "get_foo_p");
69 ret = dlsym (h, "ret_foo");
84 f = dlsym (h, "get_foo_hidden_p");
91 ret = dlsym (h, "ret_foo_hidden");
104 f = dlsym (h, "get_foo_protected_p");
111 ret = dlsym (h, "ret_foo_protected");
/netbsd-current/lib/librumphijack/
H A Dhijackdlsym.c52 return dlsym(handle, symbol);
/netbsd-current/external/bsd/openpam/dist/lib/libpam/
H A Dopenpam_dlfunc.h55 return ((dlfunc_t)dlsym(handle, symbol));
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dinfo-shared.c39 func = (void (*)(int)) dlsym (handle1, "foo");
42 func = (void (*)(int)) dlsym (handle2, "bar");
H A Dwatchpoint-solib.c25 # define dlsym(handle, func) GetProcAddress (handle, TEXT (func)) macro
27 # define dlsym(handle, func) GetProcAddress (handle, func) macro
52 foo = (void (*)(int))dlsym (handle, "foo");
H A Dcorefile-buildid-shlib.c25 #define dlsym(handle, func) GetProcAddress (handle, func) macro
48 func = (int (*)(void)) dlsym (handle, "crashfunc");
H A Dsolib-disc.c24 #define dlsym(handle, func) GetProcAddress (handle, func) macro
43 func = (void (*)(void)) dlsym (handle, "shrfunc");
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dinfo-shared.c39 func = (void (*)(int)) dlsym (handle1, "foo");
42 func = (void (*)(int)) dlsym (handle2, "bar");
H A Dwatchpoint-solib.c25 # define dlsym(handle, func) GetProcAddress (handle, TEXT (func)) macro
27 # define dlsym(handle, func) GetProcAddress (handle, func) macro
52 foo = (void (*)(int))dlsym (handle, "foo");
H A Dcorefile-buildid-shlib.c25 #define dlsym(handle, func) GetProcAddress (handle, func) macro
48 func = (int (*)(void)) dlsym (handle, "crashfunc");
H A Dsolib-disc.c24 #define dlsym(handle, func) GetProcAddress (handle, func) macro
43 func = (void (*)(void)) dlsym (handle, "shrfunc");
H A Djit-elf-dlmain.c15 p_main = dlsym (h, "jit_dl_main");
/netbsd-current/external/gpl2/lvm2/dist/lib/locking/
H A Dexternal_locking.c83 if (!(_init_fn = dlsym(_locking_lib, "locking_init")) ||
84 !(_lock_fn = dlsym(_locking_lib, "lock_resource")) ||
85 !(_reset_fn = dlsym(_locking_lib, "reset_locking")) ||
86 !(_end_fn = dlsym(_locking_lib, "locking_end"))) {
94 if (!(_lock_query_fn = dlsym(_locking_lib, "query_resource")))
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A Ddbe_memmgr.c54 __real_malloc = (void*(*)(size_t))dlsym (RTLD_NEXT, "malloc");
55 __real_free = (void(*)(void *))dlsym (RTLD_NEXT, "free");
56 __real_realloc = (void*(*)(void *, size_t))dlsym (RTLD_NEXT, "realloc");
57 __real_calloc = (void*(*)(size_t, size_t))dlsym (RTLD_NEXT, "calloc");
58 __real_strdup = (char*(*)(const char*))dlsym (RTLD_NEXT, "strdup");
86 * init_heap_intf -> dlsym -> calloc -> malloc -> init_heap_intf
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A DcollectorAPI.c49 __real_collector_sample = dlsym (libcollector, "__collector_sample");
50 __real_collector_pause = dlsym (libcollector, "__collector_pause");
51 __real_collector_resume = dlsym (libcollector, "__collector_resume");
52 __real_collector_terminate_expt = dlsym (libcollector, "__collector_terminate_expt");
53 __real_collector_func_load = dlsym (libcollector, "__collector_func_load");
54 __real_collector_func_unload = dlsym (libcollector, "__collector_func_unload");
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/interception/
H A Dinterception_linux.cc20 #include <dlfcn.h> // for dlsym() and dlvsym()
34 *func_addr = (uptr)dlsym(RTLD_NEXT, func_name);
41 *func_addr = (uptr)dlsym(RTLD_DEFAULT, func_name);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/interception/
H A Dinterception_linux.cc18 #include <dlfcn.h> // for dlsym() and dlvsym()
31 *func_addr = (uptr)dlsym(RTLD_NEXT, func_name);
38 *func_addr = (uptr)dlsym(RTLD_DEFAULT, func_name);

Completed in 163 milliseconds

1234567891011>>