Home
last modified time | relevance | path

Searched refs:DCHECK_EQ (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/external/libchrome/ipc/
Dipc_sync_message_unittest.cc40 DCHECK_EQ(1, in1); in On_1_1()
51 DCHECK_EQ(3, in1); in On_1_3()
58 DCHECK_EQ(1, in1); in On_2_1()
65 DCHECK_EQ(2, in2); in On_2_2()
71 DCHECK_EQ(3, in1); in On_2_3()
79 DCHECK_EQ(1, in1); in On_3_1()
81 DCHECK_EQ("3_1", in3); in On_3_1()
90 DCHECK_EQ("3_2", in1); in On_3_2()
92 DCHECK_EQ(2, in3); in On_3_2()
103 DCHECK_EQ(3, in1); in On_3_3()
[all …]
/external/libchrome/base/synchronization/
Dlock_impl_posix.cc60 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
64 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
70 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
73 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
75 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
80 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in ~LockImpl()
103 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in Lock()
Dcondition_variable_posix.cc36 DCHECK_EQ(0, rv); in ConditionVariable()
43 DCHECK_EQ(0, rv); in ConditionVariable()
62 DCHECK_EQ(0, rv); in ~ConditionVariable()
72 DCHECK_EQ(0, rv); in Wait()
134 DCHECK_EQ(0, rv); in Broadcast()
139 DCHECK_EQ(0, rv); in Signal()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_segmented_array.h104 DCHECK_EQ(Offset % ElementsPerSegment, 0);
222 DCHECK_EQ(Freelist->Prev, &SentinelSegment); in NewSegment()
247 DCHECK_EQ(Freelist->Prev, &SentinelSegment); in NewSegment()
263 DCHECK_EQ(Head, &SentinelSegment); in InitHeadAndTail()
264 DCHECK_EQ(Tail, &SentinelSegment); in InitHeadAndTail()
268 DCHECK_EQ(S->Next, &SentinelSegment); in InitHeadAndTail()
269 DCHECK_EQ(S->Prev, &SentinelSegment); in InitHeadAndTail()
273 DCHECK_EQ(Head, Tail); in InitHeadAndTail()
274 DCHECK_EQ(Tail->Next, &SentinelSegment); in InitHeadAndTail()
275 DCHECK_EQ(Tail->Prev, &SentinelSegment); in InitHeadAndTail()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dfft_ops.cc125 DCHECK_EQ(0, output_shape.num_elements()); in Compute()
168 DCHECK_EQ(in.dtype(), DT_COMPLEX128); in DoFFT()
169 DCHECK_EQ(out->dtype(), DT_COMPLEX128); in DoFFT()
175 DCHECK_EQ(in.dtype(), DT_COMPLEX64); in DoFFT()
176 DCHECK_EQ(out->dtype(), DT_COMPLEX64); in DoFFT()
185 DCHECK_EQ(in.dtype(), DT_DOUBLE); in DoFFT()
186 DCHECK_EQ(out->dtype(), DT_COMPLEX128); in DoFFT()
189 DCHECK_EQ(in.dtype(), DT_FLOAT); in DoFFT()
190 DCHECK_EQ(out->dtype(), DT_COMPLEX64); in DoFFT()
195 DCHECK_EQ(in.dtype(), DT_COMPLEX128); in DoFFT()
[all …]
/external/libchrome/base/task/sequence_manager/
Dwork_queue_sets.cc31 DCHECK_EQ(this, work_queue->work_queue_sets()); in RemoveQueue()
42 DCHECK_EQ(this, work_queue->work_queue_sets()); in ChangeSetIndex()
68 DCHECK_EQ(this, work_queue->work_queue_sets()); in OnTaskPushedToEmptyQueue()
83 DCHECK_EQ(this, work_queue->work_queue_sets()); in OnPopQueue()
86 DCHECK_EQ(work_queue_heaps_[set_index].Min().value, work_queue) in OnPopQueue()
102 DCHECK_EQ(this, work_queue->work_queue_sets()); in OnQueueBlocked()
117 DCHECK_EQ(set_index, (*out_work_queue)->work_queue_set_index()); in GetOldestQueueInSet()
154 DCHECK_EQ(heap_value_pair.key, enqueue_order); in ContainsWorkQueueForTest()
155 DCHECK_EQ(this, work_queue->work_queue_sets()); in ContainsWorkQueueForTest()
/external/libchrome/base/
Dlogging_unittest.cc525 DCHECK_EQ(0, 0) << mock_log_source.Log(); in TEST_F()
529 DCHECK_EQ(0, 0) << mock_log_source.Log(); in TEST_F()
530 DCHECK_EQ(mock_log_source.Log(), static_cast<const char*>(nullptr)) in TEST_F()
595 DCHECK_EQ(0, 1); in TEST_F()
602 DCHECK_EQ(p_null, nullptr); in TEST_F()
603 DCHECK_EQ(nullptr, p_null); in TEST_F()
610 DCHECK_EQ(Animal::DOG, Animal::DOG); in TEST_F()
612 DCHECK_EQ(Animal::DOG, Animal::CAT); in TEST_F()
629 DCHECK_EQ(fp1, fp3); in TEST_F()
631 DCHECK_EQ(mp1, &MemberFunctions::MemberFunction1); in TEST_F()
[all …]
/external/libchrome/mojo/public/java/system/
Dcore_impl.cc35 DCHECK_EQ(reinterpret_cast<const uintptr_t>(buffer_start) % 8, 0u); in JNI_CoreImpl_CreateMessagePipe()
37 DCHECK_EQ(buffer_size, sizeof(MojoCreateMessagePipeOptions)); in JNI_CoreImpl_CreateMessagePipe()
39 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_CreateMessagePipe()
55 DCHECK_EQ(reinterpret_cast<const uintptr_t>(buffer_start) % 8, 0u); in JNI_CoreImpl_CreateDataPipe()
57 DCHECK_EQ(buffer_size, sizeof(MojoCreateDataPipeOptions)); in JNI_CoreImpl_CreateDataPipe()
59 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_CreateDataPipe()
76 DCHECK_EQ(reinterpret_cast<const uintptr_t>(buffer_start) % 8, 0u); in JNI_CoreImpl_CreateSharedBuffer()
78 DCHECK_EQ(buffer_size, sizeof(MojoCreateSharedBufferOptions)); in JNI_CoreImpl_CreateSharedBuffer()
80 DCHECK_EQ(options->struct_size, buffer_size); in JNI_CoreImpl_CreateSharedBuffer()
101 DCHECK_EQ(sizeof(MojoHandleSignalsState), in JNI_CoreImpl_QueryHandleSignalsState()
[all …]
/external/libchrome/base/memory/
Dprotected_memory_posix.cc57 DCHECK_EQ(result, -1); in AssertMemoryIsReadOnly()
58 DCHECK_EQ(errno, EFAULT); in AssertMemoryIsReadOnly()
73 DCHECK_EQ(kr, KERN_SUCCESS); in AssertMemoryIsReadOnly()
74 DCHECK_EQ(region_info.protection, VM_PROT_READ); in AssertMemoryIsReadOnly()
Ddiscardable_shared_memory.cc80 DCHECK_EQ(lock_state & ~1, 0); in SharedState()
195 DCHECK_EQ(AlignToPageSize(offset), offset); in Lock()
196 DCHECK_EQ(AlignToPageSize(length), length); in Lock()
242 DCHECK_EQ(locked_pages_.size(), locked_page_count_); in Lock()
278 DCHECK_EQ(AlignToPageSize(offset), offset); in Unlock()
279 DCHECK_EQ(AlignToPageSize(length), length); in Unlock()
308 DCHECK_EQ(1u, erased_count); in Unlock()
310 DCHECK_EQ(locked_pages_.size(), locked_page_count_); in Unlock()
327 DCHECK_EQ((new_state.GetTimestamp() - Time::UnixEpoch()).InSeconds(), in Unlock()
333 DCHECK_EQ(old_state.value.u, result.value.u); in Unlock()
[all …]
Daligned_memory.cc18 DCHECK_EQ(alignment & (alignment - 1), 0U); in AlignedAlloc()
19 DCHECK_EQ(alignment % sizeof(void*), 0U); in AlignedAlloc()
43 DCHECK_EQ(reinterpret_cast<uintptr_t>(ptr) & (alignment - 1), 0U); in AlignedAlloc()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dprog.h86 int cap() { DCHECK_EQ(opcode(), kInstCapture); return cap_; } in cap()
87 int lo() { DCHECK_EQ(opcode(), kInstByteRange); return lo_; } in lo()
88 int hi() { DCHECK_EQ(opcode(), kInstByteRange); return hi_; } in hi()
89 int foldcase() { DCHECK_EQ(opcode(), kInstByteRange); return hint_foldcase_&1; } in foldcase()
90 int hint() { DCHECK_EQ(opcode(), kInstByteRange); return hint_foldcase_>>1; } in hint()
91 int match_id() { DCHECK_EQ(opcode(), kInstMatch); return match_id_; } in match_id()
92 EmptyOp empty() { DCHECK_EQ(opcode(), kInstEmptyWidth); return empty_; } in empty()
95 DCHECK_EQ(opcode(), kInstAltMatch); in greedy()
103 DCHECK_EQ(opcode(), kInstByteRange); in Matches()
Dregexp.h334 int min() { DCHECK_EQ(op_, kRegexpRepeat); return min_; } in min()
335 int max() { DCHECK_EQ(op_, kRegexpRepeat); return max_; } in max()
336 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } in rune()
337 CharClass* cc() { DCHECK_EQ(op_, kRegexpCharClass); return cc_; } in cc()
338 int cap() { DCHECK_EQ(op_, kRegexpCapture); return cap_; } in cap()
339 const std::string* name() { DCHECK_EQ(op_, kRegexpCapture); return name_; } in name()
340 Rune* runes() { DCHECK_EQ(op_, kRegexpLiteralString); return runes_; } in runes()
341 int nrunes() { DCHECK_EQ(op_, kRegexpLiteralString); return nrunes_; } in nrunes()
342 int match_id() { DCHECK_EQ(op_, kRegexpHaveMatch); return match_id_; } in match_id()
/external/tensorflow/tensorflow/core/util/sparse/
Dsparse_tensor.cc105 DCHECK_EQ(ix_.dtype(), DT_INT64) in SparseTensor()
109 DCHECK_EQ(ix_.shape().dim_size(0), vals_.shape().dim_size(0)) in SparseTensor()
111 DCHECK_EQ(order.size(), dims_) << "Order length must be SparseTensor rank."; in SparseTensor()
112 DCHECK_EQ(shape.size(), dims_) << "Shape rank must be SparseTensor rank."; in SparseTensor()
122 DCHECK_EQ(shape_.size(), 1); in IndicesValidVectorFastPath()
123 DCHECK_EQ(order_[0], 0); in IndicesValidVectorFastPath()
158 DCHECK_EQ(shape_.size(), 2); in IndicesValidMatrix32BitFastPath()
159 DCHECK_EQ(order_[0], 0); in IndicesValidMatrix32BitFastPath()
160 DCHECK_EQ(order_[1], 1); in IndicesValidMatrix32BitFastPath()
/external/libchrome/device/bluetooth/
Dbluetooth_uuid.cc86 DCHECK_EQ(kBufferSize, result); in BluetoothUUID()
87 DCHECK_EQ('{', buffer[0]); in BluetoothUUID()
88 DCHECK_EQ('}', buffer[37]); in BluetoothUUID()
92 DCHECK_EQ(kFormat128Bit, format_); in BluetoothUUID()
104 DCHECK_EQ(36u, uuid.size()); in GetCanonicalValueAsGUID()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h96 DCHECK_EQ(tid, this->tid()); in FastState()
97 DCHECK_EQ(epoch, this->epoch()); in FastState()
98 DCHECK_EQ(GetIgnoreBit(), false); in FastState()
127 DCHECK_EQ(old_epoch + 1, epoch()); in IncrementEpoch()
188 DCHECK_EQ((x_ >> kClkBits) & 31, 0); in SetAddr0AndSizeLog()
192 DCHECK_EQ(kAccessSizeLog, size_log()); in SetAddr0AndSizeLog()
193 DCHECK_EQ(addr0, this->addr0()); in SetAddr0AndSizeLog()
197 DCHECK_EQ(x_ & kReadBit, 0); in SetWrite()
200 DCHECK_EQ(kAccessIsWrite, IsWrite()); in SetWrite()
207 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic()
[all …]
/external/libchrome/mojo/public/cpp/system/
Dwait.cc73 DCHECK_EQ(MOJO_RESULT_OK, rv); in Wait()
88 DCHECK_EQ(MOJO_RESULT_OK, rv); in Wait()
95 DCHECK_EQ(1u, num_blocking_events); in Wait()
123 DCHECK_EQ(MOJO_RESULT_OK, rv); in WaitMany()
160 DCHECK_EQ(1u, num_blocking_events); in WaitMany()
173 DCHECK_EQ(MOJO_RESULT_OK, rv); in WaitMany()
/external/tensorflow/tensorflow/core/platform/
Dstrcat.cc91 DCHECK_EQ(out, begin + result.size()); in StrCat()
100 DCHECK_EQ(out, begin + result.size()); in StrCat()
109 DCHECK_EQ(out, begin + result.size()); in StrCat()
155 DCHECK_EQ(out, begin + result.size()); in CatPieces()
182 DCHECK_EQ(out, begin + result->size()); in AppendPieces()
199 DCHECK_EQ(out, begin + result->size()); in StrAppend()
213 DCHECK_EQ(out, begin + result->size()); in StrAppend()
227 DCHECK_EQ(out, begin + result->size()); in StrAppend()
Dlogging_test.cc51 DCHECK_EQ(a, a); in TEST()
53 DCHECK_EQ(3, 3); in TEST()
87 ASSERT_DEATH(DCHECK_EQ(a, b), "a == b"); in TEST()
88 ASSERT_DEATH(DCHECK_EQ(3, 4), "3 == 4"); in TEST()
/external/libchrome/base/profiler/
Dstack_sampling_profiler.cc339 DCHECK_EQ(RUNNING, state); in ShutdownAssumingIdle()
486 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in GetTaskRunnerOnSamplingThread()
493 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in FinishCollection()
494 DCHECK_EQ(0u, active_collections_.count(collection->collection_id)); in FinishCollection()
509 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in ScheduleShutdownIfIdle()
530 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in AddCollectionTask()
555 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in RemoveCollectionTask()
564 DCHECK_EQ(1U, count); in RemoveCollectionTask()
571 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in RecordSampleTask()
614 DCHECK_EQ(1U, count); in RecordSampleTask()
[all …]
/external/libchrome/base/debug/
Dactivity_tracker.cc129 DCHECK_EQ(0U, old_id); in Release_Initialize()
286 DCHECK_EQ(RAW_VALUE, type_); in Get()
291 DCHECK_EQ(STRING_VALUE, type_); in GetString()
296 DCHECK_EQ(BOOL_VALUE, type_); in GetBool()
301 DCHECK_EQ(CHAR_VALUE, type_); in GetChar()
306 DCHECK_EQ(SIGNED_VALUE, type_); in GetInt()
311 DCHECK_EQ(UNSIGNED_VALUE, type_); in GetUint()
316 DCHECK_EQ(RAW_VALUE_REFERENCE, type_); in GetReference()
321 DCHECK_EQ(STRING_VALUE_REFERENCE, type_); in GetStringReference()
512 DCHECK_EQ(END_OF_VALUES, header->type.load(std::memory_order_relaxed)); in Set()
[all …]
/external/tensorflow/tensorflow/core/kernels/sparse/
Dadd_op.cc297 DCHECK_EQ(m, b.row_ptr.size() - 1); in GetWorkspaceSize()
299 DCHECK_EQ(m, a.dense_shape_host(row_dim)); in GetWorkspaceSize()
300 DCHECK_EQ(m, b.dense_shape_host(row_dim)); in GetWorkspaceSize()
305 DCHECK_EQ(n, b.dense_shape_host(row_dim + 1)); in GetWorkspaceSize()
325 DCHECK_EQ(m, b.row_ptr.size() - 1); in GetOutputStructure()
327 DCHECK_EQ(m, a.dense_shape_host(row_dim)); in GetOutputStructure()
328 DCHECK_EQ(m, b.dense_shape_host(row_dim)); in GetOutputStructure()
334 DCHECK_EQ(n, b.dense_shape_host(row_dim + 1)); in GetOutputStructure()
353 DCHECK_EQ(m, b.row_ptr.size() - 1); in Compute()
355 DCHECK_EQ(m, a.dense_shape_host(row_dim)); in Compute()
[all …]
Dkernels_gpu.cu.cc61 DCHECK_EQ(indices.rank(), 2); in operator ()()
62 DCHECK_EQ(indices.dimension(1), 3); // batch, row, col in operator ()()
153 DCHECK_EQ(stride, indices.dimension(1)); in operator ()()
223 DCHECK_EQ(ndims, host_dense_shape.size()); in operator ()()
229 DCHECK_EQ(size, coo_col_ind.size()); in operator ()()
230 DCHECK_EQ(size, indices.dimension(0)); in operator ()()
288 DCHECK_EQ(a.dims(), 3); in CSRSparseMatrixBatchMulVecImpl()
306 DCHECK_EQ(b.size(), batch_size); in CSRSparseMatrixBatchMulVecImpl()
432 DCHECK_EQ(rows, row_ptr.size() - 1); in CSRSparseMatrixSoftmaxGPUImpl()
441 DCHECK_EQ(batch_size, host_batch_ptr.size() - 1); in CSRSparseMatrixSoftmaxGPUImpl()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dwhile_context.cc33 DCHECK_EQ(exit_nodes_.size(), num_loop_vars); in WhileContext()
34 DCHECK_EQ(body_inputs_.size(), num_loop_vars); in WhileContext()
35 DCHECK_EQ(body_outputs_.size(), num_loop_vars); in WhileContext()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h103 DCHECK_EQ(tid, this->tid()); in FastState()
104 DCHECK_EQ(epoch, this->epoch()); in FastState()
105 DCHECK_EQ(GetIgnoreBit(), false); in FastState()
134 DCHECK_EQ(old_epoch + 1, epoch()); in IncrementEpoch()
195 DCHECK_EQ((x_ >> kClkBits) & 31, 0); in SetAddr0AndSizeLog()
199 DCHECK_EQ(kAccessSizeLog, size_log()); in SetAddr0AndSizeLog()
200 DCHECK_EQ(addr0, this->addr0()); in SetAddr0AndSizeLog()
204 DCHECK_EQ(x_ & kReadBit, 0); in SetWrite()
207 DCHECK_EQ(kAccessIsWrite, IsWrite()); in SetWrite()
214 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic()
[all …]

12345678910>>...19