Lines Matching refs:DCHECK
25 DCHECK(HasBeenStarted()) << "SimpleThread was never started."; in ~SimpleThread()
26 DCHECK(HasBeenJoined()) << "SimpleThread destroyed without being Join()ed."; in ~SimpleThread()
30 DCHECK(!HasBeenStarted()) << "Tried to Start a thread multiple times."; in Start()
37 DCHECK(HasBeenStarted()) << "Tried to Join a never-started thread."; in Join()
38 DCHECK(!HasBeenJoined()) << "Tried to Join a thread multiple times."; in Join()
73 DCHECK(delegate_) << "Tried to call Run without a delegate (called twice?)"; in Run()
87 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
88 DCHECK(delegates_.empty()); in ~DelegateSimpleThreadPool()
89 DCHECK(!dry_.IsSignaled()); in ~DelegateSimpleThreadPool()
93 DCHECK(threads_.empty()) << "Start() called with outstanding threads."; in Start()
102 DCHECK(!threads_.empty()) << "JoinAll() called with no outstanding threads."; in JoinAll()
113 DCHECK(delegates_.empty()); in JoinAll()
135 DCHECK(!delegates_.empty()); in Run()