Home
last modified time | relevance | path

Searched refs:entry_index (Results 1 – 5 of 5) sorted by relevance

/art/runtime/jni/
Dlocal_reference_table-inl.h91 uint32_t entry_index = GetReferenceEntryIndex(iref); in IsValidReference() local
92 if (UNLIKELY(entry_index == std::numeric_limits<uint32_t>::max())) { in IsValidReference()
96 if (UNLIKELY(entry_index >= segment_state_.top_index)) { in IsValidReference()
98 entry_index, in IsValidReference()
112 entry_index, in IsValidReference()
120 *error_msg = android::base::StringPrintf("deleted reference at index %u", entry_index); in IsValidReference()
125 *error_msg = android::base::StringPrintf("null reference at index %u", entry_index); in IsValidReference()
Dlocal_reference_table.h427 LrtEntry* GetEntry(size_t entry_index) const { in GetEntry() argument
428 DCHECK_LT(entry_index, max_entries_); in GetEntry()
430 DCHECK_LT(entry_index, kSmallLrtEntries); in GetEntry()
432 return &small_table_[entry_index]; in GetEntry()
435 (entry_index < kSmallLrtEntries) ? 0u : TruncToPowerOfTwo(entry_index); in GetEntry()
437 (entry_index < kSmallLrtEntries) ? 0u : NumTablesForSize(table_start_index); in GetEntry()
439 return &table[entry_index - table_start_index]; in GetEntry()
Dlocal_reference_table.cc462 uint32_t entry_index = GetReferenceEntryIndex(iref); in Remove() local
466 if (entry_index < bottom_index) { in Remove()
468 LOG(WARNING) << "Attempt to remove index outside index area (" << entry_index in Remove()
482 DCHECK_LT(entry_index, top_index); in Remove()
499 uint32_t prune_end = entry_index; in Remove()
504 prune_end = entry_index - serial_number; in Remove()
507 is_top_entry = (entry_index == top_index - 1u); in Remove()
587 free_entries_list_ = FirstFreeField::Update(entry_index, free_entries_list_); in Remove()
589 LOG(INFO) << "+++ removed entry and left hole at " << entry_index; in Remove()
/art/runtime/
Dtrace.cc1425 for (size_t entry_index = kPerThreadBufSize; entry_index != current_offset;) { in PreProcessTraceForMethodInfos() local
1426 entry_index -= num_entries; in PreProcessTraceForMethodInfos()
1427 uintptr_t method_and_action = method_trace_entries[entry_index]; in PreProcessTraceForMethodInfos()
1702 for (size_t entry_index = kPerThreadBufSize; entry_index != end_offset;) { in FlushEntriesFormatV1() local
1703 entry_index -= num_entries; in FlushEntriesFormatV1()
1707 method_trace_entries, entry_index, record, has_thread_cpu_clock, has_wall_clock); in FlushEntriesFormatV1()
1743 size_t entry_index = kPerThreadBufSize; in FlushEntriesFormatV2() local
1745 entry_index -= num_entries; in FlushEntriesFormatV2()
1749 method_trace_entries, entry_index, record, has_thread_cpu_clock, has_wall_clock); in FlushEntriesFormatV2()
/art/oatdump/
Doatdump.cc1604 uint32_t entry_index = &object_offset - oat_file_.GetBootImageRelocations().data(); in DumpDataImgRelRoEntries() local
1605 uint32_t entry_offset = entry_index * sizeof(oat_file_.GetBootImageRelocations()[0]); in DumpDataImgRelRoEntries()
1650 uint32_t entry_index = &object_offset - oat_file_.GetBootImageRelocations().data(); in DumpDataImgRelRoEntries() local
1651 uint32_t entry_offset = entry_index * sizeof(oat_file_.GetBootImageRelocations()[0]); in DumpDataImgRelRoEntries()