Lines Matching refs:object_size
801 size_t object_size = object->SizeOf(); in AssignImageBinSlot() local
813 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot()
2391 size_t object_size = RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in FinalizeBinSlotOffsets() local
2406 if (object_size > remaining_space) { in FinalizeBinSlotOffsets()
2415 if (object_size > region_size) { in FinalizeBinSlotOffsets()
2416 remaining_space = RoundUp(object_size + 1u, region_size); in FinalizeBinSlotOffsets()
2418 } else if (remaining_space == object_size) { in FinalizeBinSlotOffsets()
2422 DCHECK_GT(remaining_space, object_size); in FinalizeBinSlotOffsets()
2423 remaining_space -= object_size; in FinalizeBinSlotOffsets()
2425 object_offset += object_size; in FinalizeBinSlotOffsets()
2427 if (object_size > region_size && remaining_space != region_size) { in FinalizeBinSlotOffsets()
2428 DCHECK(!IsAlignedParam(object_size, region_size)); in FinalizeBinSlotOffsets()