Lines Matching refs:DCHECK
85 DCHECK(!histogram_name.empty()); in GetLatencyHistogram()
86 DCHECK(!histogram_label.empty()); in GetLatencyHistogram()
87 DCHECK(!task_type_suffix.empty()); in GetLatencyHistogram()
145 DCHECK(new_value & kShutdownHasStartedMask); in StartShutdown()
298 DCHECK(*(&task_latency_histograms_[static_cast<int>(TaskPriority::HIGHEST) +
307 DCHECK(IsShutdownComplete()); in Shutdown()
327 DCHECK(flush_callback); in FlushAsyncForTesting()
330 DCHECK(!flush_callback_for_testing_) in FlushAsyncForTesting()
342 DCHECK(task->task); in WillPostTask()
373 DCHECK(observer); in WillScheduleSequence()
391 DCHECK(sequence); in RunAndPopNextTask()
396 DCHECK(task); in RunAndPopNextTask()
453 DCHECK(latency_histogram_type == LatencyHistogramType::TASK_LATENCY || in RecordLatencyHistogram()
483 DCHECK(sequence_token.IsValid()); in RunOrSkipTask()
495 DCHECK(!task.sequenced_task_runner_ref || in RunOrSkipTask()
547 DCHECK(!shutdown_event_); in PerformShutdown()
548 DCHECK(!num_block_shutdown_tasks_posted_during_shutdown_); in PerformShutdown()
549 DCHECK(!state_->HasShutdownStarted()); in PerformShutdown()
621 DCHECK(!preempted_background_sequences_.empty()); in GetPreemptedBackgroundSequenceToScheduleLockRequired()
640 DCHECK(sequence_to_schedule.observer); in SchedulePreemptedBackgroundSequence()
666 DCHECK(shutdown_event_); in BeforePostTask()
711 DCHECK(state_->AreTasksBlockingShutdown()); in BeforeRunTask()
717 DCHECK(!state_->HasShutdownStarted() || !IsShutdownComplete()); in BeforeRunTask()
764 DCHECK(state_->HasShutdownStarted()); in OnBlockingShutdownTasksComplete()
765 DCHECK(shutdown_event_); in OnBlockingShutdownTasksComplete()
795 DCHECK(preempted_background_sequences_.empty() || in ManageBackgroundSequencesAfterRunningTask()