/bionic/tests/ |
D | dlfcn_test.cpp | 94 void* sym = dlsym(self, "DlSymTestFunction"); in TEST() 111 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST() 117 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT")); in TEST() 125 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT")); in TEST() 133 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT")); in TEST() 151 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST() 157 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT")); in TEST() 165 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT")); in TEST() 173 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT")); in TEST() 189 void* sym = dlsym(handle, "getRandomNumber"); in TEST() [all …]
|
D | elftls_dl_test.cpp | 56 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST() 94 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST() 110 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST() 142 …auto missing_weak_dyn_tls_addr = reinterpret_cast<int*(*)()>(dlsym(lib, "missing_weak_dyn_tls_addr… in TEST() 159 reinterpret_cast<int(*)()>(dlsym(lib, "bump")); \ in TEST() 230 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST() 256 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST() 280 int* var_addr = static_cast<int*>(dlsym(lib, "elftls_shared_var")); in TEST() 284 int* var_addr = static_cast<int*>(dlsym(lib, "elftls_shared_var")); in TEST() 294 auto get_var_addr = reinterpret_cast<int*(*)()>(dlsym(lib, "get_large_tls_var_addr")); in TEST() [all …]
|
D | dlext_test.cpp | 93 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F() 103 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F() 117 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F() 121 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle_, "dlopen_testlib_taxicab_numb… in TEST_F() 144 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle_, "dlopen_testlib_taxicab_numb… in TEST_F() 179 void* sym = dlsym(RTLD_DEFAULT, "this_symbol_does_not_exist___"); in TEST_F() 265 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle, "dlopen_testlib_taxicab_numbe… in TEST() 281 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); in TEST() 297 reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "android_update_LD_LIBRARY_PATH")); in TEST() 310 fn = reinterpret_cast<int (*)(void)>(dlsym(handle, "getRandomNumber")); in TEST() [all …]
|
D | atexit_test.cpp | 37 get_cxx_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_cxx_ctor_called")); in TEST() 38 get_attr_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_attr_ctor_called")); in TEST() 45 void* sym = dlsym(handle, "register_atexit"); in TEST()
|
D | pthread_dlfcn_test.cpp | 51 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork")); in TEST() 96 fn_t fn = reinterpret_cast<fn_t>(dlsym(g_atfork_test_handle, "proxy_pthread_atfork")); in TEST()
|
/bionic/tests/libs/ |
D | dlsym_from_this_functions.cpp | 25 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol")); in lookup_dlsym_symbol_using_RTLD_DEFAULT() 35 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol2")); in lookup_dlsym_symbol2_using_RTLD_DEFAULT() 45 int* result = static_cast<int*>(dlsym(RTLD_NEXT, "test_dlsym_symbol")); in lookup_dlsym_symbol_using_RTLD_NEXT()
|
D | check_rtld_next_from_library.cpp | 24 g_libc_fclose_ptr = dlsym(RTLD_NEXT, "fclose"); in __libc_fclose_lookup()
|
D | segment_gap_outer.cpp | 23 return dlsym(handle, "inner"); in get_inner()
|
D | namespaces_root.cpp | 59 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string")); in ns_get_dlopened_string()
|
D | dlopen_testlib_ifunc_variable_impl.cpp | 25 g_flag = reinterpret_cast<uintptr_t>(dlsym(RTLD_DEFAULT, "dlsym")); in init_flag()
|
D | dlopen_testlib_ifunc.cpp | 25 g_flag = reinterpret_cast<uintptr_t>(dlsym(RTLD_DEFAULT, "dlsym")); in init_flag()
|
D | ns_hidden_child_helper.cpp | 77 auto app_function = reinterpret_cast<void(*)()>(dlsym(app_lib, "app_function")); in main()
|
/bionic/libdl/ |
D | libdl_static.cpp | 29 void* dlsym(void* /*handle*/, const char* /*symbol*/) { in dlsym() function
|
D | libdl.map.txt | 26 dlsym;
|
D | libdl.cpp | 93 void* dlsym(void* handle, const char* symbol) { in dlsym() function
|
/bionic/tests/headers/posix/ |
D | dlfcn_h.c | 42 FUNCTION(dlsym, void* (*f)(void*, const char*)); in dlfcn_h()
|
/bionic/libc/bionic/ |
D | icu.cpp | 60 void* symbol = dlsym(g_libicuuc_handle, versioned_symbol_name); in __find_icu_symbol()
|
D | NetdClient.cpp | 33 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol)); in netdClientInitFunction()
|
D | malloc_common_dynamic.cpp | 129 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol)); in InitMallocFunction() 265 gFunctions[i] = dlsym(impl_handle, symbol); in InitSharedLibrary()
|
/bionic/libc/include/ |
D | dlfcn.h | 51 void* dlsym(void* __handle, const char* __symbol);
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_009.S | 21 CALL(dlsym)
|
D | liblinker_reloc_bench_094.S | 53 CALL(dlsym)
|
D | liblinker_reloc_bench_093.S | 118 CALL(dlsym)
|
D | liblinker_reloc_bench_167.S | 99 CALL(dlsym)
|
/bionic/libfdtrack/ |
D | fdtrack_test.cpp | 54 dlsym(libfdtrack, "fdtrack_iterate")); in RunFdtrack()
|