/external/v8/src/heap/ |
D | scavenger.cc | 158 HeapObject* object, int object_size) { in SemiSpaceCopyObject() argument 163 heap->new_space()->AllocateRaw(object_size, alignment); in SemiSpaceCopyObject() 173 MigrateObject(heap, object, target, object_size); in SemiSpaceCopyObject() 178 heap->IncrementSemiSpaceCopiedObjectSize(object_size); in SemiSpaceCopyObject() 187 HeapObject* object, int object_size) { in PromoteObject() argument 191 heap->old_space()->AllocateRaw(object_size, alignment); in PromoteObject() 195 MigrateObject(heap, object, target, object_size); in PromoteObject() 205 heap->promotion_queue()->insert(target, object_size, in PromoteObject() 208 heap->IncrementPromotedObjectsSize(object_size); in PromoteObject() 216 HeapObject* object, int object_size) { in EvacuateObject() argument [all …]
|
D | objects-visiting.h | 131 int object_size, in GetVisitorIdForSize() argument 135 DCHECK(IsAligned(object_size, kPointerSize)); in GetVisitorIdForSize() 136 DCHECK(Heap::kMinObjectSizeInWords * kPointerSize <= object_size); in GetVisitorIdForSize() 137 DCHECK(object_size <= kMaxRegularHeapObjectSize); in GetVisitorIdForSize() 144 base + (object_size >> kPointerSizeLog2) - Heap::kMinObjectSizeInWords, in GetVisitorIdForSize() 208 int object_size = BodyDescriptor::SizeOf(map, object); in INLINE() local 209 BodyDescriptor::template IterateBody<StaticVisitor>(object, object_size); in INLINE() 210 return static_cast<ReturnType>(object_size); in INLINE() 214 template <int object_size> 216 DCHECK(BodyDescriptor::SizeOf(map, object) == object_size); in VisitSpecialized() [all …]
|
D | incremental-marking.cc | 191 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); in VisitFixedArrayIncremental() local 195 Min(object_size, start_offset + kProgressBarScanningChunk); in VisitFixedArrayIncremental() 202 end_offset = Min(object_size, end_offset + kProgressBarScanningChunk); in VisitFixedArrayIncremental() 205 } while (scan_until_end && start_offset < object_size); in VisitFixedArrayIncremental() 207 if (start_offset < object_size) { in VisitFixedArrayIncremental() 215 object_size - (start_offset - already_scanned_offset)); in VisitFixedArrayIncremental()
|
D | heap.h | 866 inline bool ShouldBePromoted(Address old_address, int object_size); 1379 inline void IncrementPromotedObjectsSize(size_t object_size) { in IncrementPromotedObjectsSize() argument 1380 promoted_objects_size_ += object_size; in IncrementPromotedObjectsSize() 1384 inline void IncrementSemiSpaceCopiedObjectSize(size_t object_size) { in IncrementSemiSpaceCopiedObjectSize() argument 1385 semi_space_copied_object_size_ += object_size; in IncrementSemiSpaceCopiedObjectSize() 1470 int object_size, 2129 AllocateCode(int object_size, bool immovable);
|
D | heap.cc | 2046 HeapObject* Heap::AlignWithFiller(HeapObject* object, int object_size, in AlignWithFiller() argument 2049 int filler_size = allocation_size - object_size; in AlignWithFiller() 2057 CreateFillerObjectAt(object->address() + object_size, filler_size, in AlignWithFiller() 3381 AllocationResult Heap::AllocateCode(int object_size, bool immovable) { in AllocateCode() argument 3382 DCHECK(IsAligned(static_cast<intptr_t>(object_size), kCodeAlignment)); in AllocateCode() 3383 AllocationResult allocation = AllocateRaw(object_size, CODE_SPACE); in AllocateCode() 3401 CreateFillerObjectAt(result->address(), object_size, in AllocateCode() 3403 allocation = lo_space_->AllocateRaw(object_size, EXECUTABLE); in AllocateCode() 3405 OnAllocationEvent(result, object_size); in AllocateCode() 3415 object_size <= code_space()->AreaSize()); in AllocateCode() [all …]
|
D | object-stats.cc | 245 int object_size = obj->Size(); in CollectStatistics() local 246 stats_->RecordObjectStats(map->instance_type(), object_size); in CollectStatistics()
|
/external/v8/src/ |
D | objects-body-descriptors-inl.h | 127 static inline void IterateBody(HeapObject* obj, int object_size, in IterateBody() argument 138 IterateBodyImpl(obj, kSize, object_size, v); in IterateBody() 142 static inline void IterateBody(HeapObject* obj, int object_size) { in IterateBody() argument 155 IterateBodyImpl<StaticVisitor>(heap, obj, kSize, object_size); in IterateBody() 177 static inline void IterateBody(HeapObject* obj, int object_size, in IterateBody() argument 180 IterateBodyImpl(obj, kSize, object_size, v); in IterateBody() 184 static inline void IterateBody(HeapObject* obj, int object_size) { in IterateBody() argument 188 IterateBodyImpl<StaticVisitor>(heap, obj, kSize, object_size); in IterateBody() 205 static inline void IterateBody(HeapObject* obj, int object_size, in IterateBody() argument 213 static inline void IterateBody(HeapObject* obj, int object_size) { in IterateBody() argument [all …]
|
D | objects-body-descriptors.h | 89 static inline void IterateBody(HeapObject* obj, int object_size, in IterateBody() argument 101 static inline void IterateBody(HeapObject* obj, int object_size) { in IterateBody() argument 121 static inline void IterateBody(HeapObject* obj, int object_size, in IterateBody() argument 123 IterateBodyImpl(obj, start_offset, object_size, v); in IterateBody() 127 static inline void IterateBody(HeapObject* obj, int object_size) { in IterateBody() argument 129 IterateBodyImpl<StaticVisitor>(heap, obj, start_offset, object_size); in IterateBody()
|
/external/clang/test/CodeGen/ |
D | builtins.c | 109 P(object_size, (s0, 0)); in main() 110 P(object_size, (s0, 1)); in main() 111 P(object_size, (s0, 2)); in main() 112 P(object_size, (s0, 3)); in main()
|
/external/v8/src/compiler/ |
D | memory-optimizer.cc | 165 int32_t const object_size = m.Value(); in VisitAllocate() local 166 if (state->size() <= kMaxRegularHeapObjectSize - object_size && in VisitAllocate() 171 int32_t const state_size = state->size() + object_size; in VisitAllocate() 182 Node* top = __ IntAdd(state->top(), __ IntPtrConstant(object_size)); in VisitAllocate() 200 Node* size = __ UniqueInt32Constant(object_size); in VisitAllocate() 237 top = __ IntAdd(done.PhiAt(0), __ IntPtrConstant(object_size)); in VisitAllocate() 249 state = AllocationState::Open(group, object_size, top, zone()); in VisitAllocate()
|
/external/v8/src/arm/ |
D | macro-assembler-arm.cc | 1974 void MacroAssembler::Allocate(int object_size, in Allocate() argument 1980 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 1997 object_size *= kPointerSize; in Allocate() 1999 DCHECK_EQ(0, object_size & kObjectAlignmentMask); in Allocate() 2056 DCHECK(object_size > 0); in Allocate() 2059 while (object_size != 0) { in Allocate() 2060 if (((object_size >> shift) & 0x03) == 0) { in Allocate() 2063 int bits = object_size & (0xff << shift); in Allocate() 2064 object_size -= bits; in Allocate() 2086 void MacroAssembler::Allocate(Register object_size, Register result, in Allocate() argument [all …]
|
/external/vixl/test/ |
D | test-pool-manager.cc | 603 int object_size = 4; in TEST() local 607 TestObject object(object_size, object_alignment); in TEST() 622 VIXL_ASSERT(new_pc == min_location + object_size); in TEST() 633 int object_size = 4; in TEST() local 637 TestObject object(object_size, object_alignment); in TEST() 654 VIXL_ASSERT(new_pc == AlignUp(pc, object_alignment) + object_size); in TEST()
|
/external/v8/src/builtins/ |
D | builtins-constructor.cc | 674 Node* object_size = IntPtrAdd(WordShl(properties_count, kPointerSizeLog2), in EmitFastCloneShallowObject() local 676 Node* allocation_size = object_size; in EmitFastCloneShallowObject() 679 IntPtrAdd(object_size, IntPtrConstant(AllocationMemento::kSize)); in EmitFastCloneShallowObject() 685 Node* size_in_words = WordShr(object_size, kPointerSizeLog2); in EmitFastCloneShallowObject() 693 Node* end_offset = IntPtrAdd(object_size, offset.value()); in EmitFastCloneShallowObject() 714 Node* memento = InnerAllocate(copy, object_size); in EmitFastCloneShallowObject()
|
/external/protobuf/src/google/protobuf/ |
D | generated_message_reflection.h | 141 int object_size, 179 int object_size, 197 int object_size, 208 int object_size,
|
D | generated_message_reflection.cc | 184 int object_size, in GeneratedMessageReflection() argument 195 object_size_ (object_size), in GeneratedMessageReflection() 213 int object_size, in GeneratedMessageReflection() argument 226 object_size_ (object_size), in GeneratedMessageReflection() 2274 int object_size, in NewGeneratedMessageReflection() argument 2287 object_size, in NewGeneratedMessageReflection() 2300 int object_size, in NewGeneratedMessageReflection() argument 2311 object_size, in NewGeneratedMessageReflection()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 2245 uint64_t object_size = MachOContents.size(); in GuessCstringPointer() local 2247 if (object_offset < object_size) { in GuessCstringPointer() 2266 uint64_t object_size = MachOContents.size(); in GuessCstringPointer() local 2268 if (object_offset < object_size) { in GuessCstringPointer() 2472 uint64_t object_size = MachOContents.size(); in GuessPointerPointer() local 2474 if (object_offset < object_size) { in GuessPointerPointer() 7675 uint32_t flags, uint32_t object_size, in PrintSegmentCommand() argument 7703 if (fileoff > object_size) in PrintSegmentCommand() 7708 if (fileoff + filesize > object_size) in PrintSegmentCommand() 7774 uint32_t filetype, uint32_t object_size, in PrintSection() argument [all …]
|
/external/v8/src/ppc/ |
D | macro-assembler-ppc.cc | 1633 void MacroAssembler::Allocate(int object_size, Register result, in Allocate() argument 1636 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 1653 object_size *= kPointerSize; in Allocate() 1655 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask)); in Allocate() 1714 if (is_int16(object_size)) { in Allocate() 1715 cmpi(r0, Operand(object_size)); in Allocate() 1717 addi(result_end, result, Operand(object_size)); in Allocate() 1719 Cmpi(r0, Operand(object_size), result_end); in Allocate() 1734 void MacroAssembler::Allocate(Register object_size, Register result, in Allocate() argument 1751 DCHECK(!AreAliased(object_size, result, scratch, ip)); in Allocate() [all …]
|
/external/v8/src/arm64/ |
D | macro-assembler-arm64.cc | 2920 void MacroAssembler::Allocate(int object_size, in Allocate() argument 2926 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 2948 object_size *= kPointerSize; in Allocate() 2950 DCHECK(0 == (object_size & kObjectAlignmentMask)); in Allocate() 2987 Adds(result_end, result, object_size); in Allocate() 3001 void MacroAssembler::Allocate(Register object_size, Register result, in Allocate() argument 3020 DCHECK(!AreAliased(object_size, result, scratch, scratch2)); in Allocate() 3022 DCHECK(object_size.Is64Bits() && result.Is64Bits() && scratch.Is64Bits() && in Allocate() 3060 Adds(result_end, result, Operand(object_size, LSL, kPointerSizeLog2)); in Allocate() 3062 Adds(result_end, result, object_size); in Allocate() [all …]
|
/external/v8/src/s390/ |
D | macro-assembler-s390.cc | 1536 void MacroAssembler::Allocate(int object_size, Register result, in Allocate() argument 1539 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 1556 object_size *= kPointerSize; in Allocate() 1558 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask)); in Allocate() 1607 AddP(result_end, result, Operand(object_size)); in Allocate() 1629 void MacroAssembler::Allocate(Register object_size, Register result, in Allocate() argument 1646 DCHECK(!AreAliased(object_size, result, scratch, ip)); in Allocate() 1648 DCHECK((flags & DOUBLE_ALIGNMENT) == 0 || !object_size.is(result_end)); in Allocate() 1699 ShiftLeftP(result_end, object_size, Operand(kPointerSizeLog2)); in Allocate() 1702 AddP(result_end, result, object_size); in Allocate() [all …]
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 1259 void MacroAssembler::Allocate(int object_size, in Allocate() argument 1266 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 1313 add(top_reg, Immediate(object_size)); in Allocate() 1323 sub(result, Immediate(object_size - kHeapObjectTag)); in Allocate() 1409 void MacroAssembler::Allocate(Register object_size, in Allocate() argument 1456 if (!object_size.is(result_end)) { in Allocate() 1457 mov(result_end, object_size); in Allocate() 1473 void MacroAssembler::FastAllocate(int object_size, Register result, in FastAllocate() argument 1490 lea(result_end, Operand(result, object_size)); in FastAllocate() 1497 void MacroAssembler::FastAllocate(Register object_size, Register result, in FastAllocate() argument [all …]
|
D | macro-assembler-x87.h | 585 void Allocate(int object_size, Register result, Register result_end, 593 void Allocate(Register object_size, Register result, Register result_end, 599 void FastAllocate(int object_size, Register result, Register result_end, 601 void FastAllocate(Register object_size, Register result, Register result_end,
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 1317 void MacroAssembler::Allocate(int object_size, in Allocate() argument 1324 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 1371 add(top_reg, Immediate(object_size)); in Allocate() 1381 sub(result, Immediate(object_size - kHeapObjectTag)); in Allocate() 1467 void MacroAssembler::Allocate(Register object_size, in Allocate() argument 1514 if (!object_size.is(result_end)) { in Allocate() 1515 mov(result_end, object_size); in Allocate() 1531 void MacroAssembler::FastAllocate(int object_size, Register result, in FastAllocate() argument 1548 lea(result_end, Operand(result, object_size)); in FastAllocate() 1555 void MacroAssembler::FastAllocate(Register object_size, Register result, in FastAllocate() argument [all …]
|
D | macro-assembler-ia32.h | 593 void Allocate(int object_size, Register result, Register result_end, 601 void Allocate(Register object_size, Register result, Register result_end, 607 void FastAllocate(int object_size, Register result, Register result_end, 609 void FastAllocate(Register object_size, Register result, Register result_end,
|
/external/vixl/src/ |
D | pool-manager-impl.h | 103 int object_size = label_base->GetPoolObjectSizeInBytes(); in Emit() local 113 pc += object_size; in Emit()
|
/external/v8/src/mips/ |
D | macro-assembler-mips.cc | 3925 void MacroAssembler::Allocate(int object_size, in Allocate() argument 3931 DCHECK(object_size <= kMaxRegularHeapObjectSize); in Allocate() 3948 object_size *= kPointerSize; in Allocate() 3950 DCHECK_EQ(0, object_size & kObjectAlignmentMask); in Allocate() 4003 Addu(result_end, result, Operand(object_size)); in Allocate() 4016 void MacroAssembler::Allocate(Register object_size, Register result, in Allocate() argument 4033 DCHECK(!AreAliased(object_size, result, scratch, t9, at)); in Allocate() 4035 DCHECK((flags & DOUBLE_ALIGNMENT) == 0 || !object_size.is(result_end)); in Allocate() 4088 Lsa(result_end, result, object_size, kPointerSizeLog2); in Allocate() 4090 Addu(result_end, result, Operand(object_size)); in Allocate() [all …]
|