Searched refs:symbol (Results 1 - 11 of 11) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_dlopen_null.c15 void* symbol; local
30 symbol = dlsym(lib, "foo");
31 if (symbol == NULL) {
32 fprintf(stderr, "Could not lookup symbol inside executable !!: %s\n", dlerror());
/system/core/libcorkscrew/
H A Dbacktrace.c237 static void init_backtrace_symbol(backtrace_symbol_t* symbol, uintptr_t pc) { argument
238 symbol->relative_pc = pc;
239 symbol->relative_symbol_addr = 0;
240 symbol->map_name = NULL;
241 symbol->symbol_name = NULL;
242 symbol->demangled_name = NULL;
250 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
251 init_backtrace_symbol(symbol, frame->absolute_pc);
255 symbol->relative_pc = frame->absolute_pc - mi->start;
257 symbol
278 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
300 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
308 format_backtrace_line(unsigned frameNumber, const backtrace_frame_t* frame __attribute__((unused)), const backtrace_symbol_t* symbol, char* buffer, size_t bufferSize) argument
[all...]
H A Dtest.c20 // get_backtrace_symbols found the symbol's name with dladdr(3).
23 // We don't have a symbol. Maybe this is a static symbol, and
29 const symbol_t* symbol = NULL; local
31 symbol = find_symbol(symbols, frames[i].absolute_pc);
33 if (symbol != NULL) {
34 uintptr_t offset = frames[i].absolute_pc - symbol->start;
35 fprintf(stderr, " %s (%s%+d)\n", line, symbol->name, offset);
H A Dptrace.c137 const symbol_t* symbol = NULL; local
141 symbol = find_symbol(data->symbol_table, addr - mi->start);
145 *out_symbol = symbol;
H A Dsymbol_table.c50 const symbol_t* symbol = (const symbol_t*)element; local
51 if (addr < symbol->start) return -1;
52 if (addr >= symbol->end) return 1;
58 ALOGV("Loading symbol table from '%s'.", filename);
126 // Iterate through the dynamic symbol table, and count how many symbols
137 // Iterate through the symbol table, and count how many symbols
149 // Now, create an entry in our symbol table structure for each symbol...
192 // Sort the symbol table entries, so they can be bsearched later
/system/core/include/corkscrew/
H A Dbacktrace.h46 uintptr_t relative_symbol_addr; /* relative offset of the symbol from the start of the
49 char* symbol_name; /* symbol name, or NULL if unknown */
50 char* demangled_name; /* demangled symbol name, or NULL if unknown */
80 * The symbols array must be big enough to hold one symbol record per frame.
88 * The symbols array must be big enough to hold one symbol record per frame.
109 const backtrace_symbol_t* symbol, char* buffer, size_t bufferSize);
/system/core/init/
H A Dkeywords.h40 #define KEYWORD(symbol, flags, nargs, func) K_##symbol,
H A Dinit_parser.c60 #define KEYWORD(symbol, flags, nargs, func) \
61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
/system/core/debuggerd/
H A Dtombstone.c229 const symbol_t* symbol; local
230 find_symbol_ptrace(context, stack_content, &mi, &symbol);
232 if (symbol) {
233 char* demangled_name = demangle_symbol_name(symbol->name);
234 const char* symbol_name = demangled_name ? demangled_name : symbol->name;
235 uint32_t offset = stack_content - (mi->start + symbol->start);
/system/extras/tests/bionic/libc/
H A DAndroid.mk117 # -Wl,-u,foo is used to ensure that symbol "foo" is not
/system/extras/tests/fstest/
H A Dperm_checker.conf128 /sys/qemu_trace/symbol 000 777 root system root system

Completed in 122 milliseconds