Home
last modified time | relevance | path

Searched refs:RTLD_NEXT (Results 1 - 25 of 35) sorted by relevance

12

/third_party/vulkan-loader/tests/framework/shim/
H A Dunix_shim.cpp131 if (!real_opendir) real_opendir = (PFN_OPENDIR)dlsym(RTLD_NEXT, "opendir"); in OPENDIR_FUNC_NAME()
153 if (!real_readdir) real_readdir = (PFN_READDIR)dlsym(RTLD_NEXT, "readdir"); in READDIR_FUNC_NAME()
199 if (!real_closedir) real_closedir = (PFN_CLOSEDIR)dlsym(RTLD_NEXT, "closedir"); in CLOSEDIR_FUNC_NAME()
216 if (!real_access) real_access = (PFN_ACCESS)dlsym(RTLD_NEXT, "access"); in ACCESS_FUNC_NAME()
233 if (!real_fopen) real_fopen = (PFN_FOPEN)dlsym(RTLD_NEXT, "fopen"); in FOPEN_FUNC_NAME()
253 if (!real_dlopen) real_dlopen = (PFN_DLOPEN)dlsym(RTLD_NEXT, "dlopen"); in DLOPEN_FUNC_NAME()
264 if (!real_geteuid) real_geteuid = (PFN_GETEUID)dlsym(RTLD_NEXT, "geteuid"); in GETEUID_FUNC_NAME()
276 if (!real_getegid) real_getegid = (PFN_GETEGID)dlsym(RTLD_NEXT, "getegid"); in GETEGID_FUNC_NAME()
290 if (!real_secure_getenv) real_secure_getenv = (PFN_SEC_GETENV)dlsym(RTLD_NEXT, "secure_getenv"); in SECURE_GETENV_FUNC_NAME()
302 if (!real__secure_getenv) real__secure_getenv = (PFN_SEC_GETENV)dlsym(RTLD_NEXT, "__secure_geten in __SECURE_GETENV_FUNC_NAME()
[all...]
/third_party/vulkan-loader/tests/live_verification/dynamic_loader_behavior/
H A Dtest_dynamic_loading_and_linking.cpp32 do_logic = reinterpret_cast<DoLogicFunction>(dlsym(RTLD_NEXT, DO_LOGIC_FUNCTION_NAME)); in main()
43 do_logic = reinterpret_cast<DoLogicFunction>(dlsym(RTLD_NEXT, DO_LOGIC_FUNCTION_NAME)); in main()
H A Dtest_dynamic_linking.cpp40 do_logic = reinterpret_cast<DoLogicFunction>(dlsym(RTLD_NEXT, DO_LOGIC_FUNCTION_NAME)); in main()
H A Dtest_dynamic_loading.cpp48 // should fail because RTLD_NEXT on linux only is for dynamically *linked* libraries in main()
49 do_logic = reinterpret_cast<DoLogicFunction>(dlsym(RTLD_NEXT, DO_LOGIC_FUNCTION_NAME)); in main()
/third_party/libunwind/libunwind/tests/
H A DLtest-nocalloc.c46 /* In glibc, dlsym() calls calloc. Calling dlsym(RTLD_NEXT, "calloc") here in calloc()
54 func = dlsym(RTLD_NEXT, "calloc"); in calloc()
71 func = dlsym(RTLD_NEXT, "malloc"); in malloc()
H A DGtest-nomalloc.c43 func = (void *(*)()) dlsym(RTLD_NEXT, "malloc"); in malloc()
/third_party/mesa3d/src/intel/tools/
H A Dintel_sanitize_gpu.c429 libc_open = dlsym(RTLD_NEXT, "open"); in init()
430 libc_close = dlsym(RTLD_NEXT, "close"); in init()
431 libc_fcntl = dlsym(RTLD_NEXT, "fcntl"); in init()
432 libc_ioctl = dlsym(RTLD_NEXT, "ioctl"); in init()
H A Dintel_dump_gpu.c748 libc_close = dlsym(RTLD_NEXT, "close"); in init()
749 libc_ioctl = dlsym(RTLD_NEXT, "ioctl"); in init()
750 libc_munmap = dlsym(RTLD_NEXT, "munmap"); in init()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/libs/
H A Dldso_dlsym_lib_use_rtld_next.c5 return dlsym(RTLD_NEXT, "printf"); in RtldNextFunc()
/third_party/musl/porting/liteos_m/kernel/include/
H A Ddlfcn.h17 #define RTLD_NEXT ((void *)-1) macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Ddlfcn.h17 #define RTLD_NEXT ((void *)-1) macro
/third_party/musl/porting/uniproton/kernel/include/
H A Ddlfcn.h17 #define RTLD_NEXT ((void *)-1) macro
/third_party/python/Modules/_ctypes/darwin/
H A Ddlfcn.h77 #define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */ macro
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_dlsym_test.cpp143 * @tc.desc: Test dlsym find and use a defined symbol by RTLD_NEXT.
148 void* fn = dlsym(RTLD_NEXT, "printf"); in HWTEST_F()
176 * @tc.desc: Test dlsym find and use a undefined symbol by RTLD_NEXT.
181 void* fn = dlsym(RTLD_NEXT, "UNDEFINED_SYMBOL"); in HWTEST_F()
220 * @tc.desc: Test dlsym flag RTLD_NEXT can use in dlopened library.
/third_party/musl/porting/linux/user/include/
H A Ddlfcn.h18 #define RTLD_NEXT ((void *)-1) macro
/third_party/musl/include/
H A Ddlfcn.h18 #define RTLD_NEXT ((void *)-1) macro
/third_party/pulseaudio/src/utils/
H A Dpadsp.c150 _ioctl = (int (*)(int, int, void*)) dlsym_fn(RTLD_NEXT, "ioctl"); \
158 _open = (int (*)(const char *, int, mode_t)) dlsym_fn(RTLD_NEXT, "open"); \
166 ___open_2 = (int (*)(const char *, int)) dlsym_fn(RTLD_NEXT, "__open_2"); \
174 _open64 = (int (*)(const char *, int, mode_t)) dlsym_fn(RTLD_NEXT, "open64"); \
182 ___open64_2 = (int (*)(const char *, int)) dlsym_fn(RTLD_NEXT, "__open64_2"); \
190 _close = (int (*)(int)) dlsym_fn(RTLD_NEXT, "close"); \
198 _access = (int (*)(const char*, int)) dlsym_fn(RTLD_NEXT, "access"); \
206 _stat = (int (*)(const char *, struct stat *)) dlsym_fn(RTLD_NEXT, "stat"); \
214 _stat64 = (int (*)(const char *, struct stat64 *)) dlsym_fn(RTLD_NEXT, "stat64"); \
222 ___xstat = (int (*)(int, const char *, struct stat *)) dlsym_fn(RTLD_NEXT, "__xsta
[all...]
/third_party/libunwind/libunwind/src/
H A Ddl-iterate-phdr.c59 libc_impl = dlsym (RTLD_NEXT, "dl_iterate_phdr"); in dl_iterate_phdr()
/third_party/libdrm/tests/nouveau/
H A Dthreaded.c83 old_ioctl = dlsym(RTLD_NEXT, "ioctl"); in main()
/third_party/musl/libc-test/src/functionalext/ldso_randomization/
H A Dldso_randomization_test.c533 * @tc.desc : Call the dlsym interface to get symbol address, handle is setted to RTLD_NEXT, and name is valid
538 void *sym = dlsym(RTLD_NEXT, "fopen"); in dlsym_randomization_0600()
544 * @tc.desc : Call the dlsym interface to get symbol address, handle is setted to RTLD_NEXT, and name is invalid
549 void *sym = dlsym(RTLD_NEXT, "invalid_func"); in dlsym_randomization_0700()
/third_party/node/deps/openssl/openssl/crypto/dso/
H A Ddso_dlfcn.c31 (defined(__osf__) && !defined(RTLD_NEXT)) || \
/third_party/openssl/crypto/dso/
H A Ddso_dlfcn.c31 (defined(__osf__) && !defined(RTLD_NEXT)) || \
/third_party/mesa3d/src/drm-shim/
H A Ddrm_shim.c150 void *func = dlsym(RTLD_NEXT, name); in get_function_pointer()
/third_party/node/src/
H A Dnode_binding.cc214 if (handle == RTLD_DEFAULT || handle == RTLD_NEXT) in wrapped_dlsym()
/third_party/rust/crates/libc/src/unix/bsd/
H A Dmod.rs446 pub const RTLD_NEXT: *mut ::c_void = -1isize as *mut ::c_void; consts

Completed in 13 milliseconds

12