/bionic/libc/tools/ |
D | check-symbols-glibc.py | 194 for symbol in sorted((glibc - posix).difference(bionic)): 195 print symbol 199 for symbol in sorted((posix.intersection(glibc)).difference(bionic)): 200 print symbol 207 for symbol in sorted((bionic - allowed_stuff).difference(glibc)): 208 if symbol in ndk_ignored: 209 symbol += '*' 210 print symbol
|
D | symbols.py | 50 symbol = m.group(2) 51 symbol = re.sub('@.*', '', symbol) 52 symbols.add(symbol)
|
D | ndk_missing_symbols.py | 43 for symbol in sorted(compat_not_covered): 44 print symbol
|
D | check-symbols.py | 60 symbol = string.split(m.group(2), '@')[0] 62 actual_symbols.add(symbol) 64 actual_symbols.add(symbol)
|
/bionic/libc/include/ |
D | dlfcn.h | 49 extern void* dlsym(void* handle, const char* symbol) __nonnull((2)); 50 extern void* dlvsym(void* handle, const char* symbol, const char* version) __nonnull((2, 3));
|
/bionic/libc/malloc_debug/ |
D | backtrace.cpp | 139 const char* symbol = nullptr; in backtrace_string() local 144 symbol = info.dli_sname; in backtrace_string() 155 if (symbol != nullptr) { in backtrace_string() 156 char* demangled_symbol = __cxa_demangle(symbol, nullptr, nullptr, nullptr); in backtrace_string() 157 const char* best_name = (demangled_symbol != nullptr) ? demangled_symbol : symbol; in backtrace_string()
|
/bionic/libc/bionic/ |
D | NetdClient.cpp | 28 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { in netdClientInitFunction() argument 30 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol)); in netdClientInitFunction()
|
D | malloc_common.cpp | 228 char symbol[128]; in InitMallocFunction() local 229 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, suffix); in InitMallocFunction() 230 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol)); in InitMallocFunction() 232 error_log("%s: dlsym(\"%s\") failed", getprogname(), symbol); in InitMallocFunction()
|
/bionic/tests/ |
D | stack_unwinding_test.cpp | 43 const char* symbol = "<unknown>"; in FrameCounter() local 49 symbol = info.dli_sname; in FrameCounter() 55 …fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dl… in FrameCounter()
|
D | dlfcn_test.cpp | 75 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST() local 76 ASSERT_TRUE(symbol == nullptr); in TEST() 115 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST() local 116 ASSERT_TRUE(symbol == nullptr); in TEST()
|
/bionic/libdl/ |
D | libdl.c | 30 void* dlsym(void* handle __unused, const char* symbol __unused) { return 0; } in dlsym() 32 void* dlvsym(void* handle __unused, const char* symbol __unused, const char* version __unused) { in dlvsym()
|
/bionic/linker/ |
D | dlfcn.cpp | 90 void* dlsym_impl(void* handle, const char* symbol, const char* version, void* caller_addr) { in dlsym_impl() argument 93 if (!do_dlsym(handle, symbol, version, caller_addr, &result)) { in dlsym_impl() 101 void* dlsym(void* handle, const char* symbol) { in dlsym() argument 103 return dlsym_impl(handle, symbol, nullptr, caller_addr); in dlsym() 106 void* dlvsym(void* handle, const char* symbol, const char* version) { in dlvsym() argument 108 return dlsym_impl(handle, symbol, version, caller_addr); in dlvsym()
|
D | linker.h | 308 const ElfW(Sym)** symbol) const; 436 const soinfo::soinfo_list_t& local_group, const ElfW(Sym)** symbol); 458 void* caller_addr, void** symbol);
|
D | linker.cpp | 718 const ElfW(Sym)** symbol) const { in find_symbol_by_name() 726 *symbol = symbol_index == 0 ? nullptr : symtab_ + symbol_index; in find_symbol_by_name() 936 const soinfo::soinfo_list_t& local_group, const ElfW(Sym)** symbol) { in soinfo_do_lookup() argument 1023 *symbol = s; in soinfo_do_lookup() 2420 void* caller_addr, void** symbol) { in do_dlsym() argument 2462 *symbol = reinterpret_cast<void*>(found->resolve_symbol_address(sym)); in do_dlsym()
|
/bionic/ |
D | README.md | 157 an invalid argument helps check that we're generating the right symbol
|