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

123

/external/v8/src/
H A Dobjects-visiting.h132 int object_size) {
136 ASSERT(IsAligned(object_size, kPointerSize));
137 ASSERT(kMinObjectSizeInWords * kPointerSize <= object_size);
138 ASSERT(object_size < Page::kMaxNonCodeHeapObjectSize);
141 base + (object_size >> kPointerSizeLog2) - kMinObjectSizeInWords);
226 int object_size = BodyDescriptor::SizeOf(map, object); local
231 object_size);
232 return static_cast<ReturnType>(object_size);
235 template<int object_size>
237 ASSERT(BodyDescriptor::SizeOf(map, object) == object_size);
130 GetVisitorIdForSize(VisitorId base, VisitorId generic, int object_size) argument
[all...]
H A Dmark-compact.h401 int object_size);
413 int object_size,
536 bool TryPromoteObject(HeapObject* object, int object_size);
H A Dheap.cc1620 int object_size) {
1622 (object_size <= Page::kMaxNonCodeHeapObjectSize));
1623 SLOW_ASSERT(object->Size() == object_size);
1626 if (heap->ShouldBePromoted(object->address(), object_size)) {
1630 (object_size > Page::kMaxNonCodeHeapObjectSize)) {
1631 maybe_result = heap->lo_space()->AllocateRaw(object_size,
1635 maybe_result = heap->old_data_space()->AllocateRaw(object_size);
1637 maybe_result = heap->old_pointer_space()->AllocateRaw(object_size);
1649 MigrateObject(heap, object, target, object_size);
1652 heap->promotion_queue()->insert(target, object_size);
1617 EvacuateObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument
1698 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local
1710 int object_size = FixedDoubleArray::SizeFor(length); local
1721 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); local
1729 int object_size = SeqAsciiString::cast(object)-> local
1738 int object_size = SeqTwoByteString::cast(object)-> local
1782 int object_size = ConsString::kSize; local
1799 int object_size = map->instance_size(); local
4020 int object_size = map->instance_size(); local
4050 object_size); local
[all...]
H A Dheap-inl.h322 bool Heap::ShouldBePromoted(Address old_address, int object_size) { argument
330 return below_mark || (new_space_.Size() + object_size) >=
H A Dspaces.cc587 LargePage* MemoryAllocator::AllocateLargePage(intptr_t object_size, argument
590 MemoryChunk* chunk = AllocateChunk(object_size, executable, owner);
2579 MaybeObject* LargeObjectSpace::AllocateRaw(int object_size, argument
2588 if (Size() + object_size > max_capacity_) {
2593 AllocateLargePage(object_size, executable, this);
2595 ASSERT(page->area_size() >= object_size);
2598 objects_size_ += object_size;
2624 heap()->incremental_marking()->OldSpaceStep(object_size);
H A Dmark-compact.cc1158 int object_size = JSWeakMap::BodyDescriptor::SizeOf(map, object); local
1168 object_size);
2796 int object_size) {
2799 if (object_size > Page::kMaxNonCodeHeapObjectSize) {
2801 heap()->lo_space()->AllocateRaw(object_size, NOT_EXECUTABLE);
2806 object_size,
2809 increment_promoted_objects_size(object_size);
2817 MaybeObject* maybe_result = target_space->AllocateRaw(object_size);
2822 object_size,
2825 increment_promoted_objects_size(object_size);
2795 TryPromoteObject(HeapObject* object, int object_size) argument
[all...]
/external/chromium_org/v8/src/
H A Dobjects-visiting.h139 int object_size) {
143 ASSERT(IsAligned(object_size, kPointerSize));
144 ASSERT(kMinObjectSizeInWords * kPointerSize <= object_size);
145 ASSERT(object_size <= Page::kMaxNonCodeHeapObjectSize);
148 base + (object_size >> kPointerSizeLog2) - kMinObjectSizeInWords);
233 int object_size = BodyDescriptor::SizeOf(map, object); local
238 object_size);
239 return static_cast<ReturnType>(object_size);
242 template<int object_size>
244 ASSERT(BodyDescriptor::SizeOf(map, object) == object_size);
137 GetVisitorIdForSize(VisitorId base, VisitorId generic, int object_size) argument
[all...]
H A Dincremental-marking.cc240 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local
243 int end_offset = Min(object_size,
253 end_offset = Min(object_size, end_offset + kProgressBarScanningChunk);
255 } while (scan_until_end && start_offset < object_size);
257 if (start_offset < object_size) {
260 object_size - (start_offset - already_scanned_offset));
H A Dmark-compact.h547 int object_size);
559 int object_size,
698 bool TryPromoteObject(HeapObject* object, int object_size);
H A Dheap.cc2224 int object_size) {
2225 SLOW_ASSERT(object_size <= Page::kMaxNonCodeHeapObjectSize);
2226 SLOW_ASSERT(object->Size() == object_size);
2228 int allocation_size = object_size;
2235 if (heap->ShouldBePromoted(object->address(), object_size)) {
2258 MigrateObject(heap, object, target, object_size);
2265 heap->promotion_queue()->insert(target, object_size);
2269 heap->tracer()->increment_promoted_objects_size(object_size);
2287 MigrateObject(heap, object, target, object_size);
2317 int object_size local
2221 EvacuateObject(Map* map, HeapObject** slot, HeapObject* object, int object_size) argument
2327 int object_size = FixedDoubleArray::SizeFor(length); local
2336 int object_size = reinterpret_cast<ByteArray*>(object)->ByteArraySize(); local
2345 int object_size = SeqOneByteString::cast(object)-> local
2355 int object_size = SeqTwoByteString::cast(object)-> local
2400 int object_size = ConsString::kSize; local
2419 int object_size = map->instance_size(); local
4847 int object_size = map->instance_size(); local
4884 object_size); local
[all...]
H A Dcode-stubs-hydrogen.cc445 int object_size = size; local
454 HValue* size_in_words = Add<HConstant>(object_size >> kPointerSizeLog2);
464 for (int i = 0; i < object_size; i += kPointerSize) {
470 ASSERT(FLAG_allocation_site_pretenuring || (size == object_size));
473 object, Add<HConstant>(object_size), allocation_site);
H A Dmark-compact.cc1452 int object_size = JSWeakCollection::BodyDescriptor::SizeOf(map, object); local
1462 object_size);
1580 int object_size = obj->Size(); local
1581 heap->RecordObjectStats(map->instance_type(), object_size);
1643 int object_size = obj->Size(); local
1647 object_size);
2948 int object_size) {
2950 CHECK(object_size <= Page::kMaxNonCodeHeapObjectSize);
2957 MaybeObject* maybe_result = target_space->AllocateRaw(object_size);
2962 object_size,
2947 TryPromoteObject(HeapObject* object, int object_size) argument
[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/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/v8/src/ia32/
H A Dmacro-assembler-ia32.h539 void AllocateInNewSpace(int object_size,
555 void AllocateInNewSpace(Register object_size,
/external/chromium_org/webkit/browser/appcache/
H A Dappcache_url_request_job_unittest.cc685 int64 range_start, range_end, object_size; local
687 headers->GetContentRange(&range_start, &range_end, &object_size));
690 EXPECT_EQ(5, object_size);

Completed in 453 milliseconds

123