Home
last modified time | relevance | path

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

12

/bionic/libc/tools/
Dcheck-symbols-glibc.py214 for symbol in sorted((glibc - posix).difference(bionic)):
215 print symbol
219 for symbol in sorted((posix.intersection(glibc)).difference(bionic)):
220 print symbol
227 for symbol in sorted((bionic - allowed_stuff).difference(glibc)):
228 if symbol in ndk_ignored:
229 symbol += '*'
230 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/tools/versioner/tests/version_mismatch/
Dexpected_fail1 versioner: inconsistent availability for symbol 'foo'
2 versioner: failed to calculate symbol availability
/bionic/tools/versioner/tests/multiple_decl_mismatch/
Dexpected_fail1 versioner: inconsistent availability for symbol 'foo'
2 versioner: failed to calculate symbol availability
/bionic/libc/bionic/
Dicu.cpp94 void* symbol = dlsym(g_libicuuc_handle, versioned_symbol_name); in __find_icu_symbol() local
95 if (symbol == nullptr) { in __find_icu_symbol()
98 return symbol; in __find_icu_symbol()
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.cpp236 char symbol[128]; in InitMallocFunction() local
237 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, suffix); in InitMallocFunction()
238 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol)); in InitMallocFunction()
240 error_log("%s: dlsym(\"%s\") failed", getprogname(), symbol); in InitMallocFunction()
/bionic/libdl/
Dlibdl.c33 void* __loader_dlsym(void* handle, const char* symbol, const void* caller_addr);
37 const char* symbol,
110 void* dlsym(void* handle, const char* symbol) { in dlsym() argument
112 return __loader_dlsym(handle, symbol, caller_addr); in dlsym()
115 void* dlvsym(void* handle, const char* symbol, const char* version) { in dlvsym() argument
117 return __loader_dlvsym(handle, symbol, version, caller_addr); in dlvsym()
/bionic/libc/malloc_debug/
Dbacktrace.cpp139 const char* symbol = nullptr; in backtrace_string() local
144 symbol = info.dli_sname; in backtrace_string()
157 if (symbol != nullptr) { in backtrace_string()
158 char* demangled_symbol = __cxa_demangle(symbol, nullptr, nullptr, nullptr); in backtrace_string()
159 const char* best_name = (demangled_symbol != nullptr) ? demangled_symbol : symbol; in backtrace_string()
/bionic/libc/include/
Ddlfcn.h56 void* dlsym(void* handle, const char* _Nonnull symbol);
57 void* dlvsym(void* handle, const char* _Nonnull symbol, const char* _Nonnull version) __INTRODUCED_…
/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()
DAndroid.bp421 // libc and libc++ both define std::nothrow. libc's is a private symbol, but this
423 // effective until it has been linked. To fix this, just allow multiple symbol
Ddlfcn_test.cpp99 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST() local
100 ASSERT_TRUE(symbol == nullptr); in TEST()
139 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST() local
140 ASSERT_TRUE(symbol == nullptr); in TEST()
/bionic/linker/
Ddlfcn.cpp106 void* dlsym_impl(void* handle, const char* symbol, const char* version, const void* caller_addr) { in dlsym_impl() argument
110 if (!do_dlsym(handle, symbol, version, caller_addr, &result)) { in dlsym_impl()
118 void* __dlsym(void* handle, const char* symbol, const void* caller_addr) { in __dlsym() argument
119 return dlsym_impl(handle, symbol, nullptr, caller_addr); in __dlsym()
122 void* __dlvsym(void* handle, const char* symbol, const char* version, const void* caller_addr) { in __dlvsym() argument
123 return dlsym_impl(handle, symbol, version, caller_addr); in __dlvsym()
Dlinker.h92 const soinfo_list_t& local_group, const ElfW(Sym)** symbol);
126 void** symbol);
Dlinker_soinfo.h220 const ElfW(Sym)** symbol) const;
Dlinker_soinfo.cpp134 const ElfW(Sym)** symbol) const { in find_symbol_by_name()
142 *symbol = symbol_index == 0 ? nullptr : symtab_ + symbol_index; in find_symbol_by_name()
Dlinker.cpp400 const soinfo_list_t& local_group, const ElfW(Sym)** symbol) { in soinfo_do_lookup() argument
487 *symbol = s; in soinfo_do_lookup()
2029 void** symbol) { in do_dlsym() argument
2089 *symbol = reinterpret_cast<void*>(found->resolve_symbol_address(sym)); in do_dlsym()
2093 sym_name, sym_ver, found->get_soname(), *symbol); in do_dlsym()
/bionic/tools/versioner/src/
DSymbolDatabase.cpp51 for (const ELFSymbolRef symbol : elf->getDynamicSymbolIterators()) { in getSymbols() local
52 Expected<StringRef> symbolNameOrError = symbol.getName(); in getSymbols()
Dversioner.cpp248 static bool checkSymbol(const Symbol& symbol) { in checkSymbol() argument
252 for (const auto& decl_it : symbol.declarations) { in checkSymbol()
285 if (!symbol.calculateAvailability(&availability)) { in checkSymbol()
286 fprintf(stderr, "versioner: inconsistent availability for symbol '%s'\n", symbol.name.c_str()); in checkSymbol()
287 symbol.dump(cwd); in checkSymbol()
DDeclarationDatabase.cpp190 Symbol symbol = {.name = declaration_name }; in VisitDecl() local
192 std::tie(symbol_it, dummy) = database.symbols.insert({ declaration_name, symbol }); in VisitDecl()
DPreprocessor.cpp422 const Symbol& symbol = symbol_it.second; in preprocessHeaders() local
424 for (const auto& decl_it : symbol.declarations) { in preprocessHeaders()
/bionic/tests/libs/
DAndroid.bp300 // This library is used by dl_load test to check symbol preempting
310 // This library is used by dl_load test to check symbol preempting
338 // Library using symbol from libdl_test_df_1_global
416 // Check that RTLD_NEXT of a libc symbol works in dlopened library

12