/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 | stack_map.h | 1107 size_t num_entries; member 1114 EncodeUnsignedLeb128(dest, num_entries); in Encode() 1119 num_entries = DecodeUnsignedLeb128(ptr); in Decode() 1127 *offset += encoding.BitSize() * num_entries; in UpdateBitOffset() 1133 DCHECK_LT(index, num_entries); in BitRegion() 1144 size_t num_entries = 0; member 1154 EncodeUnsignedLeb128(dest, num_entries); in Encode() 1159 num_entries = DecodeUnsignedLeb128(ptr); in Decode() 1415 return encoding.location_catalog.num_entries; in GetNumberOfLocationCatalogEntries() 1423 return encoding.stack_map.num_entries; in GetNumberOfStackMaps() [all …]
|
D | class_linker.cc | 6420 const size_t num_entries = table->NumEntries(image_pointer_size_); in FillIMTFromIfTable() local 6421 table->SetInterfaceMethod(num_entries, image_pointer_size_, interface_method); in FillIMTFromIfTable() 6422 table->SetImplementationMethod(num_entries, image_pointer_size_, implementation_method); in FillIMTFromIfTable() 6693 int32_t num_entries = vtable->GetLength(); in CheckVTableHasNoDuplicates() local 6694 for (int32_t i = 0; i < num_entries; i++) { in CheckVTableHasNoDuplicates() 6703 for (int32_t j = i + 1; j < num_entries; j++) { in CheckVTableHasNoDuplicates()
|
/art/compiler/optimizing/ |
D | nodes_mips.h | 45 int32_t num_entries, in HMipsPackedSwitch() argument 51 num_entries_(num_entries) { in HMipsPackedSwitch()
|
D | nodes_x86.h | 95 int32_t num_entries, in HX86PackedSwitch() argument 101 num_entries_(num_entries) { in HX86PackedSwitch()
|
D | stack_map_stream.cc | 159 encoding.dex_register_map.num_entries = 0; // TODO: Remove this field. in PrepareForFillIn() 161 encoding.location_catalog.num_entries = location_catalog_entries_.size(); in PrepareForFillIn() 163 encoding.inline_info.num_entries = inline_infos_.size(); in PrepareForFillIn() 172 encoding.stack_mask.num_entries = PrepareStackMasks(encoding.stack_mask.encoding.num_bits); in PrepareForFillIn() 174 encoding.register_mask.num_entries = PrepareRegisterMasks(); in PrepareForFillIn() 175 encoding.stack_map.num_entries = stack_maps_.size(); in PrepareForFillIn() 181 encoding.inline_info.num_entries, in PrepareForFillIn() 182 encoding.register_mask.num_entries, in PrepareForFillIn() 183 encoding.stack_mask.num_entries); in PrepareForFillIn() 245 encoding->invoke_info.num_entries = invoke_infos_count; in ComputeInvokeInfoEncoding() [all …]
|
D | code_generator_mips64.h | 328 uint32_t num_entries, 333 uint32_t num_entries,
|
D | code_generator_mips.h | 342 uint32_t num_entries, 348 uint32_t num_entries,
|
D | code_generator_arm_vixl.h | 123 uint32_t num_entries = switch_instr_->GetNumEntries(); in JumpTableARMVIXL() local 124 for (uint32_t i = 0; i < num_entries; i++) { in JumpTableARMVIXL()
|
D | code_generator_x86.h | 298 uint32_t num_entries,
|
D | code_generator_x86.cc | 7405 uint32_t num_entries, in GenPackedSwitchWithCompares() argument 7411 DCHECK_GT(num_entries, 2u); in GenPackedSwitchWithCompares() 7429 for (; index + 1 < num_entries; index += 2) { in GenPackedSwitchWithCompares() 7438 if (index != num_entries) { in GenPackedSwitchWithCompares() 7440 DCHECK_EQ(index + 1, num_entries); in GenPackedSwitchWithCompares() 7453 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 7459 num_entries, in VisitPackedSwitch() 7478 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitX86PackedSwitch() local 7483 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitX86PackedSwitch() 7486 num_entries, in VisitX86PackedSwitch() [all …]
|
D | code_generator_mips.cc | 9337 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 9338 if (num_entries > InstructionCodeGeneratorMIPS::kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch() 9349 uint32_t num_entries, in GenPackedSwitchWithCompares() argument 9364 for (; num_entries - last_index > 2; last_index += 2) { in GenPackedSwitchWithCompares() 9371 if (num_entries - last_index == 2) { in GenPackedSwitchWithCompares() 9386 uint32_t num_entries, in GenTableBasedPackedSwitch() argument 9390 std::vector<MipsLabel*> labels(num_entries); in GenTableBasedPackedSwitch() 9392 for (uint32_t i = 0; i < num_entries; i++) { in GenTableBasedPackedSwitch() 9399 if (IsInt<16>(static_cast<int32_t>(num_entries))) { in GenTableBasedPackedSwitch() 9400 __ Sltiu(AT, TMP, num_entries); in GenTableBasedPackedSwitch() [all …]
|
D | code_generator_mips64.cc | 7104 uint32_t num_entries, in GenPackedSwitchWithCompares() argument 7119 for (; num_entries - last_index > 2; last_index += 2) { in GenPackedSwitchWithCompares() 7126 if (num_entries - last_index == 2) { in GenPackedSwitchWithCompares() 7140 uint32_t num_entries, in GenTableBasedPackedSwitch() argument 7144 std::vector<Mips64Label*> labels(num_entries); in GenTableBasedPackedSwitch() 7146 for (uint32_t i = 0; i < num_entries; i++) { in GenTableBasedPackedSwitch() 7153 __ LoadConst32(AT, num_entries); in GenTableBasedPackedSwitch() 7171 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 7177 if (num_entries > kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch() 7180 num_entries, in VisitPackedSwitch() [all …]
|
D | code_generator_arm64.cc | 586 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local 587 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable() 592 num_entries * sizeof(int32_t), in EmitTable() 597 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable() 5755 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 5767 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch() 5779 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch() 5786 if (num_entries - last_index == 2) { in VisitPackedSwitch() 5814 __ Cmp(index, Operand(num_entries)); in VisitPackedSwitch()
|
D | code_generator_arm_vixl.cc | 2377 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local 2378 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable() 2384 num_entries * sizeof(int32_t), in EmitTable() 2388 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable() 2394 uint32_t num_entries = switch_instr_->GetNumEntries(); in FixTable() local 2395 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in FixTable() 2398 for (uint32_t i = 0; i < num_entries; i++) { in FixTable() 9192 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 9197 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch() 9212 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch() [all …]
|
D | code_generator.cc | 923 uint16_t num_entries = table.GetNumEntries(); in CheckLoopEntriesCanBeUsedForOsr() local 927 for (size_t i = 0; i < num_entries; ++i) { in CheckLoopEntriesCanBeUsedForOsr()
|
D | code_generator_x86_64.cc | 6791 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local 6799 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch() 6803 DCHECK_GT(num_entries, 2u); in VisitPackedSwitch() 6821 for (; index + 1 < num_entries; index += 2) { in VisitPackedSwitch() 6830 if (index != num_entries) { in VisitPackedSwitch() 6832 DCHECK_EQ(index + 1, num_entries); in VisitPackedSwitch() 6853 __ cmpl(value_reg, Immediate(num_entries - 1)); in VisitPackedSwitch() 7042 int32_t num_entries = switch_instr_->GetNumEntries(); in CreateJumpTable() local 7046 for (int32_t i = 0; i < num_entries; i++) { in CreateJumpTable()
|
D | nodes.h | 3376 uint32_t num_entries, 3381 num_entries_(num_entries) { in HTemplateInstruction()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 645 size_t num_entries = DecodeUint32WithOverflowCheck(in, end); in DecodeSet() local 646 for (size_t i = 0; i < num_entries; ++i) { in DecodeSet() 658 size_t num_entries = DecodeUint32WithOverflowCheck(in, end); in DecodeUint16Vector() local 659 vector->reserve(num_entries); in DecodeUint16Vector() 660 for (size_t i = 0; i < num_entries; ++i) { in DecodeUint16Vector()
|
/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()
|
/art/oatdump/ |
D | oatdump.cc | 1824 const size_t num_stack_maps = encoding.stack_map.num_entries; in DumpCode() 1851 encoding.stack_mask.encoding.BitSize() * encoding.stack_mask.num_entries); in DumpCode() 1856 encoding.register_mask.encoding.BitSize() * encoding.register_mask.num_entries); in DumpCode() 1859 if (encoding.invoke_info.num_entries > 0u) { in DumpCode() 1862 encoding.invoke_info.encoding.BitSize() * encoding.invoke_info.num_entries); in DumpCode() 1879 const size_t num_inline_infos = encoding.inline_info.num_entries; in DumpCode()
|