Searched defs:symbol (Results 1 - 12 of 12) sorted by relevance

/bionic/libc/bionic/
H A DNetdClient.cpp28 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { argument
30 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol));
H A Dicu.cpp94 void* symbol = dlsym(g_libicuuc_handle, versioned_symbol_name); local
95 if (symbol == nullptr) {
98 return symbol;
H A Dmalloc_common.cpp236 char symbol[128]; local
237 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, suffix);
238 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol));
240 error_log("%s: dlsym(\"%s\") failed", getprogname(), symbol);
/bionic/tests/
H A Dstack_unwinding_test.cpp43 const char* symbol = "<unknown>"; local
49 symbol = info.dli_sname;
55 fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dli_fname : "??");
H A Ddlfcn_test.cpp99 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); local
100 ASSERT_TRUE(symbol == nullptr);
101 ASSERT_SUBSTR("undefined symbol: test_dlsym_symbol", dlerror());
139 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); local
140 ASSERT_TRUE(symbol == nullptr);
141 ASSERT_SUBSTR("undefined symbol: test_dlsym_symbol", dlerror());
174 // when looking up symbol by handle
179 ASSERT_SUBSTR("undefined symbol: getRandomNumber", dlerror());
183 ASSERT_SUBSTR("undefined symbol: DlSymTestFunction", dlerror());
188 // check that dlsym of an empty symbol fail
[all...]
/bionic/libc/malloc_debug/
H A Dbacktrace.cpp139 const char* symbol = nullptr; local
144 symbol = info.dli_sname;
157 if (symbol != nullptr) {
158 char* demangled_symbol = __cxa_demangle(symbol, nullptr, nullptr, nullptr);
159 const char* best_name = (demangled_symbol != nullptr) ? demangled_symbol : symbol;
/bionic/libdl/
H A 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) { argument
112 return __loader_dlsym(handle, symbol, caller_addr);
115 void* dlvsym(void* handle, const char* symbol, const char* version) { argument
117 return __loader_dlvsym(handle, symbol, version, caller_addr);
/bionic/tools/versioner/src/
H A DDeclarationDatabase.cpp190 Symbol symbol = {.name = declaration_name }; local
192 std::tie(symbol_it, dummy) = database.symbols.insert({ declaration_name, symbol });
H A DPreprocessor.cpp422 const Symbol& symbol = symbol_it.second; local
424 for (const auto& decl_it : symbol.declarations) {
H A Dversioner.cpp240 // Perform a sanity check on a symbol's declarations, enforcing the following invariants:
242 // 2. All of the availability declarations for a symbol are compatible.
248 static bool checkSymbol(const Symbol& symbol) { argument
252 for (const auto& decl_it : symbol.declarations) {
285 if (!symbol.calculateAvailability(&availability)) {
286 fprintf(stderr, "versioner: inconsistent availability for symbol '%s'\n", symbol.name.c_str());
287 symbol.dump(cwd);
307 // Check that our symbol availability declarations match the actual NDK
308 // platform symbol availabilit
[all...]
/bionic/linker/
H A Ddlfcn.cpp106 void* dlsym_impl(void* handle, const char* symbol, const char* version, const void* caller_addr) { argument
110 if (!do_dlsym(handle, symbol, version, caller_addr, &result)) {
118 void* __dlsym(void* handle, const char* symbol, const void* caller_addr) { argument
119 return dlsym_impl(handle, symbol, nullptr, caller_addr);
122 void* __dlvsym(void* handle, const char* symbol, const char* version, const void* caller_addr) { argument
123 return dlsym_impl(handle, symbol, version, caller_addr);
311 // a real symbol). (See soinfo_elf_lookup().)
H A Dlinker.cpp400 const soinfo_list_t& local_group, const ElfW(Sym)** symbol) {
405 * symbol resolution algorithm for references within the library. Instead of starting
406 * a symbol search with the executable file, the dynamic linker starts from the shared
407 * object itself. If the shared object fails to supply the referenced symbol, the
487 *symbol = s;
778 // This is used by dlsym(3). It performs symbol lookup only within the
803 /* This is used by dlsym(3) to performs a global symbol lookup. If the
2002 // Determine if any symbol in the library contains the specified address.
2029 void** symbol) {
2062 DL_ERR("dlsym failed: symbol nam
398 soinfo_do_lookup(soinfo* si_from, const char* name, const version_info* vi, soinfo** si_found_in, const soinfo_list_t& global_group, const soinfo_list_t& local_group, const ElfW(Sym)** symbol) argument
[all...]

Completed in 1037 milliseconds