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.c245 static void init_backtrace_symbol(backtrace_symbol_t* symbol, uintptr_t pc) { argument
246 symbol->relative_pc = pc;
247 symbol->relative_symbol_addr = 0;
248 symbol->map_name = NULL;
249 symbol->symbol_name = NULL;
250 symbol->demangled_name = NULL;
258 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
259 init_backtrace_symbol(symbol, frame->absolute_pc);
263 symbol->relative_pc = frame->absolute_pc - mi->start;
265 symbol
284 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
306 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
314 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.cpp23 // get_backtrace_symbols found the symbol's name with dladdr(3).
26 // We don't have a symbol. Maybe this is a static symbol, and
32 const symbol_t* symbol = NULL; local
34 symbol = find_symbol(symbols, frames[i].absolute_pc);
36 if (symbol != NULL) {
37 int offset = frames[i].absolute_pc - symbol->start;
38 fprintf(stderr, " %s (%s%+d)\n", line, symbol->name, offset);
H A Dptrace.c143 const symbol_t* symbol = NULL; local
147 symbol = find_symbol(data->symbol_table, addr - mi->start);
151 *out_symbol = symbol;
H A Dsymbol_table.c56 const symbol_t* symbol = (const symbol_t*)element; local
57 if (addr < symbol->start) return -1;
58 if (addr >= symbol->end) return 1;
65 ALOGV("Loading symbol table from '%s'.", filename);
133 // Iterate through the dynamic symbol table, and count how many symbols
144 // Iterate through the symbol table, and count how many symbols
156 // Now, create an entry in our symbol table structure for each symbol...
199 // 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.h42 #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.c259 const symbol_t* symbol; local
260 find_symbol_ptrace(context, stack_content, &mi, &symbol);
262 if (symbol) {
263 char* demangled_name = demangle_symbol_name(symbol->name);
264 const char* symbol_name = demangled_name ? demangled_name : symbol->name;
265 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 154 milliseconds