Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dimt_conflict_table.h62 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()
Dclass_linker.cc6923 const size_t num_entries = table->NumEntries(image_pointer_size_); in FillIMTFromIfTable() local
6924 table->SetInterfaceMethod(num_entries, image_pointer_size_, interface_method); in FillIMTFromIfTable()
6925 table->SetImplementationMethod(num_entries, image_pointer_size_, implementation_method); in FillIMTFromIfTable()
7197 int32_t num_entries = vtable->GetLength(); in CheckVTableHasNoDuplicates() local
7207 CHECK_GT(num_entries, 0); in CheckVTableHasNoDuplicates()
7228 for (; start < num_entries; ++start) { in CheckVTableHasNoDuplicates()
7238 if (start == num_entries) { in CheckVTableHasNoDuplicates()
7255 seen.reserve(2 * num_entries); in CheckVTableHasNoDuplicates()
7258 for (int i = start; i < num_entries; ++i) { in CheckVTableHasNoDuplicates()
7319 for (int32_t i = 0; i < num_entries; ++i) { in CheckVTableHasNoDuplicates()
/art/compiler/optimizing/
Dnodes_mips.h45 int32_t num_entries, in HMipsPackedSwitch() argument
51 num_entries_(num_entries) { in HMipsPackedSwitch()
Dnodes_x86.h95 int32_t num_entries, in HX86PackedSwitch() argument
101 num_entries_(num_entries) { in HX86PackedSwitch()
Dcode_generator_mips64.h333 uint32_t num_entries,
338 uint32_t num_entries,
Dcode_generator_mips.h348 uint32_t num_entries,
354 uint32_t num_entries,
Dcode_generator_arm_vixl.h128 uint32_t num_entries = switch_instr_->GetNumEntries(); in JumpTableARMVIXL() local
129 for (uint32_t i = 0; i < num_entries; i++) { in JumpTableARMVIXL()
Dcode_generator_x86.h305 uint32_t num_entries,
Dcode_generator_x86.cc7962 uint32_t num_entries, in GenPackedSwitchWithCompares() argument
7968 DCHECK_GT(num_entries, 2u); in GenPackedSwitchWithCompares()
7986 for (; index + 1 < num_entries; index += 2) { in GenPackedSwitchWithCompares()
7995 if (index != num_entries) { in GenPackedSwitchWithCompares()
7997 DCHECK_EQ(index + 1, num_entries); in GenPackedSwitchWithCompares()
8010 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
8016 num_entries, in VisitPackedSwitch()
8035 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitX86PackedSwitch() local
8040 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitX86PackedSwitch()
8043 num_entries, in VisitX86PackedSwitch()
[all …]
Dcode_generator_mips.cc10001 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
10002 if (num_entries > InstructionCodeGeneratorMIPS::kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch()
10013 uint32_t num_entries, in GenPackedSwitchWithCompares() argument
10028 for (; num_entries - last_index > 2; last_index += 2) { in GenPackedSwitchWithCompares()
10035 if (num_entries - last_index == 2) { in GenPackedSwitchWithCompares()
10050 uint32_t num_entries, in GenTableBasedPackedSwitch() argument
10054 std::vector<MipsLabel*> labels(num_entries); in GenTableBasedPackedSwitch()
10056 for (uint32_t i = 0; i < num_entries; i++) { in GenTableBasedPackedSwitch()
10063 if (IsInt<16>(static_cast<int32_t>(num_entries))) { in GenTableBasedPackedSwitch()
10064 __ Sltiu(AT, TMP, num_entries); in GenTableBasedPackedSwitch()
[all …]
Dcode_generator_mips64.cc7504 uint32_t num_entries, in GenPackedSwitchWithCompares() argument
7519 for (; num_entries - last_index > 2; last_index += 2) { in GenPackedSwitchWithCompares()
7526 if (num_entries - last_index == 2) { in GenPackedSwitchWithCompares()
7540 uint32_t num_entries, in GenTableBasedPackedSwitch() argument
7544 std::vector<Mips64Label*> labels(num_entries); in GenTableBasedPackedSwitch()
7546 for (uint32_t i = 0; i < num_entries; i++) { in GenTableBasedPackedSwitch()
7553 __ LoadConst32(AT, num_entries); in GenTableBasedPackedSwitch()
7571 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
7577 if (num_entries > kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch()
7580 num_entries, in VisitPackedSwitch()
[all …]
Dcode_generator_arm64.cc580 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local
581 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable()
586 num_entries * sizeof(int32_t), in EmitTable()
591 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable()
5621 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
5633 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch()
5645 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch()
5652 if (num_entries - last_index == 2) { in VisitPackedSwitch()
5680 __ Cmp(index, Operand(num_entries)); in VisitPackedSwitch()
Dcode_generator_arm_vixl.cc1884 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local
1885 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable()
1891 num_entries * sizeof(int32_t), in EmitTable()
1895 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable()
1901 uint32_t num_entries = switch_instr_->GetNumEntries(); in FixTable() local
1902 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in FixTable()
1905 for (uint32_t i = 0; i < num_entries; i++) { in FixTable()
9125 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
9130 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch()
9145 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch()
[all …]
Dcode_generator.cc1014 uint16_t num_entries = table.GetNumEntries(); in CheckLoopEntriesCanBeUsedForOsr() local
1018 for (size_t i = 0; i < num_entries; ++i) { in CheckLoopEntriesCanBeUsedForOsr()
Dcode_generator_x86_64.cc7270 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
7278 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch()
7282 DCHECK_GT(num_entries, 2u); in VisitPackedSwitch()
7300 for (; index + 1 < num_entries; index += 2) { in VisitPackedSwitch()
7309 if (index != num_entries) { in VisitPackedSwitch()
7311 DCHECK_EQ(index + 1, num_entries); in VisitPackedSwitch()
7332 __ cmpl(value_reg, Immediate(num_entries - 1)); in VisitPackedSwitch()
7521 int32_t num_entries = switch_instr_->GetNumEntries(); in CreateJumpTable() local
7525 for (int32_t i = 0; i < num_entries; i++) { in CreateJumpTable()
Dnodes.h3437 uint32_t num_entries,
3442 num_entries_(num_entries) { in HExpression()
/art/tools/dmtracedump/
Dtracedump.cc1224 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/runtime/verifier/
Dverifier_deps.cc658 size_t num_entries = DecodeUint32WithOverflowCheck(in, end); in DecodeSet() local
659 for (size_t i = 0; i < num_entries; ++i) { in DecodeSet()
684 size_t num_entries = DecodeUint32WithOverflowCheck(in, end); in DecodeUint16SparseBitVector() local
685 for (size_t i = 0; i < num_entries; ++i) { in DecodeUint16SparseBitVector()