Home
last modified time | relevance | path

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

12345678910>>...45

/external/v8/src/arm64/
Dmacro-assembler-arm64-inl.h41 DCHECK(!code_object_.is_null()); in CodeObject()
49 DCHECK(allow_macro_instructions_); in And()
50 DCHECK(!rd.IsZero()); in And()
58 DCHECK(allow_macro_instructions_); in Ands()
59 DCHECK(!rd.IsZero()); in Ands()
66 DCHECK(allow_macro_instructions_); in Tst()
74 DCHECK(allow_macro_instructions_); in Bic()
75 DCHECK(!rd.IsZero()); in Bic()
83 DCHECK(allow_macro_instructions_); in Bics()
84 DCHECK(!rd.IsZero()); in Bics()
[all …]
Dassembler-arm64-inl.h23 DCHECK(RelocInfo::IsInternalReference(rmode_)); in apply()
31 DCHECK(IsValid()); in code()
37 DCHECK(IsValidOrNone()); in type()
43 DCHECK(static_cast<size_t>(reg_code) < (sizeof(RegList) * kBitsPerByte)); in Bit()
49 DCHECK(IsValid()); in SizeInBits()
55 DCHECK(IsValid()); in SizeInBytes()
56 DCHECK(SizeInBits() % 8 == 0); in SizeInBytes()
62 DCHECK(IsValid()); in Is32Bits()
68 DCHECK(IsValid()); in Is64Bits()
75 DCHECK(!IsNone()); in IsValid()
[all …]
Dassembler-arm64.cc66 DCHECK(IsValid()); in PopLowestIndex()
71 DCHECK((1 << index) & list_); in PopLowestIndex()
78 DCHECK(IsValid()); in PopHighestIndex()
84 DCHECK((1 << index) & list_); in PopHighestIndex()
96 DCHECK(type() == CPURegister::kNoRegister); in RemoveCalleeSaved()
97 DCHECK(IsEmpty()); in RemoveCalleeSaved()
183 DCHECK(IsWasmMemoryReference(rmode_)); in wasm_memory_reference()
188 DCHECK(IsWasmMemorySizeReference(rmode_)); in wasm_memory_size_reference()
193 DCHECK(IsWasmGlobalReference(rmode_)); in wasm_global_reference()
198 DCHECK(IsWasmFunctionTableSizeReference(rmode_)); in wasm_function_table_size_reference()
[all …]
/external/v8/src/interpreter/
Dbytecode-peephole-optimizer.cc80 DCHECK(node->bytecode() != Bytecode::kNop || node->source_info().is_valid()); in SetLast()
147 DCHECK((last->bytecode() == Bytecode::kLdaNull) || in TransformEqualityWithNullOrUndefined()
149 DCHECK((current->bytecode() == Bytecode::kTestEqual) || in TransformEqualityWithNullOrUndefined()
162 DCHECK(LastIsValid()); in DefaultAction()
163 DCHECK(!Bytecodes::IsJump(node->bytecode())); in DefaultAction()
171 DCHECK(!LastIsValid()); in UpdateLastAction()
172 DCHECK(!Bytecodes::IsJump(node->bytecode())); in UpdateLastAction()
179 DCHECK(!LastIsValid()); in UpdateLastIfSourceInfoPresentAction()
180 DCHECK(!Bytecodes::IsJump(node->bytecode())); in UpdateLastIfSourceInfoPresentAction()
189 DCHECK(LastIsValid()); in ElideCurrentAction()
[all …]
/external/v8/src/base/platform/
Delapsed-timer.h24 DCHECK(!IsStarted()); in Start()
29 DCHECK(IsStarted()); in Start()
35 DCHECK(IsStarted()); in Stop()
40 DCHECK(!IsStarted()); in Stop()
45 DCHECK(started_ || start_ticks_.IsNull()); in IsStarted()
46 DCHECK(!started_ || !start_ticks_.IsNull()); in IsStarted()
56 DCHECK(IsStarted()); in Restart()
59 DCHECK(elapsed.InMicroseconds() >= 0); in Restart()
61 DCHECK(IsStarted()); in Restart()
68 DCHECK(IsStarted()); in Elapsed()
[all …]
/external/v8/src/regexp/
Dregexp-macro-assembler-irregexp.cc43 DCHECK(!l->is_bound()); in Bind()
72 DCHECK(register_index >= 0); in PopRegister()
73 DCHECK(register_index <= kMaxRegister); in PopRegister()
81 DCHECK(register_index >= 0); in PushRegister()
82 DCHECK(register_index <= kMaxRegister); in PushRegister()
89 DCHECK(register_index >= 0); in WriteCurrentPositionToRegister()
90 DCHECK(register_index <= kMaxRegister); in WriteCurrentPositionToRegister()
97 DCHECK(reg_from <= reg_to); in ClearRegisters()
106 DCHECK(register_index >= 0); in ReadCurrentPositionFromRegister()
107 DCHECK(register_index <= kMaxRegister); in ReadCurrentPositionFromRegister()
[all …]
/external/v8/src/arm/
Dassembler-arm.cc217 DCHECK(cpu.has_vfp3()); in ProbeImpl()
340 DCHECK(IsWasmMemoryReference(rmode_)); in wasm_memory_reference()
345 DCHECK(IsWasmMemorySizeReference(rmode_)); in wasm_memory_size_reference()
350 DCHECK(IsWasmGlobalReference(rmode_)); in wasm_global_reference()
355 DCHECK(IsWasmFunctionTableSizeReference(rmode_)); in wasm_function_table_size_reference()
391 DCHECK(is_uint5(shift_imm)); in Operand()
404 DCHECK(shift_imm == 0); in Operand()
412 DCHECK(shift_op != RRX); in Operand()
446 DCHECK(is_uint5(shift_imm)); in MemOperand()
456 DCHECK((am == Offset) || (am == PostIndex)); in NeonMemOperand()
[all …]
Dassembler-arm-inl.h70 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
75 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
85 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address()
92 DCHECK(IsInConstantPool()); in constant_pool_entry_address()
103 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
109 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
118 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
133 DCHECK(rmode_ == EXTERNAL_REFERENCE); in target_external_reference()
139 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference()
145 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference_address()
[all …]
/external/v8/src/mips64/
Dassembler-mips64.cc91 DCHECK(reg.is_valid()); in ToNumber()
131 DCHECK(num >= 0 && num < kNumRegisters); in ToRegister()
171 DCHECK(IsWasmMemoryReference(rmode_)); in wasm_memory_reference()
176 DCHECK(IsWasmGlobalReference(rmode_)); in wasm_global_reference()
181 DCHECK(IsWasmMemorySizeReference(rmode_)); in wasm_memory_size_reference()
187 DCHECK(IsWasmFunctionTableSizeReference(rmode_)); in wasm_function_table_size_reference()
297 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
312 DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); in Align()
599 DCHECK(type < 32); in IsNop()
622 DCHECK(IsBranch(instr)); in GetBranchOffset()
[all …]
/external/v8/src/mips/
Dassembler-mips.cc113 DCHECK(reg.is_valid()); in ToNumber()
153 DCHECK(num >= 0 && num < kNumRegisters); in ToRegister()
193 DCHECK(IsWasmMemoryReference(rmode_)); in wasm_memory_reference()
198 DCHECK(IsWasmGlobalReference(rmode_)); in wasm_global_reference()
203 DCHECK(IsWasmMemorySizeReference(rmode_)); in wasm_memory_size_reference()
208 DCHECK(IsWasmFunctionTableSizeReference(rmode_)); in wasm_function_table_size_reference()
316 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
330 DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); in Align()
627 DCHECK(type < 32); in IsNop()
650 DCHECK(IsBranch(instr)); in GetBranchOffset()
[all …]
/external/libchrome/base/
Did_map.h68 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); in Add()
69 DCHECK(!check_on_null_data_ || data); in Add()
71 DCHECK(data_.find(this_id) == data_.end()) << "Inserting duplicate item"; in Add()
82 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); in AddWithID()
83 DCHECK(!check_on_null_data_ || data); in AddWithID()
84 DCHECK(data_.find(id) == data_.end()) << "Inserting duplicate item"; in AddWithID()
89 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); in Remove()
110 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); in Replace()
111 DCHECK(!check_on_null_data_ || new_data); in Replace()
124 DCHECK(sequence_checker_.CalledOnValidSequencedThread()); in Clear()
[all …]
/external/libmojo/mojo/public/cpp/bindings/lib/
Dmultiplex_router.cc72 DCHECK(!client_); in AttachClient()
73 DCHECK(!closed_); in AttachClient()
74 DCHECK(runner->BelongsToCurrentThread()); in AttachClient()
84 DCHECK(client_); in DetachClient()
85 DCHECK(task_runner_->BelongsToCurrentThread()); in DetachClient()
86 DCHECK(!closed_); in DetachClient()
112 DCHECK(task_runner_->BelongsToCurrentThread()); in SendMessage()
118 DCHECK(task_runner_->BelongsToCurrentThread()); in AllowWokenUpBySyncWatchOnSameThread()
125 DCHECK(task_runner_->BelongsToCurrentThread()); in SyncWatch()
137 DCHECK(!client_); in ~InterfaceEndpoint()
[all …]
Dinterface_endpoint_client.cc31 DCHECK(!is_valid) << message; in DCheckIfInvalid()
71 DCHECK(task_runner_->RunsTasksOnCurrentThread()); in Accept()
73 DCHECK(message->has_flag(Message::kFlagIsResponse)); in Accept()
85 DCHECK(task_runner_->RunsTasksOnCurrentThread()); in IsValid()
146 DCHECK(handle_.is_valid()); in InterfaceEndpointClient()
147 DCHECK(handle_.is_local()); in InterfaceEndpointClient()
160 DCHECK(thread_checker_.CalledOnValidThread()); in ~InterfaceEndpointClient()
172 DCHECK(thread_checker_.CalledOnValidThread()); in interface_id()
177 DCHECK(thread_checker_.CalledOnValidThread()); in PassHandle()
178 DCHECK(!has_pending_responders()); in PassHandle()
[all …]
/external/compiler-rt/lib/esan/
Desan.cpp119 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/v8/src/
Dtransitions-inl.h15 DCHECK(object->IsTransitionArray()); in cast()
34 DCHECK(HasPrototypeTransitions()); // Callers must check first. in GetPrototypeTransitions()
41 DCHECK(transitions->IsFixedArray()); in SetPrototypeTransitions()
52 DCHECK(transition_number < number_of_transitions()); in GetKeySlot()
58 DCHECK(transition_number < number_of_transitions()); in GetKey()
65 DCHECK(transition_number == 0); in GetKey()
68 DCHECK(IsFullTransitionArray(raw_transitions)); in GetKey()
74 DCHECK(transition_number < number_of_transitions()); in SetKey()
80 DCHECK(transition_number < number_of_transitions()); in GetTarget()
88 DCHECK(transition_number == 0); in GetTarget()
[all …]
Dbignum.cc27 DCHECK(kBigitSize >= BitSize(value)); in AssignUInt16()
75 DCHECK(0 <= digit && digit <= 9); in ReadUInt64()
151 DCHECK(IsClamped()); in AddBignum()
152 DCHECK(other.IsClamped()); in AddBignum()
173 DCHECK(bigit_pos >= 0); in AddBignum()
188 DCHECK(IsClamped()); in AddBignum()
193 DCHECK(IsClamped()); in SubtractBignum()
194 DCHECK(other.IsClamped()); in SubtractBignum()
196 DCHECK(LessEqual(other, *this)); in SubtractBignum()
204 DCHECK((borrow == 0) || (borrow == 1)); in SubtractBignum()
[all …]
Ddate.cc32 DCHECK(stamp_ != Smi::FromInt(kInvalidStamp)); in ResetDateCache()
94 DCHECK(days >= -1); in YearMonthDayFromDays()
95 DCHECK(is_leap || (days >= 0)); in YearMonthDayFromDays()
96 DCHECK((days < 365) || (is_leap && (days < 366))); in YearMonthDayFromDays()
97 DCHECK(is_leap == ((*year % 4 == 0) && (*year % 100 || (*year % 400 == 0)))); in YearMonthDayFromDays()
98 DCHECK(is_leap || ((DaysFromYearMonth(*year, 0) + days) == save_days)); in YearMonthDayFromDays()
99 DCHECK(!is_leap || ((DaysFromYearMonth(*year, 0) + days + 1) == save_days)); in YearMonthDayFromDays()
125 DCHECK(DaysFromYearMonth(*year, *month) + *day - 1 == save_days); in YearMonthDayFromDays()
147 DCHECK(month >= 0); in DaysFromYearMonth()
148 DCHECK(month < 12); in DaysFromYearMonth()
[all …]
/external/v8/src/compiler/
Doperation-typer.cc25 DCHECK(!truncating_to_zero->Maybe(Type::Integral32())); in OperationTyper()
124 DCHECK(std::isnan(max)); in Rangify()
136 DCHECK(n != 0); in array_min()
143 DCHECK(!std::isnan(x)); in array_min()
151 DCHECK(n != 0); in array_max()
158 DCHECK(!std::isnan(x)); in array_max()
272 DCHECK(type->Is(Type::Number())); in NumberAbs()
300 DCHECK(type->Is(Type::Number())); in NumberAcos()
305 DCHECK(type->Is(Type::Number())); in NumberAcosh()
310 DCHECK(type->Is(Type::Number())); in NumberAsin()
[all …]
/external/libchrome/base/threading/
Dsimple_thread.cc35 DCHECK(HasBeenStarted()) << "SimpleThread was never started."; in ~SimpleThread()
36 DCHECK(HasBeenJoined()) << "SimpleThread destroyed without being Join()ed."; in ~SimpleThread()
40 DCHECK(!HasBeenStarted()) << "Tried to Start a thread multiple times."; in Start()
48 DCHECK(success); in Start()
54 DCHECK(HasBeenStarted()) << "Tried to Join a never-started thread."; in Join()
55 DCHECK(!HasBeenJoined()) << "Tried to Join a thread multiple times."; in Join()
95 DCHECK(delegate_) << "Tried to call Run without a delegate (called twice?)"; in Run()
109 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
110 DCHECK(delegates_.empty()); in ~DelegateSimpleThreadPool()
111 DCHECK(!dry_.IsSignaled()); in ~DelegateSimpleThreadPool()
[all …]
/external/v8/src/ast/
Dscopes.cc101 DCHECK(reinterpret_cast<const AstRawString*>(p->key) == name); in Lookup()
102 DCHECK(p->value != NULL); in Lookup()
248 DCHECK(!scope_info.is_null()); in Scope()
398 DCHECK(!scope_info->HasOuterScopeInfo()); in DeserializeScopeChain()
446 DCHECK(is_declaration_scope()); in AsDeclarationScope()
451 DCHECK(is_declaration_scope()); in AsDeclarationScope()
456 DCHECK(is_module_scope()); in AsModuleScope()
461 DCHECK(is_module_scope()); in AsModuleScope()
478 DCHECK(is_sloppy(language_mode())); in HoistSloppyBlockFunctions()
479 DCHECK(is_function_scope() || is_eval_scope() || is_script_scope() || in HoistSloppyBlockFunctions()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-gap-resolver-arm64.cc18 DCHECK(ScratchRegister().Is(root)); in EndDelayedUse()
19 DCHECK(!pending()); in EndDelayedUse()
33 DCHECK(moves_.is_empty()); in Resolve()
34 DCHECK(!masm_.pending()); in Resolve()
57 DCHECK(move.source()->IsConstantOperand()); in Resolve()
89 DCHECK(!current_move.IsPending()); in PerformMove()
90 DCHECK(!current_move.IsRedundant()); in PerformMove()
95 DCHECK(current_move.source() != NULL); // Otherwise it will look eliminated. in PerformMove()
122 DCHECK(other_move.IsPending()); in PerformMove()
146 DCHECK(moves_[index].destination()->Equals(moves_[root_index_].source())); in BreakCycle()
[all …]
/external/libchrome/base/test/
Dtest_simple_task_runner.cc14 DCHECK(thread_checker_.CalledOnValidThread()); in ~TestSimpleTaskRunner()
21 DCHECK(thread_checker_.CalledOnValidThread()); in PostDelayedTask()
32 DCHECK(thread_checker_.CalledOnValidThread()); in PostNonNestableDelayedTask()
40 DCHECK(thread_checker_.CalledOnValidThread()); in RunsTasksOnCurrentThread()
46 DCHECK(thread_checker_.CalledOnValidThread()); in GetPendingTasks()
51 DCHECK(thread_checker_.CalledOnValidThread()); in HasPendingTask()
56 DCHECK(thread_checker_.CalledOnValidThread()); in NextPendingTaskDelay()
61 DCHECK(thread_checker_.CalledOnValidThread()); in ClearPendingTasks()
66 DCHECK(thread_checker_.CalledOnValidThread()); in RunPendingTasks()
/external/v8/src/wasm/
Dwasm-code-specialization.cc23 DCHECK(decoder.ok()); in ExtractDirectCallIndex()
32 DCHECK(!iterator.done()); in AdvanceSourcePositionTableIterator()
70 DCHECK(old_mem_start == nullptr && old_mem_size == 0 && in RelocateMemoryReferences()
72 DCHECK(old_start != new_start || old_size != new_size); in RelocateMemoryReferences()
80 DCHECK(old_globals_start == 0 && new_globals_start == 0); in RelocateGlobals()
81 DCHECK(old_start != 0 || new_start != 0); in RelocateGlobals()
87 DCHECK(old_function_table_size == 0 && new_function_table_size == 0); in PatchTableSize()
88 DCHECK(old_size != 0 || new_size != 0); in PatchTableSize()
95 DCHECK(relocate_direct_calls_instance.is_null()); in RelocateDirectCalls()
96 DCHECK(!instance.is_null()); in RelocateDirectCalls()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h82 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
87 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
106 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
112 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
120 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
136 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_external_reference()
142 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference()
148 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference_address()
154 DCHECK(IsRuntimeEntry(rmode_)); in target_runtime_entry()
162 DCHECK(IsRuntimeEntry(rmode_)); in set_target_runtime_entry()
[all …]
/external/v8/src/x87/
Dassembler-x87-inl.h82 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
87 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
106 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
112 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
120 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
136 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_external_reference()
142 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference()
148 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference_address()
154 DCHECK(IsRuntimeEntry(rmode_)); in target_runtime_entry()
162 DCHECK(IsRuntimeEntry(rmode_)); in set_target_runtime_entry()
[all …]

12345678910>>...45