Lines Matching refs:max_frame_count
173 jint max_frame_count, in TranslateFrameVector() argument
179 DCHECK_GT(max_frame_count, 0); in TranslateFrameVector()
187 DCHECK_LE(collected_frames, static_cast<size_t>(max_frame_count)); in TranslateFrameVector()
200 size_t count = std::min(static_cast<size_t>(-start_depth), static_cast<size_t>(max_frame_count)); in TranslateFrameVector()
238 jint max_frame_count, in GetStackTrace() argument
260 if (max_frame_count < 0) { in GetStackTrace()
269 if (max_frame_count == 0) { in GetStackTrace()
279 static_cast<size_t>(max_frame_count)); in GetStackTrace()
301 max_frame_count, in GetStackTrace()
347 static void RunCheckpointAndWait(Data* data, size_t max_frame_count) in RunCheckpointAndWait() argument
350 GetAllStackTracesVectorClosure<Data> closure(max_frame_count, data); in RunCheckpointAndWait()
361 jint max_frame_count, in GetAllStackTraces() argument
364 if (max_frame_count < 0) { in GetAllStackTraces()
410 RunCheckpointAndWait(&data, static_cast<size_t>(max_frame_count)); in GetAllStackTraces()
435 if (max_frame_count == 0 || collected_frames == 0) { in GetAllStackTraces()
440 DCHECK_LE(collected_frames, static_cast<size_t>(max_frame_count)); in GetAllStackTraces()
501 jint max_frame_count, in GetThreadListStackTraces() argument
503 if (max_frame_count < 0) { in GetThreadListStackTraces()
570 RunCheckpointAndWait(&data, static_cast<size_t>(max_frame_count)); in GetThreadListStackTraces()
597 if (max_frame_count == 0 || collected_frames == 0) { in GetThreadListStackTraces()
602 DCHECK_LE(collected_frames, static_cast<size_t>(max_frame_count)); in GetThreadListStackTraces()