/third_party/vulkan-loader/tests/framework/shim/ |
H A D | unix_shim.cpp | 131 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 D | test_dynamic_loading_and_linking.cpp | 32 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 D | test_dynamic_linking.cpp | 40 do_logic = reinterpret_cast<DoLogicFunction>(dlsym(RTLD_NEXT, DO_LOGIC_FUNCTION_NAME)); in main()
|
H A D | test_dynamic_loading.cpp | 48 // 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 D | Ltest-nocalloc.c | 46 /* 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 D | Gtest-nomalloc.c | 43 func = (void *(*)()) dlsym(RTLD_NEXT, "malloc"); in malloc()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_sanitize_gpu.c | 429 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 D | intel_dump_gpu.c | 748 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 D | ldso_dlsym_lib_use_rtld_next.c | 5 return dlsym(RTLD_NEXT, "printf"); in RtldNextFunc()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | dlfcn.h | 17 #define RTLD_NEXT ((void *)-1) macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | dlfcn.h | 17 #define RTLD_NEXT ((void *)-1) macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | dlfcn.h | 17 #define RTLD_NEXT ((void *)-1) macro
|
/third_party/python/Modules/_ctypes/darwin/ |
H A D | dlfcn.h | 77 #define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */ macro
|
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
H A D | ldso_dlsym_test.cpp | 143 * @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 D | dlfcn.h | 18 #define RTLD_NEXT ((void *)-1) macro
|
/third_party/musl/include/ |
H A D | dlfcn.h | 18 #define RTLD_NEXT ((void *)-1) macro
|
/third_party/pulseaudio/src/utils/ |
H A D | padsp.c | 150 _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 D | dl-iterate-phdr.c | 59 libc_impl = dlsym (RTLD_NEXT, "dl_iterate_phdr"); in dl_iterate_phdr()
|
/third_party/libdrm/tests/nouveau/ |
H A D | threaded.c | 83 old_ioctl = dlsym(RTLD_NEXT, "ioctl"); in main()
|
/third_party/musl/libc-test/src/functionalext/ldso_randomization/ |
H A D | ldso_randomization_test.c | 533 * @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 D | dso_dlfcn.c | 31 (defined(__osf__) && !defined(RTLD_NEXT)) || \
|
/third_party/openssl/crypto/dso/ |
H A D | dso_dlfcn.c | 31 (defined(__osf__) && !defined(RTLD_NEXT)) || \
|
/third_party/mesa3d/src/drm-shim/ |
H A D | drm_shim.c | 150 void *func = dlsym(RTLD_NEXT, name); in get_function_pointer()
|
/third_party/node/src/ |
H A D | node_binding.cc | 214 if (handle == RTLD_DEFAULT || handle == RTLD_NEXT) in wrapped_dlsym()
|
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 446 pub const RTLD_NEXT: *mut ::c_void = -1isize as *mut ::c_void; consts
|