/external/v8/src/heap/ |
H A D | scavenger.cc | 149 HeapObject* object, int object_size) { 154 heap->new_space()->AllocateRaw(object_size, alignment); 164 MigrateObject(heap, object, target, object_size); 169 heap->IncrementSemiSpaceCopiedObjectSize(object_size); 178 HeapObject* object, int object_size) { 182 heap->old_space()->AllocateRaw(object_size, alignment); 186 MigrateObject(heap, object, target, object_size); 197 target, object_size, 200 heap->IncrementPromotedObjectsSize(object_size); 208 HeapObject* object, int object_size) { 148 SemiSpaceCopyObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument 177 PromoteObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument 207 EvacuateObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument 259 int object_size = FixedArray::SizeFor(length); local 267 int object_size = FixedDoubleArray::SizeFor(length); local 273 int object_size = reinterpret_cast<FixedTypedArrayBase*>(object)->size(); local 280 int object_size = reinterpret_cast<FixedFloat64Array*>(object)->size(); local 287 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); local 293 int object_size = SeqOneByteString::cast(object) local 300 int object_size = SeqTwoByteString::cast(object) local 337 int object_size = ConsString::kSize; local 353 int object_size = map->instance_size(); local [all...] |
H A D | objects-visiting.h | 129 int object_size, 133 DCHECK(IsAligned(object_size, kPointerSize)); 134 DCHECK(Heap::kMinObjectSizeInWords * kPointerSize <= object_size); 135 DCHECK(object_size <= kMaxRegularHeapObjectSize); 142 base + (object_size >> kPointerSizeLog2) - Heap::kMinObjectSizeInWords, 206 int object_size = BodyDescriptor::SizeOf(map, object); 207 BodyDescriptor::template IterateBody<StaticVisitor>(object, object_size); 208 return static_cast<ReturnType>(object_size); 212 template <int object_size> 214 DCHECK(BodyDescriptor::SizeOf(map, object) == object_size); 128 GetVisitorIdForSize(VisitorId base, VisitorId generic, int object_size, bool has_unboxed_fields) argument [all...] |
H A D | incremental-marking.cc | 196 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local 200 Min(object_size, start_offset + kProgressBarScanningChunk); 207 end_offset = Min(object_size, end_offset + kProgressBarScanningChunk); 210 } while (scan_until_end && start_offset < object_size); 212 if (start_offset < object_size) { 220 object_size - (start_offset - already_scanned_offset));
|
H A D | heap.h | 855 inline bool ShouldBePromoted(Address old_address, int object_size); 1337 inline void IncrementPromotedObjectsSize(size_t object_size) { argument 1338 promoted_objects_size_ += object_size; 1342 inline void IncrementSemiSpaceCopiedObjectSize(size_t object_size) { argument 1343 semi_space_copied_object_size_ += object_size; 1441 int object_size, 2099 AllocateCode(int object_size, bool immovable);
|
H A D | heap.cc | 1980 HeapObject* Heap::AlignWithFiller(HeapObject* object, int object_size, argument 1983 int filler_size = allocation_size - object_size; 1991 CreateFillerObjectAt(object->address() + object_size, filler_size, 3326 AllocationResult Heap::AllocateCode(int object_size, bool immovable) { argument 3327 DCHECK(IsAligned(static_cast<intptr_t>(object_size), kCodeAlignment)); 3328 AllocationResult allocation = AllocateRaw(object_size, CODE_SPACE); 3341 CreateFillerObjectAt(result->address(), object_size, 3343 allocation = lo_space_->AllocateRaw(object_size, EXECUTABLE); 3345 OnAllocationEvent(result, object_size); 3354 object_size < 3545 int object_size = map->instance_size(); local [all...] |
H A D | object-stats.cc | 244 int object_size = obj->Size(); local 245 stats_->RecordObjectStats(map->instance_type(), object_size);
|
H A D | spaces.cc | 2973 AllocationResult LargeObjectSpace::AllocateRaw(int object_size, argument 2977 if (!heap()->CanExpandOldGeneration(object_size) || 2983 object_size, this, executable); 2985 DCHECK_GE(page->area_size(), static_cast<size_t>(object_size)); 2989 objects_size_ += object_size; 2997 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), object_size); 3009 AllocationStep(object->address(), object_size); 3013 MemoryChunk::IncrementLiveBytesFromGC(object, object_size);
|
/external/v8/src/ |
H A D | objects-body-descriptors.h | 27 // static inline void IterateBody(HeapObject* obj, int object_size, 34 // static inline void IterateBody(HeapObject* obj, int object_size); 89 static inline void IterateBody(HeapObject* obj, int object_size, argument 101 static inline void IterateBody(HeapObject* obj, int object_size) { argument 108 // in which all pointer fields are located in the [start_offset, object_size) 121 static inline void IterateBody(HeapObject* obj, int object_size, argument 123 IterateBodyImpl(obj, start_offset, object_size, v); 127 static inline void IterateBody(HeapObject* obj, int object_size) { argument 129 IterateBodyImpl<StaticVisitor>(heap, obj, start_offset, object_size);
|
H A D | objects-body-descriptors-inl.h | 125 static inline void IterateBody(HeapObject* obj, int object_size, argument 136 IterateBodyImpl(obj, kSize, object_size, v); 140 static inline void IterateBody(HeapObject* obj, int object_size) { argument 153 IterateBodyImpl<StaticVisitor>(heap, obj, kSize, object_size); 175 static inline void IterateBody(HeapObject* obj, int object_size, argument 178 IterateBodyImpl(obj, kSize, object_size, v); 182 static inline void IterateBody(HeapObject* obj, int object_size) { argument 186 IterateBodyImpl<StaticVisitor>(heap, obj, kSize, object_size); 203 static inline void IterateBody(HeapObject* obj, int object_size, argument 211 static inline void IterateBody(HeapObject* obj, int object_size) { argument 231 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument 237 IterateBody(HeapObject* obj, int object_size) argument 259 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument 270 IterateBody(HeapObject* obj, int object_size) argument 292 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument 299 IterateBody(HeapObject* obj, int object_size) argument 313 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument 321 IterateBody(HeapObject* obj, int object_size) argument 336 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument 344 IterateBody(HeapObject* obj, int object_size) argument 392 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument 421 IterateBody(HeapObject* obj, int object_size) argument 603 apply(HeapObject* obj, int object_size, ObjectVisitor* v) argument 609 IterateBodyFast(InstanceType type, int object_size, ObjectVisitor* v) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | builtins.c | 109 P(object_size, (s0, 0)); 110 P(object_size, (s0, 1)); 111 P(object_size, (s0, 2)); 112 P(object_size, (s0, 3));
|
/external/v8/src/compiler/ |
H A D | memory-optimizer.cc | 157 int32_t const object_size = m.Value(); local 158 if (state->size() <= kMaxRegularHeapObjectSize - object_size && 163 int32_t const state_size = state->size() + object_size; 175 jsgraph()->IntPtrConstant(object_size)); 193 Node* size = graph()->NewNode(common()->Int32Constant(object_size)); 246 jsgraph()->IntPtrConstant(object_size)); 261 state = AllocationState::Open(group, object_size, top, zone());
|
/external/protobuf/src/google/protobuf/ |
H A D | generated_message_reflection.h | 131 // object_size: The size of a message object of this type, as measured 141 int object_size, 179 int object_size, 197 int object_size, 208 int object_size,
|
H A D | generated_message_reflection.cc | 184 int object_size, 195 object_size_ (object_size), 213 int object_size, 226 object_size_ (object_size), 2274 int object_size, 2287 object_size, 2300 int object_size, 2311 object_size, 175 GeneratedMessageReflection( const Descriptor* descriptor, const Message* default_instance, const int offsets[], int has_bits_offset, int unknown_fields_offset, int extensions_offset, const DescriptorPool* descriptor_pool, MessageFactory* factory, int object_size, int arena_offset, int is_default_instance_offset) argument 202 GeneratedMessageReflection( const Descriptor* descriptor, const Message* default_instance, const int offsets[], int has_bits_offset, int unknown_fields_offset, int extensions_offset, const void* default_oneof_instance, int oneof_case_offset, const DescriptorPool* descriptor_pool, MessageFactory* factory, int object_size, int arena_offset, int is_default_instance_offset) argument 2265 NewGeneratedMessageReflection( const Descriptor* descriptor, const Message* default_instance, const int offsets[], int has_bits_offset, int unknown_fields_offset, int extensions_offset, const void* default_oneof_instance, int oneof_case_offset, int object_size, int arena_offset, int is_default_instance_offset) argument 2293 NewGeneratedMessageReflection( const Descriptor* descriptor, const Message* default_instance, const int offsets[], int has_bits_offset, int unknown_fields_offset, int extensions_offset, int object_size, int arena_offset, int is_default_instance_offset) argument
|
/external/v8/src/arm/ |
H A D | macro-assembler-arm.cc | 1865 void MacroAssembler::Allocate(int object_size, 1871 DCHECK(object_size <= kMaxRegularHeapObjectSize); 1888 object_size *= kPointerSize; 1890 DCHECK_EQ(0, object_size & kObjectAlignmentMask); 1947 DCHECK(object_size > 0); 1950 while (object_size != 0) { 1951 if (((object_size >> shift) & 0x03) == 0) { 1954 int bits = object_size & (0xff << shift); 1955 object_size -= bits; 1977 void MacroAssembler::Allocate(Register object_size, Registe [all...] |
H A D | macro-assembler-arm.h | 771 // Allocate an object in new space or old space. The object_size is 778 void Allocate(int object_size, 785 void Allocate(Register object_size, Register result, Register result_end, 791 void FastAllocate(int object_size, Register result, Register scratch1, 794 void FastAllocate(Register object_size, Register result, Register result_end,
|
/external/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 2245 uint64_t object_size = MachOContents.size(); local 2247 if (object_offset < object_size) { 2266 uint64_t object_size = MachOContents.size(); local 2268 if (object_offset < object_size) { 2472 uint64_t object_size = MachOContents.size(); local 2474 if (object_offset < object_size) { 7675 uint32_t flags, uint32_t object_size, 7703 if (fileoff > object_size) 7708 if (fileoff + filesize > object_size) 7774 uint32_t filetype, uint32_t object_size, 7670 PrintSegmentCommand(uint32_t cmd, uint32_t cmdsize, StringRef SegName, uint64_t vmaddr, uint64_t vmsize, uint64_t fileoff, uint64_t filesize, uint32_t maxprot, uint32_t initprot, uint32_t nsects, uint32_t flags, uint32_t object_size, bool verbose) argument 7769 PrintSection(const char *sectname, const char *segname, uint64_t addr, uint64_t size, uint32_t offset, uint32_t align, uint32_t reloff, uint32_t nreloc, uint32_t flags, uint32_t reserved1, uint32_t reserved2, uint32_t cmd, const char *sg_segname, uint32_t filetype, uint32_t object_size, bool verbose) argument 7901 PrintSymtabLoadCommand(MachO::symtab_command st, bool Is64Bit, uint32_t object_size) argument 7947 PrintDysymtabLoadCommand(MachO::dysymtab_command dyst, uint32_t nsyms, uint32_t object_size, bool Is64Bit) argument 8080 PrintDyldInfoLoadCommand(MachO::dyld_info_command dc, uint32_t object_size) argument 8286 PrintEncryptionInfoCommand(MachO::encryption_info_command ec, uint32_t object_size) argument 8307 PrintEncryptionInfoCommand64(MachO::encryption_info_command_64 ec, uint32_t object_size) argument 8850 PrintLinkEditDataCommand(MachO::linkedit_data_command ld, uint32_t object_size) argument [all...] |
/external/v8/src/ppc/ |
H A D | macro-assembler-ppc.cc | 1648 void MacroAssembler::Allocate(int object_size, Register result, argument 1651 DCHECK(object_size <= kMaxRegularHeapObjectSize); 1668 object_size *= kPointerSize; 1670 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask)); 1729 if (is_int16(object_size)) { 1730 cmpi(r0, Operand(object_size)); 1732 addi(result_end, result, Operand(object_size)); 1734 Cmpi(r0, Operand(object_size), result_end); 1749 void MacroAssembler::Allocate(Register object_size, Register result, argument 1764 // |object_size| an 1851 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument 1904 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument [all...] |
H A D | macro-assembler-ppc.h | 703 // Allocate an object in new space or old space. The object_size is 710 void Allocate(int object_size, Register result, Register scratch1, 713 void Allocate(Register object_size, Register result, Register result_end, 719 void FastAllocate(int object_size, Register result, Register scratch1, 722 void FastAllocate(Register object_size, Register result, Register result_end,
|
/external/v8/src/x87/ |
H A D | macro-assembler-x87.h | 606 void Allocate(int object_size, Register result, Register result_end, 614 void Allocate(Register object_size, Register result, Register result_end, 620 void FastAllocate(int object_size, Register result, Register result_end, 622 void FastAllocate(Register object_size, Register result, Register result_end,
|
H A D | macro-assembler-x87.cc | 1319 void MacroAssembler::Allocate(int object_size, argument 1326 DCHECK(object_size <= kMaxRegularHeapObjectSize); 1373 add(top_reg, Immediate(object_size)); 1383 sub(result, Immediate(object_size - kHeapObjectTag)); 1469 void MacroAssembler::Allocate(Register object_size, argument 1485 // object_size is left unchanged by this function. 1516 if (!object_size.is(result_end)) { 1517 mov(result_end, object_size); 1533 void MacroAssembler::FastAllocate(int object_size, Register result, argument 1550 lea(result_end, Operand(result, object_size)); 1557 FastAllocate(Register object_size, Register result, Register result_end, AllocationFlags flags) argument [all...] |
/external/v8/src/arm64/ |
H A D | macro-assembler-arm64.cc | 2978 void MacroAssembler::Allocate(int object_size, argument 2984 DCHECK(object_size <= kMaxRegularHeapObjectSize); 3006 object_size *= kPointerSize; 3008 DCHECK(0 == (object_size & kObjectAlignmentMask)); 3045 Adds(result_end, result, object_size); 3059 void MacroAssembler::Allocate(Register object_size, Register result, argument 3077 // |object_size| and |result_end| may overlap, other registers must not. 3078 DCHECK(!AreAliased(object_size, result, scratch, scratch2)); 3080 DCHECK(object_size.Is64Bits() && result.Is64Bits() && scratch.Is64Bits() && 3118 Adds(result_end, result, Operand(object_size, LS 3140 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument 3174 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument [all...] |
/external/v8/src/s390/ |
H A D | macro-assembler-s390.cc | 1546 void MacroAssembler::Allocate(int object_size, Register result, argument 1549 DCHECK(object_size <= kMaxRegularHeapObjectSize); 1566 object_size *= kPointerSize; 1568 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask)); 1627 if (is_int16(object_size)) { 1628 CmpP(r0, Operand(object_size)); 1630 AddP(result_end, result, Operand(object_size)); 1632 mov(result_end, Operand(object_size)); 1647 void MacroAssembler::Allocate(Register object_size, Register result, argument 1662 // |object_size| an 1749 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument 1802 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument [all...] |
/external/v8/src/ia32/ |
H A D | macro-assembler-ia32.h | 617 void Allocate(int object_size, Register result, Register result_end, 625 void Allocate(Register object_size, Register result, Register result_end, 631 void FastAllocate(int object_size, Register result, Register result_end, 633 void FastAllocate(Register object_size, Register result, Register result_end,
|
H A D | macro-assembler-ia32.cc | 1377 void MacroAssembler::Allocate(int object_size, argument 1384 DCHECK(object_size <= kMaxRegularHeapObjectSize); 1431 add(top_reg, Immediate(object_size)); 1441 sub(result, Immediate(object_size - kHeapObjectTag)); 1527 void MacroAssembler::Allocate(Register object_size, argument 1543 // object_size is left unchanged by this function. 1574 if (!object_size.is(result_end)) { 1575 mov(result_end, object_size); 1591 void MacroAssembler::FastAllocate(int object_size, Register result, argument 1608 lea(result_end, Operand(result, object_size)); 1615 FastAllocate(Register object_size, Register result, Register result_end, AllocationFlags flags) argument [all...] |
/external/v8/src/x64/ |
H A D | macro-assembler-x64.h | 1307 void Allocate(int object_size, 1323 void Allocate(Register object_size, 1333 void FastAllocate(int object_size, Register result, Register result_end, 1336 void FastAllocate(Register object_size, Register result, Register result_end,
|