Searched defs:object_size (Results 1 - 25 of 29) sorted by relevance

12

/external/v8/src/
H A Dobjects-body-descriptors.h27 // 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 Dobjects-body-descriptors-inl.h123 static inline void IterateBody(HeapObject* obj, int object_size, argument
134 IterateBodyImpl(obj, kSize, object_size, v);
138 static inline void IterateBody(HeapObject* obj, int object_size) { argument
151 IterateBodyImpl<StaticVisitor>(heap, obj, kSize, object_size);
173 static inline void IterateBody(HeapObject* obj, int object_size, argument
176 IterateBodyImpl(obj, kSize, object_size, v);
180 static inline void IterateBody(HeapObject* obj, int object_size) { argument
184 IterateBodyImpl<StaticVisitor>(heap, obj, kSize, object_size);
201 static inline void IterateBody(HeapObject* obj, int object_size, argument
209 static inline void IterateBody(HeapObject* obj, int object_size) { argument
229 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument
235 IterateBody(HeapObject* obj, int object_size) argument
257 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument
268 IterateBody(HeapObject* obj, int object_size) argument
290 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument
297 IterateBody(HeapObject* obj, int object_size) argument
311 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument
319 IterateBody(HeapObject* obj, int object_size) argument
334 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument
342 IterateBody(HeapObject* obj, int object_size) argument
388 IterateBody(HeapObject* obj, int object_size, ObjectVisitor* v) argument
417 IterateBody(HeapObject* obj, int object_size) argument
560 apply(HeapObject* obj, int object_size, ObjectVisitor* v) argument
566 IterateBodyFast(InstanceType type, int object_size, ObjectVisitor* v) argument
[all...]
H A Dcode-stubs.cc3992 Node* object_size = assembler->IntPtrAdd( local
3995 Node* allocation_size = object_size;
3998 object_size, assembler->IntPtrConstant(AllocationMemento::kSize));
4004 Node* size_in_words = assembler->WordShr(object_size, kPointerSizeLog2);
4013 Node* end_offset = assembler->IntPtrAdd(object_size, offset.value());
4038 Node* memento = assembler->InnerAllocate(copy, object_size);
H A Dfactory.cc1400 Handle<Code> Factory::NewCodeRaw(int object_size, bool immovable) { argument
1402 isolate()->heap()->AllocateCode(object_size, immovable),
/external/v8/test/cctest/heap/
H A Dtest-compaction.cc85 const int object_size = Page::kAllocatableMemory / objects_per_page; local
97 // Fill another page with objects of size {object_size} (last one is
101 heap, Page::kAllocatableMemory, TENURED, object_size);
110 // {object_size}.
115 heap::CreatePadding(heap, object_size * num_objects, TENURED,
116 object_size);
159 const int object_size = Page::kAllocatableMemory / objects_per_page; local
174 // Fill a fresh page with objects of size {object_size} (last one is
179 object_size);
192 // {object_size}
246 const int object_size = Page::kAllocatableMemory / objects_per_page; local
[all...]
H A Dheap-utils.cc33 int object_size) {
51 if (free_memory > object_size) {
52 allocate_memory = object_size;
31 CreatePadding(Heap* heap, int padding_size, PretenureFlag tenure, int object_size) argument
/external/v8/src/heap/
H A Dobject-stats.cc175 int object_size = obj->Size(); local
176 heap->object_stats_->RecordObjectStats(map->instance_type(), object_size);
208 int object_size = obj->Size(); local
212 code_obj->GetAge(), object_size);
H A Dobjects-visiting.h129 int object_size,
133 DCHECK(IsAligned(object_size, kPointerSize));
134 DCHECK(Heap::kMinObjectSizeInWords * kPointerSize <= object_size);
135 DCHECK(object_size <= Page::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 Dscavenger.cc149 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);
193 target, object_size,
196 heap->IncrementPromotedObjectsSize(object_size);
204 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
203 EvacuateObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument
258 int object_size = FixedArray::SizeFor(length); local
266 int object_size = FixedDoubleArray::SizeFor(length); local
272 int object_size = reinterpret_cast<FixedTypedArrayBase*>(object)->size(); local
279 int object_size = reinterpret_cast<FixedFloat64Array*>(object)->size(); local
286 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); local
292 int object_size = SeqOneByteString::cast(object) local
299 int object_size = SeqTwoByteString::cast(object) local
336 int object_size = ConsString::kSize; local
352 int object_size = map->instance_size(); local
[all...]
H A Dheap-inl.h397 bool Heap::ShouldBePromoted(Address old_address, int object_size) { argument
H A Dincremental-marking.cc200 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local
204 Min(object_size, start_offset + kProgressBarScanningChunk);
211 end_offset = Min(object_size, end_offset + kProgressBarScanningChunk);
214 } while (scan_until_end && start_offset < object_size);
216 if (start_offset < object_size) {
224 object_size - (start_offset - already_scanned_offset));
H A Dspaces.cc2985 AllocationResult LargeObjectSpace::AllocateRaw(int object_size, argument
2989 if (!heap()->CanExpandOldGeneration(object_size)) {
2994 object_size, this, executable);
2996 DCHECK(page->area_size() >= object_size);
3000 objects_size_ += object_size;
3017 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), object_size);
3027 heap()->incremental_marking()->OldSpaceStep(object_size);
3028 AllocationStep(object->address(), object_size);
H A Dheap.h807 inline bool ShouldBePromoted(Address old_address, int object_size);
1267 inline void IncrementPromotedObjectsSize(intptr_t object_size) { argument
1268 DCHECK_GE(object_size, 0);
1269 promoted_objects_size_ += object_size;
1273 inline void IncrementSemiSpaceCopiedObjectSize(intptr_t object_size) { argument
1274 DCHECK_GE(object_size, 0);
1275 semi_space_copied_object_size_ += object_size;
1382 int object_size,
2005 AllocateCode(int object_size, bool immovable);
/external/v8/src/compiler/
H A Dmemory-optimizer.cc124 int32_t const object_size = m.Value(); local
125 if (state->size() <= Page::kMaxRegularHeapObjectSize - object_size &&
130 int32_t const state_size = state->size() + object_size;
142 jsgraph()->IntPtrConstant(object_size));
160 Node* size = graph()->NewNode(common()->Int32Constant(object_size));
213 jsgraph()->IntPtrConstant(object_size));
228 state = AllocationState::Open(group, object_size, top, zone());
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection.cc180 int object_size)
187 object_size_ (object_size),
205 int object_size)
214 object_size_ (object_size),
171 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) argument
194 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) argument
/external/v8/src/ia32/
H A Dmacro-assembler-ia32.cc1522 void MacroAssembler::Allocate(int object_size, argument
1529 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1576 add(top_reg, Immediate(object_size));
1586 sub(result, Immediate(object_size - kHeapObjectTag));
1672 void MacroAssembler::Allocate(Register object_size, argument
1688 // object_size is left unchanged by this function.
1719 if (!object_size.is(result_end)) {
1720 mov(result_end, object_size);
1736 void MacroAssembler::FastAllocate(int object_size, Register result, argument
1753 lea(result_end, Operand(result, object_size));
1760 FastAllocate(Register object_size, Register result, Register result_end, AllocationFlags flags) argument
[all...]
/external/v8/src/profiler/
H A Dheap-snapshot-generator.cc379 bool HeapObjectsMap::MoveObject(Address from, Address to, int object_size) { argument
416 entries_.at(from_entry_info_index).size, object_size);
418 entries_.at(from_entry_info_index).size = object_size;
/external/v8/src/s390/
H A Dmacro-assembler-s390.cc1696 void MacroAssembler::Allocate(int object_size, Register result, argument
1699 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1716 object_size *= kPointerSize;
1718 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask));
1777 if (is_int16(object_size)) {
1778 CmpP(r0, Operand(object_size));
1780 AddP(result_end, result, Operand(object_size));
1782 mov(result_end, Operand(object_size));
1797 void MacroAssembler::Allocate(Register object_size, Register result, argument
1812 // |object_size| an
1899 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument
1952 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument
[all...]
/external/v8/src/x87/
H A Dmacro-assembler-x87.cc1464 void MacroAssembler::Allocate(int object_size, argument
1471 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1518 add(top_reg, Immediate(object_size));
1528 sub(result, Immediate(object_size - kHeapObjectTag));
1614 void MacroAssembler::Allocate(Register object_size, argument
1630 // object_size is left unchanged by this function.
1661 if (!object_size.is(result_end)) {
1662 mov(result_end, object_size);
1678 void MacroAssembler::FastAllocate(int object_size, Register result, argument
1695 lea(result_end, Operand(result, object_size));
1702 FastAllocate(Register object_size, Register result, Register result_end, AllocationFlags flags) argument
[all...]
/external/v8/src/arm64/
H A Dmacro-assembler-arm64.cc3027 void MacroAssembler::Allocate(int object_size, argument
3033 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
3055 object_size *= kPointerSize;
3057 DCHECK(0 == (object_size & kObjectAlignmentMask));
3094 Adds(result_end, result, object_size);
3108 void MacroAssembler::Allocate(Register object_size, Register result, argument
3126 // |object_size| and |result_end| may overlap, other registers must not.
3127 DCHECK(!AreAliased(object_size, result, scratch, scratch2));
3129 DCHECK(object_size.Is64Bits() && result.Is64Bits() && scratch.Is64Bits() &&
3167 Adds(result_end, result, Operand(object_size, LS
3189 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument
3223 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument
[all...]
/external/v8/src/mips/
H A Dmacro-assembler-mips.cc4162 void MacroAssembler::Allocate(int object_size, argument
4168 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
4185 object_size *= kPointerSize;
4187 DCHECK_EQ(0, object_size & kObjectAlignmentMask);
4240 Addu(result_end, result, Operand(object_size));
4253 void MacroAssembler::Allocate(Register object_size, Register result, argument
4268 // |object_size| and |result_end| may overlap if the DOUBLE_ALIGNMENT flag
4270 DCHECK(!AreAliased(object_size, result, scratch, t9, at));
4272 DCHECK((flags & DOUBLE_ALIGNMENT) == 0 || !object_size.is(result_end));
4325 Lsa(result_end, result, object_size, kPointerSizeLog
4347 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument
4390 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument
[all...]
/external/v8/src/ppc/
H A Dmacro-assembler-ppc.cc1780 void MacroAssembler::Allocate(int object_size, Register result, argument
1783 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1800 object_size *= kPointerSize;
1802 DCHECK_EQ(0, static_cast<int>(object_size & kObjectAlignmentMask));
1861 if (is_int16(object_size)) {
1862 cmpi(r0, Operand(object_size));
1864 addi(result_end, result, Operand(object_size));
1866 Cmpi(r0, Operand(object_size), result_end);
1881 void MacroAssembler::Allocate(Register object_size, Register result, argument
1896 // |object_size| an
1983 FastAllocate(Register object_size, Register result, Register result_end, Register scratch, AllocationFlags flags) argument
2036 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument
[all...]
/external/v8/src/x64/
H A Dmacro-assembler-x64.cc4867 void MacroAssembler::Allocate(int object_size, argument
4874 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
4908 addp(top_reg, Immediate(object_size));
4919 subp(result, Immediate(object_size - kHeapObjectTag));
4944 void MacroAssembler::Allocate(Register object_size, argument
4960 // object_size is left unchanged by this function.
4976 if (!object_size.is(result_end)) {
4977 movp(result_end, object_size);
4993 void MacroAssembler::FastAllocate(int object_size, Register result, argument
5003 leap(result_end, Operand(result, object_size));
5010 FastAllocate(Register object_size, Register result, Register result_end, AllocationFlags flags) argument
[all...]
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp2101 uint64_t object_size = MachOContents.size(); local
2103 if (object_offset < object_size) {
2122 uint64_t object_size = MachOContents.size(); local
2124 if (object_offset < object_size) {
2318 uint64_t object_size = MachOContents.size(); local
2320 if (object_offset < object_size) {
7310 uint32_t flags, uint32_t object_size,
7338 if (fileoff > object_size)
7343 if (fileoff + filesize > object_size)
7409 uint32_t filetype, uint32_t object_size,
7305 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
7404 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
7536 PrintSymtabLoadCommand(MachO::symtab_command st, bool Is64Bit, uint32_t object_size) argument
7582 PrintDysymtabLoadCommand(MachO::dysymtab_command dyst, uint32_t nsyms, uint32_t object_size, bool Is64Bit) argument
7715 PrintDyldInfoLoadCommand(MachO::dyld_info_command dc, uint32_t object_size) argument
7921 PrintEncryptionInfoCommand(MachO::encryption_info_command ec, uint32_t object_size) argument
7942 PrintEncryptionInfoCommand64(MachO::encryption_info_command_64 ec, uint32_t object_size) argument
8485 PrintLinkEditDataCommand(MachO::linkedit_data_command ld, uint32_t object_size) argument
[all...]
/external/v8/include/
H A Dv8.h5270 size_t object_size() { return object_size_; } function in class:v8::HeapObjectStatistics

Completed in 681 milliseconds

12