Lines Matching defs:end_idx
341 bool StackFrameList::GetFramesUpTo(uint32_t end_idx,
348 if (m_frames.size() > end_idx || GetAllFramesFetched())
358 if (end_idx < m_concrete_frames_fetched)
362 FetchOnlyConcreteFramesUpTo(end_idx);
367 was_interrupted = FetchFramesUpTo(end_idx, allow_interrupt);
377 void StackFrameList::FetchOnlyConcreteFramesUpTo(uint32_t end_idx) {
379 assert(m_frames.size() <= end_idx && "Expected there to be frames to fill");
383 if (end_idx < m_concrete_frames_fetched)
386 uint32_t num_frames = unwinder.GetFramesUpTo(end_idx);
387 if (num_frames <= end_idx + 1) {
397 bool StackFrameList::FetchFramesUpTo(uint32_t end_idx,
407 // to do that if end_idx is 0 since in that case we always get the first
409 // end_idx is UINT32_MAX that means get all, so just do that...
412 if (end_idx > 0 && end_idx != UINT32_MAX) {
415 if (end_idx > 0)
416 end_idx += inlined_depth;
509 } while (m_frames.size() - 1 < end_idx);