/art/runtime/ |
D | imt_conflict_table.h | 62 ImtConflictTable(size_t num_entries, PointerSize pointer_size) { in ImtConflictTable() argument 63 SetInterfaceMethod(num_entries, pointer_size, nullptr); in ImtConflictTable() 64 SetImplementationMethod(num_entries, pointer_size, nullptr); in ImtConflictTable() 171 static size_t ComputeSize(size_t num_entries, PointerSize pointer_size) { in ComputeSize() argument 172 return (num_entries + 1) * EntrySize(pointer_size); // Add one for null terminator. in ComputeSize()
|
D | class_linker.cc | 7204 const size_t num_entries = table->NumEntries(image_pointer_size_); in FillIMTFromIfTable() local 7205 table->SetInterfaceMethod(num_entries, image_pointer_size_, interface_method); in FillIMTFromIfTable() 7206 table->SetImplementationMethod(num_entries, image_pointer_size_, implementation_method); in FillIMTFromIfTable() 7478 int32_t num_entries = vtable->GetLength(); in CheckVTableHasNoDuplicates() local 7488 CHECK_GT(num_entries, 0); in CheckVTableHasNoDuplicates() 7509 for (; start < num_entries; ++start) { in CheckVTableHasNoDuplicates() 7519 if (start == num_entries) { in CheckVTableHasNoDuplicates() 7536 seen.reserve(2 * num_entries); in CheckVTableHasNoDuplicates() 7539 for (int i = start; i < num_entries; ++i) { in CheckVTableHasNoDuplicates() 7600 for (int32_t i = 0; i < num_entries; ++i) { in CheckVTableHasNoDuplicates()
|
/art/compiler/optimizing/ |
D | nodes_x86.h | 95 int32_t num_entries, in HX86PackedSwitch() argument 101 num_entries_(num_entries) { in HX86PackedSwitch()
|
D | code_generator_arm_vixl.h | 126 uint32_t num_entries = switch_instr_->GetNumEntries(); in JumpTableARMVIXL() local 127 for (uint32_t i = 0; i < num_entries; i++) { in JumpTableARMVIXL()
|
D | code_generator_x86.h | 330 uint32_t num_entries,
|
D | code_generator_x86.cc | 8220 uint32_t num_entries, in GenPackedSwitchWithCompares() argument 8226 DCHECK_GT(num_entries, 2u); in GenPackedSwitchWithCompares() 8244 for (; index + 1 < num_entries; index += 2) { in GenPackedSwitchWithCompares() 8253 if (index != num_entries) { in GenPackedSwitchWithCompares() 8255 DCHECK_EQ(index + 1, num_entries); in GenPackedSwitchWithCompares() 8268 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 8274 num_entries, in VisitPackedSwitch() 8293 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitX86PackedSwitch() local 8298 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitX86PackedSwitch() 8301 num_entries, in VisitX86PackedSwitch() [all …]
|
D | code_generator_arm64.cc | 582 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local 583 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable() 588 num_entries * sizeof(int32_t), in EmitTable() 593 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable() 6097 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 6109 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch() 6121 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch() 6128 if (num_entries - last_index == 2) { in VisitPackedSwitch() 6156 __ Cmp(index, Operand(num_entries)); in VisitPackedSwitch()
|
D | code_generator_arm_vixl.cc | 1887 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local 1888 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable() 1894 num_entries * sizeof(int32_t), in EmitTable() 1898 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable() 1904 uint32_t num_entries = switch_instr_->GetNumEntries(); in FixTable() local 1905 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in FixTable() 1908 for (uint32_t i = 0; i < num_entries; i++) { in FixTable() 9556 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 9561 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch() 9576 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch() [all …]
|
D | code_generator_x86_64.cc | 7501 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 7509 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch() 7513 DCHECK_GT(num_entries, 2u); in VisitPackedSwitch() 7531 for (; index + 1 < num_entries; index += 2) { in VisitPackedSwitch() 7540 if (index != num_entries) { in VisitPackedSwitch() 7542 DCHECK_EQ(index + 1, num_entries); in VisitPackedSwitch() 7563 __ cmpl(value_reg, Immediate(num_entries - 1)); in VisitPackedSwitch() 7752 int32_t num_entries = switch_instr_->GetNumEntries(); in CreateJumpTable() local 7756 for (int32_t i = 0; i < num_entries; i++) { in CreateJumpTable()
|
D | code_generator.cc | 1112 uint16_t num_entries = table.GetNumEntries(); in CheckLoopEntriesCanBeUsedForOsr() local 1116 for (size_t i = 0; i < num_entries; ++i) { in CheckLoopEntriesCanBeUsedForOsr()
|
D | nodes.h | 3509 uint32_t num_entries, 3514 num_entries_(num_entries) { in HExpression()
|
/art/libdexfile/external/ |
D | dex_file_ext.cc | 158 size_t num_entries = cache.size(); in GetClassDefIndex() local 163 num_entries--; in GetClassDefIndex() 169 class_cache_.reserve(num_entries); in GetClassDefIndex()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 658 uint32_t num_entries; in DecodeSet() local 659 if (UNLIKELY(!DecodeUnsignedLeb128Checked(in, end, &num_entries))) { in DecodeSet() 662 for (uint32_t i = 0; i < num_entries; ++i) { in DecodeSet() 697 uint32_t num_entries; in DecodeUint16SparseBitVector() local 698 if (UNLIKELY(!DecodeUnsignedLeb128Checked(in, end, &num_entries))) { in DecodeUint16SparseBitVector() 701 for (uint32_t i = 0; i < num_entries; ++i) { in DecodeUint16SparseBitVector()
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 1224 int32_t num_entries = 0; in sortTimedMethodList() local 1225 for (pTimed = list; pTimed; pTimed = pTimed->next) num_entries += 1; in sortTimedMethodList() 1226 *num = num_entries; in sortTimedMethodList() 1227 if (num_entries == 0) return nullptr; in sortTimedMethodList() 1231 TimedMethod* sorted = new TimedMethod[num_entries]; in sortTimedMethodList() 1234 qsort(sorted, num_entries, sizeof(TimedMethod), compareTimedMethod); in sortTimedMethodList() 1237 for (ii = 0; ii < num_entries - 1; ++ii) sorted[ii].next = &sorted[ii + 1]; in sortTimedMethodList() 1238 sorted[num_entries - 1].next = nullptr; in sortTimedMethodList()
|