Home
last modified time | relevance | path

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

12345678910>>...38

/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.h22 DCHECK(RelocInfo::IsInternalReference(rmode_)); in apply()
33 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
45 DCHECK(IsValid()); in code()
51 DCHECK(IsValidOrNone()); in type()
57 DCHECK(static_cast<size_t>(reg_code) < (sizeof(RegList) * kBitsPerByte)); in Bit()
63 DCHECK(IsValid()); in SizeInBits()
69 DCHECK(IsValid()); in SizeInBytes()
70 DCHECK(SizeInBits() % 8 == 0); in SizeInBytes()
76 DCHECK(IsValid()); in Is32Bits()
82 DCHECK(IsValid()); in Is64Bits()
[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()
242 DCHECK(!regs[i].IsValid()); in AreAliased()
[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.cc42 DCHECK(!l->is_bound()); in Bind()
71 DCHECK(register_index >= 0); in PopRegister()
72 DCHECK(register_index <= kMaxRegister); in PopRegister()
80 DCHECK(register_index >= 0); in PushRegister()
81 DCHECK(register_index <= kMaxRegister); in PushRegister()
88 DCHECK(register_index >= 0); in WriteCurrentPositionToRegister()
89 DCHECK(register_index <= kMaxRegister); in WriteCurrentPositionToRegister()
96 DCHECK(reg_from <= reg_to); in ClearRegisters()
105 DCHECK(register_index >= 0); in ReadCurrentPositionFromRegister()
106 DCHECK(register_index <= kMaxRegister); in ReadCurrentPositionFromRegister()
[all …]
/external/v8/src/ast/
Dscopeinfo.cc41 DCHECK(var->IsParameter()); in Create()
60 DCHECK(var->IsStackLocal()); in Create()
68 DCHECK(context_global_count == 0 || scope->scope_type() == SCRIPT_SCOPE); in Create()
105 DCHECK(index == scope_info->ParameterEntriesIndex()); in Create()
119 DCHECK(index == scope_info->StackLocalFirstSlotIndex()); in Create()
121 DCHECK(index == scope_info->StackLocalEntriesIndex()); in Create()
123 DCHECK(stack_locals[i]->index() == first_slot_index + i); in Create()
136 DCHECK(index == scope_info->ContextLocalNameEntriesIndex()); in Create()
142 DCHECK(index == scope_info->ContextGlobalNameEntriesIndex()); in Create()
148 DCHECK(index == scope_info->ContextLocalInfoEntriesIndex()); in Create()
[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()
228 DCHECK(!HeapObject::cast(obj)->GetHeap()->InNewSpace(obj)); in Operand()
314 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
328 DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); in Align()
625 DCHECK(type < 32); in IsNop()
648 DCHECK(IsBranch(instr)); in GetBranchOffset()
[all …]
/external/v8/src/arm/
Dassembler-arm.cc144 DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7)); in ProbeImpl()
243 DCHECK(IsWasmMemoryReference(rmode_)); in wasm_memory_reference()
248 DCHECK(IsWasmMemorySizeReference(rmode_)); in wasm_memory_size_reference()
253 DCHECK(IsWasmGlobalReference(rmode_)); in wasm_global_reference()
278 DCHECK(!HeapObject::cast(obj)->GetHeap()->InNewSpace(obj)); in Operand()
290 DCHECK(is_uint5(shift_imm)); in Operand()
303 DCHECK(shift_imm == 0); in Operand()
311 DCHECK(shift_op != RRX); in Operand()
345 DCHECK(is_uint5(shift_imm)); in MemOperand()
355 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()
105 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
117 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
123 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
132 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
146 DCHECK(rmode_ == EXTERNAL_REFERENCE); in target_external_reference()
152 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference()
[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()
207 DCHECK(!HeapObject::cast(obj)->GetHeap()->InNewSpace(obj)); in Operand()
294 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
309 DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); in Align()
596 DCHECK(type < 32); in IsNop()
619 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/libchrome/base/threading/
Dsimple_thread.cc26 DCHECK(HasBeenStarted()) << "SimpleThread was never started."; in ~SimpleThread()
27 DCHECK(HasBeenJoined()) << "SimpleThread destroyed without being Join()ed."; in ~SimpleThread()
31 DCHECK(!HasBeenStarted()) << "Tried to Start a thread multiple times."; in Start()
39 DCHECK(success); in Start()
45 DCHECK(HasBeenStarted()) << "Tried to Join a never-started thread."; in Join()
46 DCHECK(!HasBeenJoined()) << "Tried to Join a thread multiple times."; in Join()
86 DCHECK(delegate_) << "Tried to call Run without a delegate (called twice?)"; in Run()
100 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
101 DCHECK(delegates_.empty()); in ~DelegateSimpleThreadPool()
102 DCHECK(!dry_.IsSignaled()); in ~DelegateSimpleThreadPool()
[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 …]
Dregister-configuration.cc147 DCHECK(num_general_registers_ <= RegisterConfiguration::kMaxGeneralRegisters); in RegisterConfiguration()
148 DCHECK(num_double_registers_ <= RegisterConfiguration::kMaxFPRegisters); in RegisterConfiguration()
170 DCHECK(fp_aliasing_kind_ == OVERLAP); in RegisterConfiguration()
183 DCHECK(fp_aliasing_kind_ == COMBINE); in GetAliases()
184 DCHECK(rep == MachineRepresentation::kFloat32 || in GetAliases()
186 DCHECK(other_rep == MachineRepresentation::kFloat32 || in GetAliases()
193 DCHECK(other_rep == MachineRepresentation::kFloat64); in GetAliases()
194 DCHECK(index < num_allocatable_float_registers_); in GetAliases()
198 DCHECK(rep == MachineRepresentation::kFloat64); in GetAliases()
199 DCHECK(other_rep == MachineRepresentation::kFloat32); in GetAliases()
[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/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 …]
Ddelayed-masm-arm64.cc17 DCHECK((src->IsStackSlot() && dst->IsStackSlot()) || in StackSlotMove()
22 DCHECK(pending_pc_ == masm_->pc_offset()); in StackSlotMove()
67 DCHECK(!scratch_register_acquired_); in StoreConstant()
76 DCHECK(pending_pc_ == masm_->pc_offset()); in StoreConstant()
105 DCHECK(pending_pc_ == masm_->pc_offset()); in Load()
106 DCHECK(!IsScratchRegister(pending_register_) || in Load()
108 DCHECK(!IsScratchRegister(rd) || scratch_register_acquired_); in Load()
113 DCHECK(pending_pc_ == masm_->pc_offset()); in Load()
114 DCHECK(!IsScratchRegister(pending_register_) || in Load()
116 DCHECK(!IsScratchRegister(rd) || scratch_register_acquired_); in Load()
[all …]
/external/v8/src/ic/s390/
Dstub-cache-s390.cc33 DCHECK(value_off_addr > key_off_addr); in ProbeTable()
34 DCHECK((value_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
35 DCHECK((value_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
36 DCHECK(map_off_addr > key_off_addr); in ProbeTable()
37 DCHECK((map_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
38 DCHECK((map_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
51 DCHECK(kPointerSizeLog2 > StubCache::kCacheIndexShift); in ProbeTable()
55 DCHECK(kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
78 DCHECK(!r0.is(flags_reg)); in ProbeTable()
110 DCHECK(sizeof(Entry) == 24); in GenerateProbe()
[all …]
/external/v8/src/ic/ppc/
Dstub-cache-ppc.cc33 DCHECK(value_off_addr > key_off_addr); in ProbeTable()
34 DCHECK((value_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
35 DCHECK((value_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
36 DCHECK(map_off_addr > key_off_addr); in ProbeTable()
37 DCHECK((map_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
38 DCHECK((map_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
51 DCHECK(kPointerSizeLog2 > StubCache::kCacheIndexShift); in ProbeTable()
55 DCHECK(kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
80 DCHECK(!r0.is(flags_reg)); in ProbeTable()
115 DCHECK(sizeof(Entry) == 24); in GenerateProbe()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h80 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
85 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
108 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
118 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
124 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
132 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
147 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_external_reference()
153 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference()
159 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference_address()
165 DCHECK(IsRuntimeEntry(rmode_)); in target_runtime_entry()
[all …]
/external/v8/src/x87/
Dassembler-x87-inl.h80 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
85 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
109 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
119 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
125 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
133 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
148 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_external_reference()
154 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference()
160 DCHECK(rmode_ == INTERNAL_REFERENCE); in target_internal_reference_address()
166 DCHECK(IsRuntimeEntry(rmode_)); in target_runtime_entry()
[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/runtime/
Druntime-collections.cc17 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
25 DCHECK(args.length() == 0); in RUNTIME_FUNCTION()
32 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
41 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
50 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
59 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
70 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
81 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
90 DCHECK(args.length() == 3); in RUNTIME_FUNCTION()
106 DCHECK(args.length() == 1); in RUNTIME_FUNCTION()
[all …]
/external/v8/src/parsing/
Dpreparse-data.h31 DCHECK(!owns_data_); in AcquireDataOwnership()
36 DCHECK(owns_data_); in ReleaseDataOwnership()
83 DCHECK(!has_error_); in LogFunction()
112 DCHECK(!has_error_); in literals()
116 DCHECK(!has_error_); in properties()
120 DCHECK(!has_error_); in language_mode()
124 DCHECK(!has_error_); in uses_super_property()
128 DCHECK(!has_error_); in calls_eval()
132 DCHECK(has_error_); in error_type()
136 DCHECK(has_error_); in message()
[all …]

12345678910>>...38