Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 10 of 10) sorted by relevance

/system/core/libcorkscrew/
Dtest.cpp8 backtrace_frame_t* frames = (backtrace_frame_t*) malloc(sizeof(backtrace_frame_t) * MAX_DEPTH); in do_backtrace() local
9 ssize_t frame_count = unwind_backtrace(frames, 0, MAX_DEPTH); in do_backtrace()
16 get_backtrace_symbols(frames, frame_count, backtrace_symbols); in do_backtrace()
20 format_backtrace_line(i, &frames[i], &backtrace_symbols[i], in do_backtrace()
34 symbol = find_symbol(symbols, frames[i].absolute_pc); in do_backtrace()
37 int offset = frames[i].absolute_pc - symbol->start; in do_backtrace()
48 free(frames); in do_backtrace()
Dbacktrace.c170 ssize_t frames = -1; in unwind_backtrace_thread() local
222 frames = g_unwind_signal_state.returned_frames; in unwind_backtrace_thread()
230 return frames; in unwind_backtrace_thread()
253 void get_backtrace_symbols(const backtrace_frame_t* backtrace, size_t frames, in get_backtrace_symbols() argument
256 for (size_t i = 0; i < frames; i++) { in get_backtrace_symbols()
280 const backtrace_frame_t* backtrace, size_t frames, in get_backtrace_symbols_ptrace() argument
282 for (size_t i = 0; i < frames; i++) { in get_backtrace_symbols_ptrace()
304 void free_backtrace_symbols(backtrace_symbol_t* backtrace_symbols, size_t frames) { in free_backtrace_symbols() argument
305 for (size_t i = 0; i < frames; i++) { in free_backtrace_symbols()
/system/core/include/corkscrew/
Dbacktrace.h83 void get_backtrace_symbols(const backtrace_frame_t* backtrace, size_t frames,
92 const backtrace_frame_t* backtrace, size_t frames,
98 void free_backtrace_symbols(backtrace_symbol_t* backtrace_symbols, size_t frames);
/system/core/debuggerd/
Dbacktrace.c95 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH); in dump_thread() local
96 if (frames <= 0) { in dump_thread()
100 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols); in dump_thread()
101 for (size_t i = 0; i < (size_t)frames; i++) { in dump_thread()
107 free_backtrace_symbols(backtrace_symbols, frames); in dump_thread()
Dtombstone.c235 const backtrace_frame_t* backtrace, size_t frames) { in dump_backtrace() argument
240 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols); in dump_backtrace()
241 for (size_t i = 0; i < frames; i++) { in dump_backtrace()
247 free_backtrace_symbols(backtrace_symbols, frames); in dump_backtrace()
299 const backtrace_frame_t* backtrace, size_t frames) { in dump_stack() argument
302 for (size_t i = 0; i < frames; i++) { in dump_stack()
353 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH); in dump_backtrace_and_stack() local
354 if (frames > 0) { in dump_backtrace_and_stack()
355 dump_backtrace(context, log, tid, at_fault, backtrace, frames); in dump_backtrace_and_stack()
356 dump_stack(context, log, tid, at_fault, backtrace, frames); in dump_backtrace_and_stack()
/system/media/audio_utils/
Dresampler.c239 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); in create_resampler() local
240 rsmp->speex_delay_ns = (int32_t)((1000000000 * (int64_t)frames) / rsmp->in_sample_rate); in create_resampler()
241 frames = speex_resampler_get_output_latency(rsmp->speex_resampler); in create_resampler()
242 rsmp->speex_delay_ns += (int32_t)((1000000000 * (int64_t)frames) / rsmp->out_sample_rate); in create_resampler()
Decho_reference.c213 size_t frames = buffer->frame_count; in echo_reference_write() local
214 while (frames--) { in echo_reference_write()
Dtinysndfile.c200 handle->info.frames = handle->remaining; in sf_open_read()
/system/media/audio_utils/include/audio_utils/
Dsndfile.h35 sf_count_t frames; member
/system/core/charger/
Dcharger.c103 struct frame *frames; member
176 .frames = batt_anim_frames,
656 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame]; in draw_battery()
712 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time; in update_screen_state()
726 if (batt_cap < batt_anim->frames[i].min_capacity) in update_screen_state()
732 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * 2; in update_screen_state()
767 batt_anim->frames[batt_anim->cur_frame].level_only) in update_screen_state()
988 struct frame *frame = &charger->batt_anim->frames[i]; in main()