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()
Dtrace.cc1423 size_t num_entries = GetNumEntries(clock_source_); in PreProcessTraceForMethodInfos() local
1424 DCHECK_EQ((kPerThreadBufSize - current_offset) % num_entries, 0u); in PreProcessTraceForMethodInfos()
1426 entry_index -= num_entries; in PreProcessTraceForMethodInfos()
1699 size_t num_entries = GetNumEntries(clock_source_); in FlushEntriesFormatV1() local
1703 entry_index -= num_entries; in FlushEntriesFormatV1()
1734 size_t num_entries = GetNumEntries(clock_source_); in FlushEntriesFormatV2() local
1745 entry_index -= num_entries; in FlushEntriesFormatV2()
1808 size_t num_entries = GetNumEntries(clock_source_); in FlushBuffer() local
1809 size_t num_records = (kPerThreadBufSize - current_offset) / num_entries; in FlushBuffer()
1810 DCHECK_EQ((kPerThreadBufSize - current_offset) % num_entries, 0u); in FlushBuffer()
[all …]
Druntime_image.cc1244 void CopyNativeDexCacheArray(uint32_t num_entries, in CopyNativeDexCacheArray() argument
1251 bool only_startup = !mirror::DexCache::ShouldAllocateFullArray(num_entries, max_entries); in CopyNativeDexCacheArray()
1257 size_t size = num_entries * sizeof(void*); in CopyNativeDexCacheArray()
1262 reinterpret_cast<uintptr_t*>(data.data() + offset)[-1] = num_entries; in CopyNativeDexCacheArray()
1267 for (uint32_t i = 0; i < num_entries; ++i) { in CopyNativeDexCacheArray()
1274 mirror::GcRootArray<T>* CreateGcRootDexCacheArray(uint32_t num_entries, in CreateGcRootDexCacheArray() argument
1280 bool only_startup = !mirror::DexCache::ShouldAllocateFullArray(num_entries, max_entries); in CreateGcRootDexCacheArray()
1285 size_t size = num_entries * sizeof(GcRoot<T>); in CreateGcRootDexCacheArray()
1291 reinterpret_cast<uint32_t*>(data.data() + offset)[-1] = num_entries; in CreateGcRootDexCacheArray()
Dtrace.h180 size_t num_entries,
187 size_t num_entries,
Dclass_linker.cc6901 const size_t num_entries = table->NumEntries(image_pointer_size_); in FillIMTFromIfTable() local
6902 table->SetInterfaceMethod(num_entries, image_pointer_size_, interface_method); in FillIMTFromIfTable()
6903 table->SetImplementationMethod(num_entries, image_pointer_size_, implementation_method); in FillIMTFromIfTable()
7214 int32_t num_entries = vtable->GetLength(); in CheckVTableHasNoDuplicates() local
7224 CHECK_GT(num_entries, 0); in CheckVTableHasNoDuplicates()
7245 for (; start < num_entries; ++start) { in CheckVTableHasNoDuplicates()
7255 if (start == num_entries) { in CheckVTableHasNoDuplicates()
7272 seen.reserve(2 * num_entries); in CheckVTableHasNoDuplicates()
7275 for (int i = start; i < num_entries; ++i) { in CheckVTableHasNoDuplicates()
7347 for (int32_t i = 0; i < num_entries; ++i) { in CheckVTableHasNoDuplicates()
/art/libdexfile/external/
Ddex_file_ext.cc102 size_t num_entries = cache.size(); in CreateClassCache() local
107 num_entries--; in CreateClassCache()
113 class_cache_.reserve(num_entries); in CreateClassCache()
/art/runtime/gc/accounting/
Dspace_bitmap.cc127 size_t num_entries = bitmap_size_ / sizeof(uintptr_t); in DumpMemAround() local
128 DCHECK_LT(index, num_entries) << " bitmap_size_ = " << bitmap_size_; in DumpMemAround()
136 if (index < num_entries - 1) { in DumpMemAround()
/art/compiler/optimizing/
Dnodes_x86.h95 int32_t num_entries, in HX86PackedSwitch() argument
101 num_entries_(num_entries) { in HX86PackedSwitch()
Dcode_generator_riscv64.h381 uint32_t num_entries,
385 uint32_t num_entries,
Dcode_generator_arm_vixl.h204 uint32_t num_entries = switch_instr_->GetNumEntries(); in JumpTableARMVIXL() local
205 for (uint32_t i = 0; i < num_entries; i++) { in JumpTableARMVIXL()
Dcode_generator_riscv64.cc2033 uint32_t num_entries, in GenPackedSwitchWithCompares() argument
2042 for (; num_entries - index >= 2u; index += 2u) { in GenPackedSwitchWithCompares()
2046 if (num_entries - index == 2u) { in GenPackedSwitchWithCompares()
2056 __ J(codegen_->GetLabelOf(successors[num_entries - 1u])); in GenPackedSwitchWithCompares()
2061 uint32_t num_entries, in GenTableBasedPackedSwitch() argument
2068 ArenaVector<Riscv64Label*> labels(num_entries, in GenTableBasedPackedSwitch()
2071 for (uint32_t i = 0; i < num_entries; i++) { in GenTableBasedPackedSwitch()
4837 uint32_t num_entries = instruction->GetNumEntries(); in VisitPackedSwitch() local
4855 CHECK_NE(num_entries, 0u); // `HInstructionBuilder` creates a `HGoto` for empty packed-switch. in VisitPackedSwitch()
4859 __ LoadConst32(temp2, num_entries); in VisitPackedSwitch()
[all …]
Dcode_generator_x86.cc8841 uint32_t num_entries, in GenPackedSwitchWithCompares() argument
8847 DCHECK_GT(num_entries, 2u); in GenPackedSwitchWithCompares()
8865 for (; index + 1 < num_entries; index += 2) { in GenPackedSwitchWithCompares()
8874 if (index != num_entries) { in GenPackedSwitchWithCompares()
8876 DCHECK_EQ(index + 1, num_entries); in GenPackedSwitchWithCompares()
8889 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
8895 num_entries, in VisitPackedSwitch()
8914 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitX86PackedSwitch() local
8919 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitX86PackedSwitch()
8922 num_entries, in VisitX86PackedSwitch()
[all …]
Dcode_generator_x86.h390 uint32_t num_entries,
Dcode_generator_arm64.cc555 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local
556 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable()
561 num_entries * sizeof(int32_t), in EmitTable()
566 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable()
6632 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
6644 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch()
6656 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch()
6663 if (num_entries - last_index == 2) { in VisitPackedSwitch()
6691 __ Cmp(index, Operand(num_entries)); in VisitPackedSwitch()
Dcode_generator.cc1081 uint16_t num_entries = table.GetNumEntries(); in CheckLoopEntriesCanBeUsedForOsr() local
1085 for (size_t i = 0; i < num_entries; ++i) { in CheckLoopEntriesCanBeUsedForOsr()
Dcode_generator_arm_vixl.cc1975 uint32_t num_entries = switch_instr_->GetNumEntries(); in EmitTable() local
1976 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in EmitTable()
1982 num_entries * sizeof(int32_t), in EmitTable()
1986 for (uint32_t i = 0; i < num_entries; i++) { in EmitTable()
1992 uint32_t num_entries = switch_instr_->GetNumEntries(); in FixTable() local
1993 DCHECK_GE(num_entries, kPackedSwitchCompareJumpThreshold); in FixTable()
1996 for (uint32_t i = 0; i < num_entries; i++) { in FixTable()
10060 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
10065 if (num_entries <= kPackedSwitchCompareJumpThreshold || in VisitPackedSwitch()
10080 for (; num_entries - last_index > 2; last_index += 2) { in VisitPackedSwitch()
[all …]
Dcode_generator_x86_64.cc8165 uint32_t num_entries = switch_instr->GetNumEntries(); in VisitPackedSwitch() local
8173 if (num_entries <= kPackedSwitchJumpTableThreshold) { in VisitPackedSwitch()
8177 DCHECK_GT(num_entries, 2u); in VisitPackedSwitch()
8195 for (; index + 1 < num_entries; index += 2) { in VisitPackedSwitch()
8204 if (index != num_entries) { in VisitPackedSwitch()
8206 DCHECK_EQ(index + 1, num_entries); in VisitPackedSwitch()
8227 __ cmpl(value_reg, Immediate(num_entries - 1)); in VisitPackedSwitch()
8416 int32_t num_entries = switch_instr_->GetNumEntries(); in CreateJumpTable() local
8420 for (int32_t i = 0; i < num_entries; i++) { in CreateJumpTable()
Dnodes.h3832 uint32_t num_entries,
3837 num_entries_(num_entries) {