/external/libchrome/ipc/ |
D | ipc_sync_message_unittest.cc | 45 DCHECK(!in1); in On_1_2() 59 DCHECK(!in2); in On_2_1() 64 DCHECK(!in1); in On_2_2() 72 DCHECK(in2); in On_2_3() 80 DCHECK(!in2); in On_3_1() 91 DCHECK(!in2); in On_3_2() 105 DCHECK(in3); in On_3_3() 118 DCHECK(in1); in On_3_4() 129 DCHECK(g_reply == NULL); in Send() 172 DCHECK(reply_serializer != NULL); in Send() [all …]
|
D | ipc_mojo_bootstrap.cc | 124 DCHECK(thread_checker_.CalledOnValidThread()); in Bind() 125 DCHECK(task_runner_->BelongsToCurrentThread()); in Bind() 139 DCHECK(!paused_); in Pause() 144 DCHECK(paused_); in Unpause() 189 DCHECK(thread_checker_.CalledOnValidThread()); in ShutDown() 257 DCHECK(!endpoint->handle_created()); in CreateLocalEndpointHandle() 276 DCHECK(ContainsKey(endpoints_, id)); in CloseEndpointHandle() 278 DCHECK(!endpoint->client()); in CloseEndpointHandle() 279 DCHECK(!endpoint->closed()); in CloseEndpointHandle() 293 DCHECK(mojo::IsValidInterfaceId(id)); in AttachEndpointClient() [all …]
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_bucket.cc | 67 DCHECK(!extent->super_page_base); in PartitionDirectMap() 68 DCHECK(!extent->super_pages_end); in PartitionDirectMap() 69 DCHECK(!extent->next); in PartitionDirectMap() 73 DCHECK(!page->next_page); in PartitionDirectMap() 74 DCHECK(!page->num_allocated_slots); in PartitionDirectMap() 75 DCHECK(!page->num_unprovisioned_slots); in PartitionDirectMap() 76 DCHECK(!page->page_offset); in PartitionDirectMap() 77 DCHECK(!page->empty_cache_index); in PartitionDirectMap() 84 DCHECK(!bucket->active_pages_head); in PartitionDirectMap() 85 DCHECK(!bucket->empty_pages_head); in PartitionDirectMap() [all …]
|
D | partition_page.cc | 24 DCHECK(extent->prev_extent->next_extent == extent); in PartitionDirectUnmap() 30 DCHECK(extent->next_extent->prev_extent == extent); in PartitionDirectUnmap() 40 DCHECK(root->total_size_of_direct_mapped_pages >= uncommitted_page_size); in PartitionDirectUnmap() 43 DCHECK(!(unmap_size & kPageAllocationGranularityOffsetMask)); in PartitionDirectUnmap() 54 DCHECK(page->is_empty()); in PartitionRegisterEmptyPage() 59 DCHECK(page->empty_cache_index >= 0); in PartitionRegisterEmptyPage() 60 DCHECK(static_cast<unsigned>(page->empty_cache_index) < kMaxFreeableSpans); in PartitionRegisterEmptyPage() 61 DCHECK(root->global_empty_page_ring[page->empty_cache_index] == page); in PartitionRegisterEmptyPage() 94 DCHECK(this != get_sentinel_page()); in FreeSlowPath() 105 DCHECK(bucket->active_pages_head != this); in FreeSlowPath() [all …]
|
D | partition_page.h | 121 DCHECK(!(pointer_as_uint & kSuperPageOffsetMask)); in PartitionSuperPageToMetadataArea() 136 DCHECK(partition_page_index); in FromPointerNoAlignmentCheck() 137 DCHECK(partition_page_index < kNumPartitionPagesPerSuperPage - 1); in FromPointerNoAlignmentCheck() 157 DCHECK(super_page_offset > kSystemPageSize); in ToPointer() 159 DCHECK(super_page_offset < kSystemPageSize + (kNumPartitionPagesPerSuperPage * in ToPointer() 166 DCHECK(partition_page_index); in ToPointer() 167 DCHECK(partition_page_index < kNumPartitionPagesPerSuperPage - 1); in ToPointer() 177 DCHECK(!((reinterpret_cast<uintptr_t>(ptr) - in FromPointer() 190 DCHECK((bucket->slot_size % kSystemPageSize) == 0); in get_raw_size_ptr() 191 DCHECK(bucket->is_direct_mapped() || bucket->get_slots_per_span() == 1); in get_raw_size_ptr() [all …]
|
D | page_allocator.cc | 81 DCHECK(base_length >= trim_length || pre_slack || post_slack); in TrimMapping() 82 DCHECK(pre_slack < base_length); in TrimMapping() 83 DCHECK(post_slack < base_length); in TrimMapping() 95 DCHECK(!(length & kPageAllocationGranularityOffsetMask)); in SystemAllocPages() 96 DCHECK(!(reinterpret_cast<uintptr_t>(hint) & in SystemAllocPages() 98 DCHECK(commit || accessibility == PageInaccessible); in SystemAllocPages() 109 DCHECK(length >= kPageAllocationGranularity); in AllocPages() 110 DCHECK(!(length & kPageAllocationGranularityOffsetMask)); in AllocPages() 111 DCHECK(align >= kPageAllocationGranularity); in AllocPages() 113 DCHECK(pdfium::base::bits::IsPowerOfTwo(align)); in AllocPages() [all …]
|
/external/libchrome/base/android/ |
D | android_hardware_buffer_compat.cc | 23 DCHECK(IsSupportAvailable()); in AndroidHardwareBufferCompat() 36 DCHECK(allocate_); in AndroidHardwareBufferCompat() 40 DCHECK(acquire_); in AndroidHardwareBufferCompat() 44 DCHECK(describe_); in AndroidHardwareBufferCompat() 48 DCHECK(lock_); in AndroidHardwareBufferCompat() 52 DCHECK(recv_handle_); in AndroidHardwareBufferCompat() 56 DCHECK(release_); in AndroidHardwareBufferCompat() 60 DCHECK(send_handle_); in AndroidHardwareBufferCompat() 64 DCHECK(unlock_); in AndroidHardwareBufferCompat() 80 DCHECK(IsSupportAvailable()); in Allocate() [all …]
|
D | java_handler_thread.cc | 37 DCHECK(!Java_JavaHandlerThread_isAlive(env, java_thread_)); in ~JavaHandlerThread() 38 DCHECK(!message_loop_ || message_loop_->IsAborted()); in ~JavaHandlerThread() 53 DCHECK(!message_loop_); in Start() 69 DCHECK(!task_runner()->BelongsToCurrentThread()); in Stop() 89 DCHECK(task_runner()->BelongsToCurrentThread()); in OnLooperStopped() 95 DCHECK(task_runner()->BelongsToCurrentThread()); in StopMessageLoopForTesting() 100 DCHECK(!task_runner()->BelongsToCurrentThread()); in JoinForTesting() 106 DCHECK(!task_runner()->BelongsToCurrentThread()); in ListenForUncaughtExceptionsForTesting() 113 DCHECK(!task_runner()->BelongsToCurrentThread()); in GetUncaughtExceptionIfAny() 119 DCHECK(task_runner()->BelongsToCurrentThread()); in StopOnThread() [all …]
|
/external/libchrome/base/threading/ |
D | thread.cc | 68 DCHECK(owning_sequence_checker_.CalledOnValidSequence()); in Start() 79 DCHECK(owning_sequence_checker_.CalledOnValidSequence()); in StartWithOptions() 80 DCHECK(!message_loop_); in StartWithOptions() 81 DCHECK(!IsRunning()); in StartWithOptions() 82 DCHECK(!stopping_) << "Starting a non-joinable thread a second time? That's " in StartWithOptions() 85 DCHECK((com_status_ != STA) || in StartWithOptions() 129 DCHECK(message_loop_); in StartWithOptions() 134 DCHECK(owning_sequence_checker_.CalledOnValidSequence()); in StartAndWaitForTesting() 143 DCHECK(owning_sequence_checker_.CalledOnValidSequence()); in WaitUntilThreadStarted() 152 DCHECK(owning_sequence_checker_.CalledOnValidSequence()); in FlushForTesting() [all …]
|
D | simple_thread.cc | 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() [all …]
|
/external/compiler-rt/lib/esan/ |
D | esan.cpp | 119 DCHECK(isAppMem(AppStart)); in verifyShadowScheme() 120 DCHECK(!isAppMem(AppStart - 1)); in verifyShadowScheme() 121 DCHECK(isAppMem(AppEnd - 1)); in verifyShadowScheme() 122 DCHECK(!isAppMem(AppEnd)); in verifyShadowScheme() 123 DCHECK(!isShadowMem(AppStart)); in verifyShadowScheme() 124 DCHECK(!isShadowMem(AppEnd - 1)); in verifyShadowScheme() 125 DCHECK(isShadowMem(appToShadow(AppStart))); in verifyShadowScheme() 126 DCHECK(isShadowMem(appToShadow(AppEnd - 1))); in verifyShadowScheme() 128 DCHECK(!isShadowMem(appToShadow(appToShadow(AppStart)))); in verifyShadowScheme() 129 DCHECK(!isShadowMem(appToShadow(appToShadow(AppEnd - 1)))); in verifyShadowScheme() [all …]
|
/external/libchrome/base/task/sequence_manager/ |
D | work_queue.cc | 26 DCHECK(!work_queue_sets_) << task_queue_->GetName() << " : " in ~WorkQueue() 66 DCHECK(task.enqueue_order_set()); in Push() 70 DCHECK(was_empty || tasks_.rbegin()->enqueue_order() < task.enqueue_order()); in Push() 84 DCHECK(task.nestable == Nestable::kNonNestable); in PushNonNestableTaskToFront() 89 DCHECK(task.enqueue_order_set()); in PushNonNestableTaskToFront() 118 DCHECK(tasks_.empty()); in ReloadEmptyImmediateQueue() 130 DCHECK(work_queue_sets_); in TakeTaskFromWorkQueue() 131 DCHECK(!tasks_.empty()); in TakeTaskFromWorkQueue() 149 DCHECK(work_queue_sets_); in RemoveAllCanceledTasksFromFront() 178 DCHECK(fence >= fence_ || fence == EnqueueOrder::blocking_fence()); in InsertFenceImpl() [all …]
|
D | task_queue_selector.cc | 60 DCHECK(main_thread_checker_.CalledOnValidThread()); in AddQueue() 61 DCHECK(queue->IsQueueEnabled()); in AddQueue() 66 DCHECK(main_thread_checker_.CalledOnValidThread()); in RemoveQueue() 73 DCHECK(main_thread_checker_.CalledOnValidThread()); in EnableQueue() 74 DCHECK(queue->IsQueueEnabled()); in EnableQueue() 81 DCHECK(main_thread_checker_.CalledOnValidThread()); in DisableQueue() 82 DCHECK(!queue->IsQueueEnabled()); in DisableQueue() 89 DCHECK(main_thread_checker_.CalledOnValidThread()); in SetQueuePriority() 103 DCHECK(priority < TaskQueue::kQueuePriorityCount); in NextPriority() 118 DCHECK(!CheckContainsQueueForTest(queue)); in AddQueue() [all …]
|
D | time_domain.cc | 17 DCHECK(main_thread_checker_.CalledOnValidThread()); in ~TimeDomain() 22 DCHECK(sequence_manager); in OnRegisterWithSequenceManager() 23 DCHECK(!sequence_manager_); in OnRegisterWithSequenceManager() 28 DCHECK(sequence_manager_); in sequence_manager() 45 DCHECK(main_thread_checker_.CalledOnValidThread()); in UnregisterQueue() 55 DCHECK(main_thread_checker_.CalledOnValidThread()); in SetNextWakeUpForQueue() 57 DCHECK(queue->IsQueueEnabled() || !wake_up); in SetNextWakeUpForQueue() 101 DCHECK(main_thread_checker_.CalledOnValidThread()); in WakeUpReadyDelayedQueues() 113 DCHECK(main_thread_checker_.CalledOnValidThread()); in NextScheduledRunTime()
|
/external/libchrome/base/files/ |
D | file_descriptor_watcher_posix.cc | 31 DCHECK(sequence_checker_.CalledOnValidSequence()); in ~Controller() 101 DCHECK(callback_task_runner_); in Watcher() 106 DCHECK(thread_checker_.CalledOnValidThread()); in ~Watcher() 111 DCHECK(thread_checker_.CalledOnValidThread()); in StartWatching() 131 DCHECK(thread_checker_.CalledOnValidThread()); in OnFileCanReadWithoutBlocking() 142 DCHECK(thread_checker_.CalledOnValidThread()); in OnFileCanWriteWithoutBlocking() 151 DCHECK(thread_checker_.CalledOnValidThread()); in WillDestroyCurrentMessageLoop() 167 DCHECK(!callback_.is_null()); in Controller() 168 DCHECK(message_loop_for_io_task_runner_); in Controller() 174 DCHECK(sequence_checker_.CalledOnValidSequence()); in StartWatching() [all …]
|
/external/libchrome/base/task/ |
D | cancelable_task_tracker.cc | 62 DCHECK(sequence_checker_.CalledOnValidSequence()); in ~CancelableTaskTracker() 71 DCHECK(sequence_checker_.CalledOnValidSequence()); in PostTask() 81 DCHECK(sequence_checker_.CalledOnValidSequence()); in PostTaskAndReply() 84 DCHECK(SequencedTaskRunnerHandle::IsSet()); in PostTaskAndReply() 108 DCHECK(sequence_checker_.CalledOnValidSequence()); in NewTrackedTaskId() 109 DCHECK(SequencedTaskRunnerHandle::IsSet()); in NewTrackedTaskId() 136 DCHECK(sequence_checker_.CalledOnValidSequence()); in TryCancel() 152 DCHECK(sequence_checker_.CalledOnValidSequence()); in TryCancelAll() 160 DCHECK(sequence_checker_.CalledOnValidSequence()); in HasTrackedTasks() 165 DCHECK(sequence_checker_.CalledOnValidSequence()); in Track() [all …]
|
/external/libchrome/base/trace_event/ |
D | blame_context.cc | 29 DCHECK(!parent_context || !std::strcmp(name_, parent_context->name())) in BlameContext() 34 DCHECK(thread_checker_.CalledOnValidThread()); in ~BlameContext() 35 DCHECK(WasInitialized()); in ~BlameContext() 43 DCHECK(WasInitialized()); in Enter() 51 DCHECK(WasInitialized()); in Leave() 59 DCHECK(thread_checker_.CalledOnValidThread()); in TakeSnapshot() 60 DCHECK(WasInitialized()); in TakeSnapshot() 78 DCHECK(WasInitialized()); in OnTraceLogEnabled() 85 DCHECK(WasInitialized()); in AsValueInto() 95 DCHECK(thread_checker_.CalledOnValidThread()); in Initialize()
|
/external/libchrome/base/timer/ |
D | timer.cc | 104 DCHECK(origin_sequence_checker_.CalledOnValidSequence()); in ~Timer() 109 DCHECK(origin_sequence_checker_.CalledOnValidSequence()); in IsRunning() 114 DCHECK(origin_sequence_checker_.CalledOnValidSequence()); in GetCurrentDelay() 126 DCHECK(!is_running_); in SetTaskRunner() 133 DCHECK(origin_sequence_checker_.CalledOnValidSequence()); in Start() 159 DCHECK(origin_sequence_checker_.CalledOnValidSequence()); in Reset() 160 DCHECK(!user_task_.is_null()); in Reset() 197 DCHECK(!scheduled_task_); in PostNewScheduledTask() 269 DCHECK(origin_sequence_checker_.CalledOnValidSequence()); in FireNow() 270 DCHECK(!task_runner_) << "FireNow() is incompatible with SetTaskRunner()"; in FireNow() [all …]
|
/external/libchrome/base/task_scheduler/ |
D | task_tracker.cc | 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() [all …]
|
D | scheduler_worker.cc | 30 DCHECK(wake_up_event); in WaitForWork() 57 DCHECK(delegate_); in SchedulerWorker() 58 DCHECK(task_tracker_); in SchedulerWorker() 59 DCHECK(CanUseBackgroundPriorityForSchedulerWorker() || in SchedulerWorker() 66 DCHECK(thread_handle_.is_null()); in Start() 71 DCHECK(!scheduler_worker_observer_); in Start() 91 DCHECK(!join_called_for_testing_.IsSet()); in WakeUp() 92 DCHECK(!should_exit_.IsSet()); in WakeUp() 97 DCHECK(!join_called_for_testing_.IsSet()); in JoinForTesting() 105 DCHECK(!thread_handle_.is_null()); in JoinForTesting() [all …]
|
D | scheduler_worker_pool_impl.cc | 200 DCHECK(!histogram_label.empty()); 201 DCHECK(!pool_label_.empty()); 212 DCHECK(workers_.empty()); in Start() 225 DCHECK(!scheduler_worker_observer_); in Start() 257 DCHECK(workers_.empty()); in ~SchedulerWorkerPoolImpl() 289 DCHECK(!some_workers_cleaned_up_for_testing_) in WaitForWorkersIdleForTesting() 339 DCHECK(workers_ == workers_copy); in JoinForTesting() 392 DCHECK(ContainsWorker(outer_->workers_, worker)); in OnMainEntry() 404 DCHECK(win_thread_environment_->Succeeded()); in OnMainEntry() 421 DCHECK(!is_running_task_); in GetWork() [all …]
|
D | delayed_task_manager.cc | 20 DCHECK(tick_clock_); in DelayedTaskManager() 27 DCHECK(service_thread_task_runner); in Start() 33 DCHECK(!service_thread_task_runner_); in Start() 34 DCHECK(!started_.IsSet()); in Start() 54 DCHECK(task.task); in AddDelayedTask() 57 DCHECK(!delay.is_zero()); in AddDelayedTask() 85 DCHECK(task.task); in AddDelayedTaskNow() 86 DCHECK(started_.IsSet()); in AddDelayedTaskNow()
|
/external/libchrome/components/timers/ |
D | alarm_timer_chromeos.cc | 27 DCHECK(origin_task_runner_->RunsTasksInCurrentSequence()); in ~SimpleAlarmTimer() 32 DCHECK(origin_task_runner_->RunsTasksInCurrentSequence()); in Stop() 51 DCHECK(origin_task_runner_->RunsTasksInCurrentSequence()); in Reset() 52 DCHECK(!base::RetainingOneShotTimer::user_task().is_null()); in Reset() 107 DCHECK(origin_task_runner_->RunsTasksInCurrentSequence()); in OnAlarmFdReadableWithoutBlocking() 108 DCHECK(base::RetainingOneShotTimer::IsRunning()); in OnAlarmFdReadableWithoutBlocking() 119 DCHECK(origin_task_runner_->RunsTasksInCurrentSequence()); in OnTimerFired() 120 DCHECK(base::RetainingOneShotTimer::IsRunning()); in OnTimerFired() 121 DCHECK(pending_task_.get()); in OnTimerFired()
|
/external/libchrome/base/metrics/ |
D | user_metrics.cc | 33 DCHECK(g_callbacks.Get().empty()); in RecordComputedAction() 50 DCHECK(g_task_runner.Get()); in AddActionCallback() 51 DCHECK(g_task_runner.Get()->BelongsToCurrentThread()); in AddActionCallback() 56 DCHECK(g_task_runner.Get()); in RemoveActionCallback() 57 DCHECK(g_task_runner.Get()->BelongsToCurrentThread()); in RemoveActionCallback() 69 DCHECK(task_runner->BelongsToCurrentThread()); in SetRecordActionTaskRunner() 70 DCHECK(!g_task_runner.Get() || g_task_runner.Get()->BelongsToCurrentThread()); in SetRecordActionTaskRunner()
|
/external/libchrome/base/ |
D | run_loop.cc | 58 DCHECK(!delegate->bound_); in RegisterDelegateForCurrentThread() 62 DCHECK(!tls_delegate.Get().Get()) in RegisterDelegateForCurrentThread() 75 DCHECK(delegate_) << "A RunLoop::Delegate must be bound to this thread prior " in RunLoop() 77 DCHECK(origin_task_runner_); in RunLoop() 192 DCHECK(delegate); in AddNestingObserverOnCurrentThread() 199 DCHECK(delegate); in RemoveNestingObserverOnCurrentThread() 205 DCHECK(IsRunningOnCurrentThread()); in QuitCurrentDeprecated() 207 DCHECK(delegate->active_run_loops_.top()->allow_quit_current_deprecated_) in QuitCurrentDeprecated() 214 DCHECK(IsRunningOnCurrentThread()); in QuitCurrentWhenIdleDeprecated() 216 DCHECK(delegate->active_run_loops_.top()->allow_quit_current_deprecated_) in QuitCurrentWhenIdleDeprecated() [all …]
|