Lines Matching refs:Bin
666 dex_file, image_info.GetBinSlotSize(Bin::kDexCacheArray)); in PrepareDexCacheArraySlots()
668 image_info.IncrementBinSlotSize(Bin::kDexCacheArray, layout.Size()); in PrepareDexCacheArraySlots()
757 pointer_arrays_.emplace(arr.Ptr(), Bin::kArtMethodClean); in AddMethodPointerArray()
760 ImageWriter::Bin ImageWriter::AssignImageBinSlot(mirror::Object* object, size_t oat_index) { in AssignImageBinSlot()
773 Bin bin = Bin::kRegular; in AssignImageBinSlot()
807 bin = Bin::kClassVerified; in AssignImageBinSlot()
828 bin = Bin::kKnownDirty; in AssignImageBinSlot()
830 bin = Bin::kClassInitialized; in AssignImageBinSlot()
836 bin = Bin::kClassInitializedFinalStatics; in AssignImageBinSlot()
849 bin = Bin::kClassInitializedFinalStatics; in AssignImageBinSlot()
854 bin = Bin::kString; // Strings are almost always immutable (except for object header). in AssignImageBinSlot()
858 bin = Bin::kMiscDirty; in AssignImageBinSlot()
861 bin = Bin::kMiscDirty; in AssignImageBinSlot()
1606 size_t offset = image_info.GetBinSlotSize(Bin::kArtField); in RecordNativeRelocations()
1630 Bin::kArtField, header_size + cur_fields->size() * sizeof(ArtField)); in RecordNativeRelocations()
1631 DCHECK_EQ(offset, image_info.GetBinSlotSize(Bin::kArtField)); in RecordNativeRelocations()
1647 Bin bin_type = BinTypeForNativeRelocationType(type); in RecordNativeRelocations()
1723 image_info.GetBinSlotSize(Bin::kImTable), in TryAssignImTableOffset()
1725 image_info.IncrementBinSlotSize(Bin::kImTable, size); in TryAssignImTableOffset()
1742 image_info.GetBinSlotSize(Bin::kIMTConflictTable), in TryAssignConflictTableOffset()
1744 image_info.IncrementBinSlotSize(Bin::kIMTConflictTable, size); in TryAssignConflictTableOffset()
1757 Bin bin_type = BinTypeForNativeRelocationType(type); in AssignMethodOffset()
1769 inner.resize(enum_cast<size_t>(Bin::kMirrorCount)); in LayoutHelper()
2189 Bin bin = enum_cast<Bin>(i); in FinalizeBinSlotOffsets()
2191 case Bin::kArtMethodClean: in FinalizeBinSlotOffsets()
2192 case Bin::kArtMethodDirty: { in FinalizeBinSlotOffsets()
2196 case Bin::kDexCacheArray: in FinalizeBinSlotOffsets()
2200 case Bin::kImTable: in FinalizeBinSlotOffsets()
2201 case Bin::kIMTConflictTable: { in FinalizeBinSlotOffsets()
2212 if (i < enum_cast<size_t>(Bin::kMirrorCount) && region_size != 0u) { in FinalizeBinSlotOffsets()
2275 image_info.GetBinSizeSum(Bin::kMirrorCount) + image_writer_->image_objects_offset_begin_); in FinalizeBinSlotOffsets()
2291 for (size_t i = 0; i < enum_cast<size_t>(Bin::kMirrorCount); ++i) { in CollectStringReferenceInfo()
2379 Bin bin = image_writer_->AssignImageBinSlot(obj.Ptr(), oat_index); in TryAssignBinSlot()
2506 Bin bin_type = BinTypeForNativeRelocationType(relocation.type); in CalculateNewObjectOffsets()
2531 ImageSection(GetBinSlotOffset(Bin::kArtField), GetBinSlotSize(Bin::kArtField)); in CreateImageSections()
2537 ImageSection(GetBinSlotOffset(Bin::kArtMethodClean), in CreateImageSections()
2538 GetBinSlotSize(Bin::kArtMethodClean) + in CreateImageSections()
2539 GetBinSlotSize(Bin::kArtMethodDirty)); in CreateImageSections()
2545 ImageSection(GetBinSlotOffset(Bin::kImTable), GetBinSlotSize(Bin::kImTable)); in CreateImageSections()
2551 … ImageSection(GetBinSlotOffset(Bin::kIMTConflictTable), GetBinSlotSize(Bin::kIMTConflictTable)); in CreateImageSections()
2557 ImageSection(GetBinSlotOffset(Bin::kRuntimeMethod), GetBinSlotSize(Bin::kRuntimeMethod)); in CreateImageSections()
2564 ImageSection(GetBinSlotOffset(Bin::kDexCacheArray), in CreateImageSections()
2565 GetBinSlotSize(Bin::kDexCacheArray)); in CreateImageSections()
2614 ImageSection(cur_pos, GetBinSlotSize(Bin::kMetadata)); in CreateImageSections()
2927 Bin array_type) { in FixupPointerArray()
2945 CHECK_EQ(array_type, Bin::kArtField); in FixupPointerArray()
3479 size_t ImageWriter::ImageInfo::GetBinSizeSum(Bin up_to) const { in GetBinSizeSum()
3492 DCHECK_LT(GetBin(), Bin::kMirrorCount); in BinSlot()
3496 ImageWriter::BinSlot::BinSlot(Bin bin, uint32_t index) in BinSlot()
3501 ImageWriter::Bin ImageWriter::BinSlot::GetBin() const { in GetBin()
3502 return static_cast<Bin>((lockword_ & kBinMask) >> kBinShift); in GetBin()
3509 ImageWriter::Bin ImageWriter::BinTypeForNativeRelocationType(NativeObjectRelocationType type) { in BinTypeForNativeRelocationType()
3513 return Bin::kArtField; in BinTypeForNativeRelocationType()
3516 return Bin::kArtMethodClean; in BinTypeForNativeRelocationType()
3519 return Bin::kArtMethodDirty; in BinTypeForNativeRelocationType()
3521 return Bin::kDexCacheArray; in BinTypeForNativeRelocationType()
3523 return Bin::kRuntimeMethod; in BinTypeForNativeRelocationType()
3525 return Bin::kImTable; in BinTypeForNativeRelocationType()
3527 return Bin::kIMTConflictTable; in BinTypeForNativeRelocationType()
3529 return Bin::kMetadata; in BinTypeForNativeRelocationType()