Searched refs:object_size (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/v8/src/heap/
H A Dobjects-visiting.h116 int object_size) {
119 DCHECK(IsAligned(object_size, kPointerSize));
120 DCHECK(kMinObjectSizeInWords * kPointerSize <= object_size);
121 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
124 base + (object_size >> kPointerSizeLog2) - kMinObjectSizeInWords);
204 int object_size = BodyDescriptor::SizeOf(map, object); local
206 map->GetHeap(), object, BodyDescriptor::kStartOffset, object_size);
207 return static_cast<ReturnType>(object_size);
210 template <int object_size>
212 DCHECK(BodyDescriptor::SizeOf(map, object) == object_size);
115 GetVisitorIdForSize(VisitorId base, VisitorId generic, int object_size) argument
[all...]
H A Dheap.cc1950 HeapObject* object, int object_size) {
1953 int allocation_size = object_size;
1979 MigrateObject(heap, object, target, object_size);
1981 heap->IncrementSemiSpaceCopiedObjectSize(object_size);
1990 HeapObject* object, int object_size) {
1993 int allocation_size = object_size;
2018 MigrateObject(heap, object, target, object_size);
2025 heap->promotion_queue()->insert(target, object_size);
2028 heap->IncrementPromotedObjectsSize(object_size);
2037 HeapObject* object, int object_size) {
1949 SemiSpaceCopyObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument
1989 PromoteObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument
2036 EvacuateObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument
2088 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local
2097 int object_size = FixedDoubleArray::SizeFor(length); local
2105 int object_size = reinterpret_cast<FixedTypedArrayBase*>(object)->size(); local
2113 int object_size = reinterpret_cast<FixedFloat64Array*>(object)->size(); local
2121 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); local
2129 int object_size = SeqOneByteString::cast(object) local
2138 int object_size = SeqTwoByteString::cast(object) local
2177 int object_size = ConsString::kSize; local
2193 int object_size = map->instance_size(); local
3426 AllocateCode(int object_size, bool immovable) argument
3690 int object_size = map->instance_size(); local
[all...]
H A Dincremental-marking.cc184 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local
188 Min(object_size, start_offset + kProgressBarScanningChunk);
196 end_offset = Min(object_size, end_offset + kProgressBarScanningChunk);
198 } while (scan_until_end && start_offset < object_size);
200 if (start_offset < object_size) {
203 object_size - (start_offset - already_scanned_offset));
H A Dheap.h1114 inline void IncrementPromotedObjectsSize(int object_size) { argument
1115 DCHECK(object_size > 0);
1116 promoted_objects_size_ += object_size;
1119 inline void IncrementSemiSpaceCopiedObjectSize(int object_size) { argument
1120 DCHECK(object_size > 0);
1121 semi_space_copied_object_size_ += object_size;
1160 inline bool ShouldBePromoted(Address old_address, int object_size);
1649 static AllocationSpace SelectSpace(int object_size, argument
1654 if (object_size > Page::kMaxRegularHeapObjectSize) return LO_SPACE;
1827 AllocateCode(int object_size, boo
[all...]
H A Dspaces.cc690 LargePage* MemoryAllocator::AllocateLargePage(intptr_t object_size, argument
694 AllocateChunk(object_size, object_size, executable, owner);
2834 AllocationResult LargeObjectSpace::AllocateRaw(int object_size, argument
2843 if (Size() + object_size > max_capacity_) {
2848 object_size, this, executable);
2850 DCHECK(page->area_size() >= object_size);
2853 objects_size_ += object_size;
2875 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), object_size);
2885 heap()->incremental_marking()->OldSpaceStep(object_size);
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dheap-profile-table.h79 size_t object_size; // size of the allocation member in struct:HeapProfileTable::AllocInfo
122 // If yes, fill *object_size with the allocation byte size.
123 bool FindAlloc(const void* ptr, size_t* object_size) const;
129 // and *object_size with the allocation byte size.
132 const void** object_ptr, size_t* object_size) const;
380 info.object_size = v->bytes;
H A Dheap-checker.cc734 live_objects->push_back(AllocObject(ptr, info.object_size,
763 uintptr_t end_address = start_address + info.object_size;
780 info.object_size, ptr, AsPtr(*iter));
785 (stack_disable ? "Stack" : "Range"), info.object_size, ptr);
786 live_objects->push_back(AllocObject(ptr, info.object_size,
1111 size_t object_size; local
1112 if (!(heap_profile->FindAlloc(ptr, &object_size) &&
1113 object->second == object_size)) {
1464 size_t object_size; local
1465 if (HaveOnHeapLocked(&ptr, &object_size)
2355 HaveOnHeapLocked(const void** ptr, size_t* object_size) argument
[all...]
H A Dcentral_freelist.cc366 const size_t object_size = Static::sizemap()->class_to_size(size_class_);
367 ASSERT(object_size > 0);
368 const size_t overhead_per_span = (pages_per_span * kPageSize) % object_size;
H A Dheap-profile-table.cc241 bool HeapProfileTable::FindAlloc(const void* ptr, size_t* object_size) const {
243 if (alloc_value != NULL) *object_size = alloc_value->bytes;
251 info->object_size = alloc_value->bytes;
261 size_t* object_size) const {
264 if (alloc_value != NULL) *object_size = alloc_value->bytes;
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dheap-profile-table.h76 size_t object_size; // size of the allocation member in struct:HeapProfileTable::AllocInfo
119 // If yes, fill *object_size with the allocation byte size.
120 bool FindAlloc(const void* ptr, size_t* object_size) const;
126 // and *object_size with the allocation byte size.
129 const void** object_ptr, size_t* object_size) const;
295 info.object_size = v->bytes;
H A Dheap-checker.cc734 live_objects->push_back(AllocObject(ptr, info.object_size,
763 uintptr_t end_address = start_address + info.object_size;
780 info.object_size, ptr, AsPtr(*iter));
785 (stack_disable ? "Stack" : "Range"), info.object_size, ptr);
786 live_objects->push_back(AllocObject(ptr, info.object_size,
1111 size_t object_size; local
1112 if (!(heap_profile->FindAlloc(ptr, &object_size) &&
1113 object->second == object_size)) {
1464 size_t object_size; local
1465 if (HaveOnHeapLocked(&ptr, &object_size)
2354 HaveOnHeapLocked(const void** ptr, size_t* object_size) argument
[all...]
H A Dcentral_freelist.cc370 const size_t object_size = Static::sizemap()->class_to_size(size_class_);
371 ASSERT(object_size > 0);
372 const size_t overhead_per_span = (pages_per_span * kPageSize) % object_size;
H A Dheap-profile-table.cc251 bool HeapProfileTable::FindAlloc(const void* ptr, size_t* object_size) const {
253 if (alloc_value != NULL) *object_size = alloc_value->bytes;
261 info->object_size = alloc_value->bytes;
271 size_t* object_size) const {
274 if (alloc_value != NULL) *object_size = alloc_value->bytes;
/external/clang/test/CodeGen/
H A Dbuiltins.c109 P(object_size, (s0, 0));
110 P(object_size, (s0, 1));
111 P(object_size, (s0, 2));
112 P(object_size, (s0, 3));
/external/chromium_org/chrome/browser/media_galleries/win/
H A Dmtp_device_operations_util.cc228 int64 object_size = GetObjectSize(properties_values.get()); local
229 if (object_size < 0)
231 *size = object_size;
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
H A Dheap-checker.h323 // We also fill *object_size for this object then
325 static inline bool HaveOnHeapLocked(const void** ptr, size_t* object_size);
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/
H A Dheap-checker.h323 // We also fill *object_size for this object then
325 static inline bool HaveOnHeapLocked(const void** ptr, size_t* object_size);
/external/chromium_org/content/browser/appcache/
H A Dappcache_url_request_job_unittest.cc732 int64 range_start, range_end, object_size; local
734 headers->GetContentRange(&range_start, &range_end, &object_size));
737 EXPECT_EQ(5, object_size);
/external/chromium_org/v8/src/arm/
H A Dmacro-assembler-arm.cc1717 void MacroAssembler::Allocate(int object_size,
1723 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1743 object_size *= kPointerSize;
1745 DCHECK_EQ(0, object_size & kObjectAlignmentMask);
1805 DCHECK(object_size > 0);
1809 while (object_size != 0) {
1810 if (((object_size >> shift) & 0x03) == 0) {
1813 int bits = object_size & (0xff << shift);
1814 object_size -= bits;
1835 void MacroAssembler::Allocate(Register object_size,
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection.h126 // object_size: The size of a message object of this type, as measured
136 int object_size);
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection.h120 // object_size: The size of a message object of this type, as measured
130 int object_size);
/external/chromium_org/v8/src/ia32/
H A Dmacro-assembler-ia32.cc1415 void MacroAssembler::Allocate(int object_size, argument
1422 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1468 add(top_reg, Immediate(object_size));
1480 sub(result, Immediate(object_size - kHeapObjectTag));
1482 sub(result, Immediate(object_size));
1569 void MacroAssembler::Allocate(Register object_size, argument
1584 // object_size is left unchanged by this function.
1616 if (!object_size.is(result_end)) {
1617 mov(result_end, object_size);
H A Dmacro-assembler-ia32.h612 void Allocate(int object_size,
629 void Allocate(Register object_size,
/external/chromium_org/v8/src/x87/
H A Dmacro-assembler-x87.cc1378 void MacroAssembler::Allocate(int object_size, argument
1385 DCHECK(object_size <= Page::kMaxRegularHeapObjectSize);
1431 add(top_reg, Immediate(object_size));
1443 sub(result, Immediate(object_size - kHeapObjectTag));
1445 sub(result, Immediate(object_size));
1532 void MacroAssembler::Allocate(Register object_size, argument
1547 // object_size is left unchanged by this function.
1579 if (!object_size.is(result_end)) {
1580 mov(result_end, object_size);
H A Dmacro-assembler-x87.h582 void Allocate(int object_size,
599 void Allocate(Register object_size,

Completed in 5544 milliseconds

123