Searched defs:frame (Results 1 - 11 of 11) sorted by relevance

/system/core/libbacktrace/
H A DUnwindCurrent.cpp103 backtrace_frame_data_t* frame = &frames_.at(num_frames); local
104 frame->num = num_frames;
105 frame->pc = static_cast<uintptr_t>(pc);
106 frame->sp = static_cast<uintptr_t>(sp);
107 frame->stack_size = 0;
109 FillInMap(frame->pc, &frame->map);
110 // Check to see if we should skip this frame because it's coming
112 if (ucontext != nullptr || num_frames != 0 || !DiscardFrame(*frame)) {
115 // keeping the frame
[all...]
H A DUnwindPtrace.cpp100 backtrace_frame_data_t* frame = &frames_.at(num_frames); local
101 frame->num = num_frames;
102 frame->pc = static_cast<uintptr_t>(pc);
103 frame->sp = static_cast<uintptr_t>(sp);
104 frame->stack_size = 0;
108 prev->stack_size = frame->sp - prev->sp;
111 frame->func_name = GetFunctionName(frame->pc, &frame->func_offset);
113 FillInMap(frame
[all...]
H A DBacktrace.cpp94 std::string Backtrace::FormatFrameData(const backtrace_frame_data_t* frame) { argument
96 if (BacktraceMap::IsValid(frame->map) && !frame->map.name.empty()) {
97 map_name = frame->map.name.c_str();
102 uintptr_t relative_pc = BacktraceMap::GetRelativePc(frame->map, frame->pc);
104 std::string line(StringPrintf("#%02zu pc %" PRIPTR " %s", frame->num, relative_pc, map_name));
107 if (frame->map.offset != 0) {
108 line += " (offset " + StringPrintf("0x%" PRIxPTR, frame->map.offset) + ")";
110 if (!frame
[all...]
H A DBacktraceCurrent.cpp84 bool BacktraceCurrent::DiscardFrame(const backtrace_frame_data_t& frame) { argument
85 if (BacktraceMap::IsValid(frame.map)) {
86 const std::string library = basename(frame.map.name.c_str());
H A Dbacktrace_test.cpp99 std::string frame; local
101 frame += " " + backtrace->FormatFrameData(i) + '\n';
103 return frame;
139 // frame we want.
176 // Verify that the last frame is our recursive call.
225 for (const auto& frame : *backtrace ) {
226 if (BacktraceMap::IsValid(frame.map)) {
227 const std::string name = basename(frame.map.name.c_str());
247 // Check all of the frames are the same > the current frame.
761 backtrace_frame_data_t frame; local
[all...]
/system/bt/embdrv/sbc/decoder/srce/
H A Dframing.c168 PRIVATE OI_UINT8 OI_SBC_CalculateChecksum(OI_CODEC_SBC_FRAME_INFO *frame, OI_BYTE const *data) argument
177 OI_UINT count = (frame->nrof_subbands * frame->nrof_channels / 2u) + 4;
179 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 8) {
189 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 4) {
196 void OI_SBC_ExpandFrameFields(OI_CODEC_SBC_FRAME_INFO *frame) argument
198 frame->nrof_blocks = block_values[frame
[all...]
H A Dbitalloc-sbc.c111 OI_UINT32 OI_CODEC_SBC_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO *frame) argument
113 return internal_CalculateBitrate(frame);
128 * Calculates the bitpool size for a given frame length
130 OI_UINT16 OI_CODEC_SBC_CalculateBitpool(OI_CODEC_SBC_FRAME_INFO *frame, argument
133 OI_UINT16 nrof_subbands = frame->nrof_subbands;
134 OI_UINT16 nrof_blocks = frame->nrof_blocks;
138 if (frame->mode == SBC_JOINT_STEREO) {
141 if (frame->mode == SBC_MONO) {
146 if (frame->mode == SBC_DUAL_CHANNEL) {
160 OI_UINT16 OI_CODEC_SBC_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO *frame) argument
[all...]
H A Ddecoder-private.c90 OI_CODEC_SBC_FRAME_INFO *frame = &common->frameInfo; local
102 if (d1 != frame->cachedInfo) {
104 frame->freqIndex = (d1 & (BIT7 | BIT6)) >> 6;
105 frame->frequency = freq_values[frame->freqIndex];
107 frame->blocks = (d1 & (BIT5 | BIT4)) >> 4;
108 frame->nrof_blocks = block_values[frame->blocks];
110 frame->mode = (d1 & (BIT3 | BIT2)) >> 2;
111 frame
[all...]
H A Dbitalloc.c28 subbands within the SBC/eSBC frame, along with support functions for computing
29 frame length and bitrate.
42 OI_UINT32 OI_SBC_MaxBitpool(OI_CODEC_SBC_FRAME_INFO *frame) argument
44 switch (frame->mode) {
47 return 16 * frame->nrof_subbands;
50 return 32 * frame->nrof_subbands;
53 ERROR(("Invalid frame mode %d", frame->mode));
59 PRIVATE OI_UINT16 internal_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO *frame) argument
61 OI_UINT16 nbits = frame
75 internal_CalculateBitrate(OI_CODEC_SBC_FRAME_INFO *frame) argument
84 OI_SBC_CalculateFrameAndHeaderlen(OI_CODEC_SBC_FRAME_INFO *frame, OI_UINT *headerLen_) argument
[all...]
/system/core/debuggerd/
H A Dtombstone.cpp278 const backtrace_frame_data_t* frame = backtrace->GetFrame(i); local
279 if (frame->sp) {
291 // Dump a few words before the first frame.
298 const backtrace_frame_data_t* frame = backtrace->GetFrame(i); local
299 if (sp != frame->sp) {
301 sp = frame->sp;
305 if (sp < frame->sp + frame->stack_size) {
309 size_t words = frame->stack_size / sizeof(word_t);
/system/core/healthd/
H A Dhealthd_mode_charger.cpp86 struct frame { struct
97 struct frame *frames;
122 static struct frame batt_anim_frames[] = {
309 struct frame *frame = &batt_anim->frames[batt_anim->cur_frame]; local
312 draw_surface_centered(charger, frame->surface);
313 LOGV("drawing frame #%d min_cap=%d time=%d\n",
314 batt_anim->cur_frame, frame->min_capacity,
315 frame->disp_time);
395 /* find first frame give
[all...]

Completed in 88 milliseconds