Home
last modified time | relevance | path

Searched refs:DCHECK (Results 1 – 25 of 1483) sorted by relevance

12345678910>>...60

/external/chromium/net/http/
Dhttp_stream_factory_impl_request.cc26 DCHECK(factory_); in Request()
27 DCHECK(delegate_); in Request()
34 DCHECK(jobs_.empty()); in ~Request()
36 DCHECK(!jobs_.empty()); in ~Request()
50 DCHECK(!spdy_session_key_.get()); in SetSpdySessionKey()
54 DCHECK(!ContainsKey(request_set, this)); in SetSpdySessionKey()
59 DCHECK(job); in AttachJob()
68 DCHECK(!completed_); in Complete()
83 DCHECK(stream); in OnStreamReady()
84 DCHECK(completed_); in OnStreamReady()
[all …]
Dhttp_auth_controller.cc100 DCHECK(auth_scheme >= 0 && auth_scheme < HttpAuth::AUTH_SCHEME_MAX); in HistogramAuthEvent()
116 DCHECK(event_bucket >= 0 && event_bucket < kEventBucketsEnd); in HistogramAuthEvent()
145 DCHECK(target_bucket >= 0 && target_bucket < kTargetBucketsEnd); in HistogramAuthEvent()
171 DCHECK(CalledOnValidThread()); in ~HttpAuthController()
178 DCHECK(CalledOnValidThread()); in MaybeGenerateAuthToken()
188 DCHECK(auth_token_.empty()); in MaybeGenerateAuthToken()
189 DCHECK(NULL == user_callback_); in MaybeGenerateAuthToken()
205 DCHECK(CalledOnValidThread()); in SelectPreemptiveAuth()
206 DCHECK(!HaveAuth()); in SelectPreemptiveAuth()
207 DCHECK(identity_.invalid); in SelectPreemptiveAuth()
[all …]
/external/chromium/net/base/
Dnetwork_delegate.cc14 DCHECK(CalledOnValidThread()); in NotifyBeforeURLRequest()
15 DCHECK(request); in NotifyBeforeURLRequest()
16 DCHECK(callback); in NotifyBeforeURLRequest()
23 DCHECK(CalledOnValidThread()); in NotifyBeforeSendHeaders()
24 DCHECK(headers); in NotifyBeforeSendHeaders()
25 DCHECK(callback); in NotifyBeforeSendHeaders()
30 DCHECK(CalledOnValidThread()); in NotifyResponseStarted()
31 DCHECK(request); in NotifyResponseStarted()
36 DCHECK(CalledOnValidThread()); in NotifyReadCompleted()
37 DCHECK(request); in NotifyReadCompleted()
[all …]
/external/chromium/chrome/common/
Dsqlite_utils.cc195 DCHECK(!top_transaction_); in ~SQLNestedTransactionSite()
199 DCHECK(!top || !top_transaction_); in SetTopTransaction()
207 DCHECK(site); in SQLNestedTransaction()
223 DCHECK(db_); in BeginCommand()
224 DCHECK(site_ && site_->GetTopTransaction()); in BeginCommand()
245 DCHECK(db_); in EndCommand()
246 DCHECK(site_ && site_->GetTopTransaction()); in EndCommand()
265 DCHECK(strcmp(command, "COMMIT") == 0); in EndCommand()
282 DCHECK(!stmt_); in prepare()
292 DCHECK(stmt_); in step()
[all …]
/external/chromium/net/websockets/
Dwebsocket.cc36 DCHECK(request_.get()); in WebSocket()
37 DCHECK(delegate_); in WebSocket()
38 DCHECK(origin_loop_); in WebSocket()
42 DCHECK(ready_state_ == INITIALIZED || !delegate_); in ~WebSocket()
43 DCHECK(!socket_stream_); in ~WebSocket()
44 DCHECK(!delegate_); in ~WebSocket()
48 DCHECK(ready_state_ == INITIALIZED); in Connect()
49 DCHECK(request_.get()); in Connect()
50 DCHECK(delegate_); in Connect()
51 DCHECK(!socket_stream_); in Connect()
[all …]
/external/chromium/chrome/browser/sync/notifier/
Dchrome_invalidation_client.cc30 DCHECK(non_thread_safe_.CalledOnValidThread()); in ChromeInvalidationClient()
34 DCHECK(non_thread_safe_.CalledOnValidThread()); in ~ChromeInvalidationClient()
36 DCHECK(!listener_); in ~ChromeInvalidationClient()
37 DCHECK(!state_writer_); in ~ChromeInvalidationClient()
44 DCHECK(non_thread_safe_.CalledOnValidThread()); in Start()
49 DCHECK(!listener_); in Start()
50 DCHECK(listener); in Start()
52 DCHECK(!state_writer_); in Start()
53 DCHECK(state_writer); in Start()
83 DCHECK(invalidation_client_.get()); in ChangeBaseTask()
[all …]
Dinvalidation_notifier.cc30 DCHECK(notifier_options_.request_context_getter); in InvalidationNotifier()
32 DCHECK(notifier_options_.request_context_getter->GetIOMessageLoopProxy()-> in InvalidationNotifier()
37 DCHECK(non_thread_safe_.CalledOnValidThread()); in ~InvalidationNotifier()
41 DCHECK(non_thread_safe_.CalledOnValidThread()); in AddObserver()
46 DCHECK(non_thread_safe_.CalledOnValidThread()); in RemoveObserver()
51 DCHECK(non_thread_safe_.CalledOnValidThread()); in SetState()
57 DCHECK(non_thread_safe_.CalledOnValidThread()); in UpdateCredentials()
82 DCHECK(non_thread_safe_.CalledOnValidThread()); in UpdateEnabledTypes()
87 DCHECK(non_thread_safe_.CalledOnValidThread()); in SendNotification()
92 DCHECK(non_thread_safe_.CalledOnValidThread()); in OnConnect()
[all …]
Dchrome_system_resources.cc23 DCHECK(non_thread_safe_.CalledOnValidThread()); in ChromeSystemResources()
25 DCHECK(state_writer_); in ChromeSystemResources()
29 DCHECK(non_thread_safe_.CalledOnValidThread()); in ~ChromeSystemResources()
35 DCHECK(non_thread_safe_.CalledOnValidThread()); in current_time()
41 DCHECK(non_thread_safe_.CalledOnValidThread()); in StartScheduler()
48 DCHECK(non_thread_safe_.CalledOnValidThread()); in StopScheduler()
57 DCHECK(non_thread_safe_.CalledOnValidThread()); in ScheduleWithDelay()
69 DCHECK(non_thread_safe_.CalledOnValidThread()); in ScheduleImmediately()
82 DCHECK(non_thread_safe_.CalledOnValidThread()); in ScheduleOnListenerThread()
90 DCHECK(non_thread_safe_.CalledOnValidThread()); in IsRunningOnInternalThread()
[all …]
/external/chromium/base/synchronization/
Dcondition_variable_win.cc20 DCHECK(user_lock); in ConditionVariable()
60 DCHECK(handle); in TimedWait()
116 DCHECK(recycling_list_.IsEmpty()); in GetEventForWaiting()
181 DCHECK(cv_event->ValidateAsItem()); in ~Event()
185 DCHECK(IsSingleton()); in ~Event()
188 DCHECK(ret_val); in ~Event()
194 DCHECK(!handle_); in InitListElement()
201 DCHECK(ValidateAsList()); in IsEmpty()
206 DCHECK(ValidateAsList()); in PushBack()
207 DCHECK(other->ValidateAsItem()); in PushBack()
[all …]
/external/chromium/webkit/glue/
Dwebmediaplayer_impl.cc97 DCHECK(render_loop_); in Proxy()
98 DCHECK(webmediaplayer_); in Proxy()
128 DCHECK(MessageLoop::current() == render_loop_); in Paint()
135 DCHECK(MessageLoop::current() == render_loop_); in SetSize()
142 DCHECK(MessageLoop::current() == render_loop_); in HasSingleOrigin()
156 DCHECK(MessageLoop::current() == render_loop_); in AbortDataSources()
167 DCHECK(MessageLoop::current() == render_loop_); in Detach()
210 DCHECK(MessageLoop::current() == render_loop_); in RepaintTask()
223 DCHECK(MessageLoop::current() == render_loop_); in PipelineInitializationTask()
230 DCHECK(MessageLoop::current() == render_loop_); in PipelineSeekTask()
[all …]
/external/chromium/chrome/browser/download/
Dsave_file_manager.cc34 DCHECK(resource_dispatcher_host_); in SaveFileManager()
39 DCHECK(save_file_map_.empty()); in ~SaveFileManager()
52 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in OnShutdown()
68 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in GetNextId()
75 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in RegisterStartingRequest()
82 DCHECK(never_present); in RegisterStartingRequest()
88 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in UnregisterStartingRequest()
111 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in LookupPackage()
128 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in SaveURL()
133 DCHECK(url.is_valid()); in SaveURL()
[all …]
Dbase_file.cc36 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in BaseFile()
41 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in ~BaseFile()
49 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in Initialize()
50 DCHECK(!detached_); in Initialize()
64 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in AppendDataToFile()
65 DCHECK(!detached_); in AppendDataToFile()
88 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in Rename()
153 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in Cancel()
154 DCHECK(!detached_); in Cancel()
163 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); in Finish()
[all …]
/external/chromium/chrome/browser/
Dbrowser_process_impl.cc297 DCHECK(CalledOnValidThread()); in AddRefModule()
304 DCHECK(CalledOnValidThread()); in ReleaseModule()
362 DCHECK(CalledOnValidThread()); in resource_dispatcher_host()
369 DCHECK(CalledOnValidThread()); in metrics_service()
376 DCHECK(CalledOnValidThread()); in io_thread()
383 DCHECK(CalledOnValidThread()); in file_thread()
390 DCHECK(CalledOnValidThread()); in db_thread()
397 DCHECK(CalledOnValidThread()); in process_launcher_thread()
404 DCHECK(CalledOnValidThread()); in cache_thread()
411 DCHECK(CalledOnValidThread()); in gpu_thread()
[all …]
/external/chromium/chrome/browser/chromeos/
Dcros_settings.cc31 DCHECK(CalledOnValidThread()); in FireObservers()
48 DCHECK(CalledOnValidThread()); in Set()
57 DCHECK(CalledOnValidThread()); in SetBoolean()
62 DCHECK(CalledOnValidThread()); in SetInteger()
67 DCHECK(CalledOnValidThread()); in SetDouble()
73 DCHECK(CalledOnValidThread()); in SetString()
78 DCHECK(CalledOnValidThread()); in AddSettingsProvider()
84 DCHECK(CalledOnValidThread()); in RemoveSettingsProvider()
96 DCHECK(path); in AddSettingsObserver()
97 DCHECK(obs); in AddSettingsObserver()
[all …]
/external/chromium/chrome/browser/sync/glue/
Dpassword_change_processor.cc33 DCHECK(model_associator); in PasswordChangeProcessor()
34 DCHECK(error_handler); in PasswordChangeProcessor()
36 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); in PasswordChangeProcessor()
38 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); in PasswordChangeProcessor()
44 DCHECK(expected_loop_ == MessageLoop::current()); in ~PasswordChangeProcessor()
50 DCHECK(expected_loop_ == MessageLoop::current()); in Observe()
51 DCHECK(NotificationType::LOGINS_CHANGED == type); in Observe()
55 DCHECK(running()); in Observe()
130 DCHECK(expected_loop_ == MessageLoop::current()); in ApplyChangesFromSyncModel()
141 DCHECK(deleted_passwords_.empty() && new_passwords_.empty() && in ApplyChangesFromSyncModel()
[all …]
Dsession_change_processor.cc33 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in SessionChangeProcessor()
34 DCHECK(error_handler); in SessionChangeProcessor()
35 DCHECK(session_model_associator_); in SessionChangeProcessor()
46 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in SessionChangeProcessor()
47 DCHECK(error_handler); in SessionChangeProcessor()
48 DCHECK(session_model_associator_); in SessionChangeProcessor()
52 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in ~SessionChangeProcessor()
58 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in Observe()
59 DCHECK(running()); in Observe()
60 DCHECK(profile_); in Observe()
[all …]
Dextension_change_processor.cc34 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in ExtensionChangeProcessor()
35 DCHECK(error_handler); in ExtensionChangeProcessor()
39 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in ~ExtensionChangeProcessor()
49 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in Observe()
50 DCHECK(running()); in Observe()
51 DCHECK(profile_); in Observe()
99 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in ApplyChangesFromSyncModel()
152 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in StartImpl()
156 DCHECK(profile_); in StartImpl()
157 DCHECK(extension_service_); in StartImpl()
[all …]
/external/chromium/net/url_request/
Durl_request.cc129 DCHECK(MessageLoop::current()) << in URLRequest()
166 DCHECK(bytes_len > 0 && bytes); in AppendBytesToUpload()
177 DCHECK(file_path.value().length() > 0 && length > 0); in AppendFileRangeToUpload()
185 DCHECK(!upload_ || upload_->is_chunked()); in EnableChunkedUpload()
195 DCHECK(upload_); in AppendChunkToUpload()
196 DCHECK(upload_->is_chunked()); in AppendChunkToUpload()
216 DCHECK(!is_pending_); in SetExtraRequestHeaderById()
223 DCHECK(!is_pending_); in SetExtraRequestHeaderByName()
229 DCHECK(!is_pending_); in SetExtraRequestHeaders()
255 DCHECK(job_); in GetResponseHeaderById()
[all …]
/external/chromium/webkit/glue/media/
Dbuffered_data_source.cc80 DCHECK(MessageLoop::current() == render_loop_); in CreateResourceLoader()
117 DCHECK(callback); in Initialize()
129 DCHECK(initialize_callback_.get()); in CancelInitialize()
169 DCHECK(read_callback); in Read()
173 DCHECK(!read_callback_.get()); in Read()
204 DCHECK(MessageLoop::current() == render_loop_); in HasSingleOrigin()
209 DCHECK(MessageLoop::current() == render_loop_); in Abort()
218 DCHECK(MessageLoop::current() == render_loop_); in InitializeTask()
219 DCHECK(!loader_.get()); in InitializeTask()
256 DCHECK(MessageLoop::current() == render_loop_); in ReadTask()
[all …]
/external/chromium/chrome/browser/net/
Dchrome_url_request_context.cc123 DCHECK(factory); in ChromeURLRequestContextGetter()
124 DCHECK(profile); in ChromeURLRequestContextGetter()
129 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in ~ChromeURLRequestContextGetter()
131 DCHECK(registrar_.IsEmpty()) << "Probably didn't call CleanupOnUIThread"; in ~ChromeURLRequestContextGetter()
135 DCHECK((factory_.get() && !url_request_context_.get()) || in ~ChromeURLRequestContextGetter()
147 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in GetURLRequestContext()
150 DCHECK(factory_.get()); in GetURLRequestContext()
169 DCHECK(url_request_context_); in ReleaseURLRequestContext()
193 DCHECK(result); in DONTUSEME_GetCookieStore()
206 DCHECK(!profile->IsOffTheRecord()); in CreateOriginal()
[all …]
/external/chromium/base/threading/
Dsimple_thread.cc25 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()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dauth_attempt_state.cc57 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in RecordOnlineLoginStatus()
67 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in DisableHosted()
73 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in RecordCryptohomeStatus()
80 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in ResetCryptohomeStatus()
87 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in online_complete()
92 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in online_outcome()
97 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in credentials()
102 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in is_first_time_user()
107 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in hosted_policy()
112 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); in cryptohome_complete()
[all …]
/external/chromium/net/proxy/
Dmulti_threaded_proxy_resolver.cc159 DCHECK(has_user_callback()); in RunUserCallback()
230 DCHECK(callback); in GetProxyForURLJob()
242 DCHECK(executor()); in FinishedWaitingForThread()
302 DCHECK(coordinator); in Executor()
303 DCHECK(resolver); in Executor()
314 DCHECK(!outstanding_job_); in StartJob()
333 DCHECK(coordinator_); in Destroy()
374 DCHECK(!coordinator_) << "Destroy() was not called"; in ~Executor()
375 DCHECK(!thread_.get()); in ~Executor()
376 DCHECK(!resolver_.get()); in ~Executor()
[all …]
/external/chromium/net/udp/
Dudp_socket_libevent.cc55 DCHECK(CalledOnValidThread()); in Close()
71 DCHECK(ok); in Close()
73 DCHECK(ok); in Close()
82 DCHECK(CalledOnValidThread()); in GetPeerAddress()
83 DCHECK(address); in GetPeerAddress()
104 DCHECK(CalledOnValidThread()); in GetLocalAddress()
105 DCHECK(address); in GetLocalAddress()
135 DCHECK(CalledOnValidThread()); in RecvFrom()
137 DCHECK(!read_callback_); in RecvFrom()
138 DCHECK(!recv_from_address_); in RecvFrom()
[all …]
/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map.cc42 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in GeolocationContentSettingsMap()
58 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in GetDefaultContentSetting()
70 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in IsDefaultContentSettingManaged()
81 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in GetContentSetting()
82 DCHECK(requesting_url.is_valid() && embedding_url.is_valid()); in GetContentSetting()
85 DCHECK(requesting_origin.is_valid() && embedding_origin.is_valid()); in GetContentSetting()
112 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in GetAllOriginsSettings()
127 DCHECK(found); in GetAllOriginsSettings()
140 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in SetDefaultContentSetting()
152 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); in SetContentSetting()
[all …]

12345678910>>...60