Lines Matching refs:frames

138   std::vector<uintptr_t> frames;  in AddBacktrace()  local
141 if (!Unwind(&frames, &frames_info, num_frames)) { in AddBacktrace()
145 frames.resize(num_frames); in AddBacktrace()
146 num_frames = backtrace_get(frames.data(), frames.size()); in AddBacktrace()
152 FrameKeyType key{.num_frames = num_frames, .frames = frames.data()}; in AddBacktrace()
157 frames.resize(num_frames); in AddBacktrace()
159 key.frames = frames.data(); in AddBacktrace()
162 frames_.emplace(hash_index, FrameInfoType{.references = 1, .frames = std::move(frames)}); in AddBacktrace()
187 FrameKeyType key{.num_frames = frame_info->frames.size(), .frames = frame_info->frames.data()}; in RemoveBacktrace()
225 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames() argument
247 if (max_frames > frame_info->frames.size()) { in GetFrames()
248 max_frames = frame_info->frames.size(); in GetFrames()
250 memcpy(frames, &frame_info->frames[0], max_frames * sizeof(uintptr_t)); in GetFrames()
267 backtrace_log(frame_info->frames.data(), frame_info->frames.size()); in LogBacktrace()
448 if (a_frame->frames.size() != b_frame->frames.size()) { in GetList()
449 return a_frame->frames.size() > b_frame->frames.size(); in GetList()
494 backtrace_log(list_info.frame_info->frames.data(), list_info.frame_info->frames.size()); in LogLeaks()
544 memcpy(&data[2 * sizeof(size_t)], frame_info->frames.data(), in GetInfo()
545 frame_info->frames.size() * sizeof(uintptr_t)); in GetInfo()
579 for (size_t i = 0; i < frame_info->frames.size(); i++) { in DumpLiveToFile()
580 if (frame_info->frames[i] == 0) { in DumpLiveToFile()
583 dprintf(fd, " %" PRIxPTR, frame_info->frames[i]); in DumpLiveToFile()