Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 11 of 11) sorted by relevance

/system/core/libcorkscrew/
Dbacktrace-helper.c34 backtrace_frame_t* frame = &backtrace[*returned_frames]; in add_backtrace_entry() local
35 frame->absolute_pc = pc; in add_backtrace_entry()
36 frame->stack_top = 0; in add_backtrace_entry()
37 frame->stack_size = 0; in add_backtrace_entry()
39 return frame; in add_backtrace_entry()
Dbacktrace.c257 const backtrace_frame_t* frame = &backtrace[i]; in get_backtrace_symbols() local
259 init_backtrace_symbol(symbol, frame->absolute_pc); in get_backtrace_symbols()
261 const map_info_t* mi = find_map_info(milist, frame->absolute_pc); in get_backtrace_symbols()
263 symbol->relative_pc = frame->absolute_pc - mi->start; in get_backtrace_symbols()
268 if (dladdr((const void*)frame->absolute_pc, &info) && info.dli_sname) { in get_backtrace_symbols()
283 const backtrace_frame_t* frame = &backtrace[i]; in get_backtrace_symbols_ptrace() local
285 init_backtrace_symbol(symbol, frame->absolute_pc); in get_backtrace_symbols_ptrace()
289 find_symbol_ptrace(context, frame->absolute_pc, &mi, &s); in get_backtrace_symbols_ptrace()
291 symbol->relative_pc = frame->absolute_pc - mi->start; in get_backtrace_symbols_ptrace()
314 void format_backtrace_line(unsigned frameNumber, const backtrace_frame_t* frame __attribute__((unus… in format_backtrace_line() argument
/system/core/libcorkscrew/arch-mips/
Dbacktrace-mips.c81 backtrace_frame_t* frame; in unwind_backtrace_common() local
87 frame = add_backtrace_entry(pc, backtrace, ignore_depth, in unwind_backtrace_common()
90 if (frame) in unwind_backtrace_common()
91 frame->stack_top = state->sp; in unwind_backtrace_common()
94 index, frame, frame->absolute_pc, frame->stack_top); in unwind_backtrace_common()
136 if (frame) in unwind_backtrace_common()
137 frame->stack_size = stack_size; in unwind_backtrace_common()
/system/core/charger/
Dcharger.c91 struct frame { struct
103 struct frame *frames; argument
141 static struct frame batt_anim_frames[] = {
656 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame]; in draw_battery() local
659 draw_surface_centered(charger, frame->surface); in draw_battery()
661 batt_anim->cur_frame, frame->name, frame->min_capacity, in draw_battery()
662 frame->disp_time); in draw_battery()
988 struct frame *frame = &charger->batt_anim->frames[i]; in main() local
990 ret = res_create_surface(frame->name, &frame->surface); in main()
992 LOGE("Cannot load image %s\n", frame->name); in main()
/system/extras/tests/pftest/
DAndroid.mk16 LOCAL_CFLAGS += -fomit-frame-pointer
/system/core/libpixelflinger/
DAndroid.mk43 PIXELFLINGER_CFLAGS += -fstrict-aliasing -fomit-frame-pointer
50 PIXELFLINGER_CFLAGS += -fstrict-aliasing -fomit-frame-pointer
/system/core/libcorkscrew/arch-arm/
Dbacktrace-arm.c496 backtrace_frame_t* frame = add_backtrace_entry(pc, in unwind_backtrace_common() local
498 if (frame) { in unwind_backtrace_common()
499 frame->stack_top = state->gregs[R_SP]; in unwind_backtrace_common()
533 if (frame && state->gregs[R_SP] > frame->stack_top) { in unwind_backtrace_common()
534 frame->stack_size = state->gregs[R_SP] - frame->stack_top; in unwind_backtrace_common()
/system/extras/tests/memtest/
DAndroid.mk20 LOCAL_CFLAGS += -fomit-frame-pointer
/system/core/include/corkscrew/
Dbacktrace.h108 void format_backtrace_line(unsigned frameNumber, const backtrace_frame_t* frame,
/system/core/debuggerd/
Dtombstone.c325 const backtrace_frame_t* frame = &backtrace[i]; in dump_stack() local
326 if (sp != frame->stack_top) { in dump_stack()
328 sp = frame->stack_top; in dump_stack()
335 if (sp < frame->stack_top + frame->stack_size) { in dump_stack()
339 size_t words = frame->stack_size / sizeof(uint32_t); in dump_stack()
/system/core/libcorkscrew/arch-x86/
Dbacktrace-x86.c786 backtrace_frame_t* frame = add_backtrace_entry( in unwind_backtrace_common() local
801 backtrace_frame_t* frame = add_backtrace_entry( in unwind_backtrace_common() local
810 if (frame) { in unwind_backtrace_common()
811 frame->stack_top = stack_top; in unwind_backtrace_common()
813 frame->stack_size = state->reg[DWARF_ESP] - stack_top; in unwind_backtrace_common()
816 …ALOGV("Stack: 0x%x ... 0x%x - %d bytes", frame->stack_top, state->reg[DWARF_ESP], frame->stack_siz… in unwind_backtrace_common()