Home
last modified time | relevance | path

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

/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.c94 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH); in dump_thread() local
95 if (frames <= 0) { in dump_thread()
99 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols); in dump_thread()
100 for (size_t i = 0; i < (size_t)frames; i++) { in dump_thread()
106 free_backtrace_symbols(backtrace_symbols, frames); in dump_thread()
Dtombstone.c191 const backtrace_frame_t* backtrace, size_t frames) { in dump_backtrace() argument
195 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols); in dump_backtrace()
196 for (size_t i = 0; i < frames; i++) { in dump_backtrace()
202 free_backtrace_symbols(backtrace_symbols, frames); in dump_backtrace()
254 const backtrace_frame_t* backtrace, size_t frames) { in dump_stack() argument
257 for (size_t i = 0; i < frames; i++) { in dump_stack()
308 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH); in dump_backtrace_and_stack() local
309 if (frames > 0) { in dump_backtrace_and_stack()
310 dump_backtrace(context, log, tid, at_fault, backtrace, frames); in dump_backtrace_and_stack()
311 dump_stack(context, log, tid, at_fault, backtrace, frames); in dump_backtrace_and_stack()
/system/core/libcorkscrew/
Dbacktrace.c139 ssize_t frames = -1; in unwind_backtrace_thread() local
191 frames = g_unwind_signal_state.returned_frames; in unwind_backtrace_thread()
199 return frames; in unwind_backtrace_thread()
222 void get_backtrace_symbols(const backtrace_frame_t* backtrace, size_t frames, in get_backtrace_symbols() argument
225 for (size_t i = 0; i < frames; i++) { in get_backtrace_symbols()
251 const backtrace_frame_t* backtrace, size_t frames, in get_backtrace_symbols_ptrace() argument
253 for (size_t i = 0; i < frames; i++) { in get_backtrace_symbols_ptrace()
275 void free_backtrace_symbols(backtrace_symbol_t* backtrace_symbols, size_t frames) { in free_backtrace_symbols() argument
276 for (size_t i = 0; i < frames; i++) { in free_backtrace_symbols()
/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.c211 size_t frames = buffer->frame_count; in echo_reference_write() local
212 while (frames--) { in echo_reference_write()
/system/core/charger/
Dcharger.c98 struct frame *frames; member
171 .frames = batt_anim_frames,
636 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame]; in draw_battery()
690 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time; in update_screen_state()
704 if (batt_cap < batt_anim->frames[i].min_capacity) in update_screen_state()
710 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * 2; in update_screen_state()
745 batt_anim->frames[batt_anim->cur_frame].level_only) in update_screen_state()
963 struct frame *frame = &charger->batt_anim->frames[i]; in main()