• Home
  • Raw
  • Download

Lines Matching refs:frames

154   std::vector<uintptr_t> frames;  in AddBacktrace()  local
157 if (!Unwind(&frames, &frames_info, num_frames)) { in AddBacktrace()
161 frames.resize(num_frames); in AddBacktrace()
162 num_frames = backtrace_get(frames.data(), frames.size()); in AddBacktrace()
166 frames.resize(num_frames); in AddBacktrace()
169 FrameKeyType key{.num_frames = frames.size(), .frames = frames.data()}; in AddBacktrace()
175 key.frames = frames.data(); in AddBacktrace()
178 frames_.emplace(hash_index, FrameInfoType{.references = 1, .frames = std::move(frames)}); in AddBacktrace()
203 FrameKeyType key{.num_frames = frame_info->frames.size(), .frames = frame_info->frames.data()}; in RemoveBacktrace()
242 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames() argument
264 if (max_frames > frame_info->frames.size()) { in GetFrames()
265 max_frames = frame_info->frames.size(); in GetFrames()
267 memcpy(frames, &frame_info->frames[0], max_frames * sizeof(uintptr_t)); in GetFrames()
284 backtrace_log(frame_info->frames.data(), frame_info->frames.size()); in LogBacktrace()
467 if (a_frame->frames.size() != b_frame->frames.size()) { in GetList()
468 return a_frame->frames.size() > b_frame->frames.size(); in GetList()
513 backtrace_log(list_info.frame_info->frames.data(), list_info.frame_info->frames.size()); in LogLeaks()
563 memcpy(&data[2 * sizeof(size_t)], frame_info->frames.data(), in GetInfo()
564 frame_info->frames.size() * sizeof(uintptr_t)); in GetInfo()
598 for (size_t i = 0; i < frame_info->frames.size(); i++) { in DumpLiveToFile()
599 if (frame_info->frames[i] == 0) { in DumpLiveToFile()
602 dprintf(fd, " %" PRIxPTR, frame_info->frames[i]); in DumpLiveToFile()