Lines Matching refs:DCHECK
25 DCHECK(HasBeenStarted()) << "SimpleThread was never started."; in ~SimpleThread()
26 DCHECK(!options_.joinable || HasBeenJoined()) in ~SimpleThread()
37 DCHECK(options_.joinable) << "A non-joinable thread can't be joined."; in Join()
38 DCHECK(HasStartBeenAttempted()) << "Tried to Join a never-started thread."; in Join()
39 DCHECK(!HasBeenJoined()) << "Tried to Join a thread multiple times."; in Join()
47 DCHECK(!HasStartBeenAttempted()) << "Tried to Start a thread multiple times."; in StartAsync()
60 DCHECK(HasBeenStarted()); in tid()
93 DCHECK(delegate_); in DelegateSimpleThread()
99 DCHECK(delegate_) << "Tried to call Run without a delegate (called twice?)"; in Run()
117 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
118 DCHECK(delegates_.empty()); in ~DelegateSimpleThreadPool()
119 DCHECK(!dry_.IsSignaled()); in ~DelegateSimpleThreadPool()
123 DCHECK(threads_.empty()) << "Start() called with outstanding threads."; in Start()
132 DCHECK(!threads_.empty()) << "JoinAll() called with no outstanding threads."; in JoinAll()
143 DCHECK(delegates_.empty()); in JoinAll()
165 DCHECK(!delegates_.empty()); in Run()