Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/tools/
Dcheck-symbols-glibc.py194 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
Dsymbols.py50 symbol = m.group(2)
51 symbol = re.sub('@.*', '', symbol)
52 symbols.add(symbol)
Dndk_missing_symbols.py43 for symbol in sorted(compat_not_covered):
44 print symbol
Dcheck-symbols.py60 symbol = string.split(m.group(2), '@')[0]
62 actual_symbols.add(symbol)
64 actual_symbols.add(symbol)
/bionic/libc/include/
Ddlfcn.h49 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/
Dbacktrace.cpp139 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/
DNetdClient.cpp28 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { in netdClientInitFunction() argument
30 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol)); in netdClientInitFunction()
Dmalloc_common.cpp228 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/
Dstack_unwinding_test.cpp43 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()
Ddlfcn_test.cpp75 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/
Dlibdl.c30 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/
Ddlfcn.cpp90 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()
Dlinker.h308 const ElfW(Sym)** symbol) const;
436 const soinfo::soinfo_list_t& local_group, const ElfW(Sym)** symbol);
458 void* caller_addr, void** symbol);
Dlinker.cpp718 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/
DREADME.md157 an invalid argument helps check that we're generating the right symbol