Searched refs:frames (Results 1 - 8 of 8) sorted by relevance

/system/core/libcorkscrew/
H A Dtest.c8 backtrace_frame_t* frames = (backtrace_frame_t*) malloc(sizeof(backtrace_frame_t) * MAX_DEPTH); local
9 ssize_t frame_count = unwind_backtrace(frames, 0, MAX_DEPTH);
13 get_backtrace_symbols(frames, frame_count, backtrace_symbols);
17 format_backtrace_line(i, &frames[i], &backtrace_symbols[i],
31 symbol = find_symbol(symbols, frames[i].absolute_pc);
34 uintptr_t offset = frames[i].absolute_pc - symbol->start;
45 free(frames);
H A Dbacktrace.c162 ssize_t frames = -1; local
214 frames = g_unwind_signal_state.returned_frames;
222 return frames;
245 void get_backtrace_symbols(const backtrace_frame_t* backtrace, size_t frames, argument
248 for (size_t i = 0; i < frames; i++) {
274 const backtrace_frame_t* backtrace, size_t frames,
276 for (size_t i = 0; i < frames; i++) {
298 void free_backtrace_symbols(backtrace_symbol_t* backtrace_symbols, size_t frames) { argument
299 for (size_t i = 0; i < frames; i++) {
273 get_backtrace_symbols_ptrace(const ptrace_context_t* context, const backtrace_frame_t* backtrace, size_t frames, backtrace_symbol_t* backtrace_symbols) argument
/system/core/include/corkscrew/
H A Dbacktrace.h56 * Returns the number of frames collected, or -1 if an error occurred.
63 * Returns the number of frames collected, or -1 if an error occurred.
73 * Returns the number of frames collected, or -1 if an error occurred.
83 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/
H A Dbacktrace.c94 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH); local
95 if (frames <= 0) {
99 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols);
100 for (size_t i = 0; i < (size_t)frames; i++) {
106 free_backtrace_symbols(backtrace_symbols, frames);
H A Dtombstone.c206 const backtrace_frame_t* backtrace, size_t frames) {
210 get_backtrace_symbols_ptrace(context, backtrace, frames, backtrace_symbols);
211 for (size_t i = 0; i < frames; i++) {
217 free_backtrace_symbols(backtrace_symbols, frames);
269 const backtrace_frame_t* backtrace, size_t frames) {
272 for (size_t i = 0; i < frames; i++) {
292 // Dump a few words from all successive frames.
293 // Only log the first 3 frames, put the rest in the tombstone.
323 ssize_t frames = unwind_backtrace_ptrace(tid, context, backtrace, 0, STACK_DEPTH); local
324 if (frames >
268 dump_stack(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault, const backtrace_frame_t* backtrace, size_t frames) argument
[all...]
/system/media/audio_utils/
H A Dresampler.c37 size_t frames_in; // number of frames in input buffer
38 size_t frames_rq; // cached number of output frames
39 size_t frames_needed; // minimum number of input frames to produce
40 // frames_rq output frames
71 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount
72 // with the actual number of frames produced.
88 // update and cache the number of frames needed at the input sampling rate to produce
89 // the number of frames requested at the output sampling rate
99 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at
100 // least the number of frames neede
239 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); local
[all...]
H A Decho_reference.c48 size_t buf_size; // main buffer size in frames
49 size_t frames_in; // number of frames in main buffer
51 size_t wr_buf_size; // size of conversion buffer in frames
52 size_t wr_frames_in; // number of frames in conversion buffer
53 size_t wr_curr_frame_size; // number of frames given to current write() function
148 ALOGV("echo_reference_write() START trying to write %d frames", buffer->frame_count);
153 //ALOGV("echo_reference_write() %d frames", buffer->frame_count);
211 size_t frames = buffer->frame_count; local
212 while (frames--) {
238 // to get new frames
[all...]
/system/core/charger/
H A Dcharger.c99 struct frame *frames; member in struct:animation
172 .frames = batt_anim_frames,
637 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame];
691 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time;
705 if (batt_cap < batt_anim->frames[i].min_capacity)
711 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * 2;
724 /* if we don't have anim frames, we only have one image, so just bump
746 batt_anim->frames[batt_anim->cur_frame].level_only)
964 struct frame *frame = &charger->batt_anim->frames[i];

Completed in 120 milliseconds