Searched refs:num_frames (Results 1 - 7 of 7) sorted by relevance

/system/core/libmemunreachable/
H A DLeak.h34 hash_combine(seed, key.num_frames);
35 for (size_t i = 0; i < key.num_frames; i++) {
53 return (lhs.num_frames == rhs.num_frames) &&
54 memcmp(lhs.frames, rhs.frames, lhs.num_frames * sizeof(lhs.frames[0])) == 0;
H A DMemUnreachable.cpp164 leak->backtrace.num_frames = num_backtrace_frames;
464 if (backtrace.num_frames > 0) {
465 oss << backtrace_string(backtrace.frames, backtrace.num_frames);
/system/core/libbacktrace/
H A DUnwindPtrace.cpp90 size_t num_frames = 0; local
106 frames_.resize(num_frames+1);
107 backtrace_frame_data_t* frame = &frames_.at(num_frames);
108 frame->num = num_frames;
113 if (num_frames > 0) {
114 backtrace_frame_data_t* prev = &frames_.at(num_frames-1);
122 num_frames++;
127 } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES);
H A DUnwindCurrent.cpp89 size_t num_frames = 0; local
104 frames_.resize(num_frames+1);
105 backtrace_frame_data_t* frame = &frames_.at(num_frames);
106 frame->num = num_frames;
114 if (ucontext != nullptr || num_frames != 0 || !DiscardFrame(*frame)) {
119 if (num_frames > 0) {
121 backtrace_frame_data_t* prev = &frames_.at(num_frames-1);
124 num_frames++;
130 } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES);
H A DBacktraceOffline.cpp150 size_t num_frames = 0; local
166 frames_.resize(num_frames + 1);
167 backtrace_frame_data_t* frame = &frames_[num_frames];
168 frame->num = num_frames;
173 if (num_frames > 0) {
174 backtrace_frame_data_t* prev = &frames_[num_frames - 1];
179 num_frames++;
184 } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES);
/system/core/healthd/
H A Dhealthd_mode_charger.cpp99 int num_frames; member in struct:animation
165 .num_frames = ARRAY_SIZE(batt_anim_frames),
311 if (batt_anim->num_frames != 0) {
326 if (batt_anim->capacity < 0 || batt_anim->num_frames == 0)
392 if (batt_prop && batt_prop->batteryLevel >= 0 && batt_anim->num_frames != 0) {
396 for (i = 1; i < batt_anim->num_frames; i++) {
419 if (batt_anim->num_frames == 0 || batt_anim->capacity < 0) {
438 while (batt_anim->cur_frame < batt_anim->num_frames &&
441 if (batt_anim->cur_frame >= batt_anim->num_frames) {
708 charger->batt_anim->num_frames
[all...]
/system/core/libmemunreachable/include/memunreachable/
H A Dmemunreachable.h45 size_t num_frames; member in struct:Leak::Backtrace

Completed in 224 milliseconds