Home
last modified time | relevance | path

Searched refs:size_in_bytes (Results 1 – 10 of 10) sorted by relevance

/external/webkit/V8Binding/v8/src/
Dspaces.h706 void ExpandSpace(int size_in_bytes) { in ExpandSpace() argument
707 capacity_ += size_in_bytes; in ExpandSpace()
708 available_ += size_in_bytes; in ExpandSpace()
712 void ShrinkSpace(int size_in_bytes) { in ShrinkSpace() argument
713 capacity_ -= size_in_bytes; in ShrinkSpace()
714 available_ -= size_in_bytes; in ShrinkSpace()
718 void AllocateBytes(int size_in_bytes) { in AllocateBytes() argument
719 available_ -= size_in_bytes; in AllocateBytes()
720 size_ += size_in_bytes; in AllocateBytes()
724 void DeallocateBytes(int size_in_bytes) { in DeallocateBytes() argument
[all …]
Dspaces-inl.h284 int size_in_bytes) { in AllocateLinearly() argument
286 Address new_top = current_top + size_in_bytes; in AllocateLinearly()
291 accounting_stats_.AllocateBytes(size_in_bytes); in AllocateLinearly()
297 Object* PagedSpace::AllocateRaw(int size_in_bytes) { in AllocateRaw() argument
299 ASSERT_OBJECT_SIZE(size_in_bytes); in AllocateRaw()
300 HeapObject* object = AllocateLinearly(&allocation_info_, size_in_bytes); in AllocateRaw()
303 object = SlowAllocateRaw(size_in_bytes); in AllocateRaw()
306 return Failure::RetryAfterGC(size_in_bytes, identity()); in AllocateRaw()
311 Object* PagedSpace::MCAllocateRaw(int size_in_bytes) { in MCAllocateRaw() argument
313 ASSERT_OBJECT_SIZE(size_in_bytes); in MCAllocateRaw()
[all …]
Dspaces.cc654 HeapObject* PagedSpace::SlowMCAllocateRaw(int size_in_bytes) { in SlowMCAllocateRaw() argument
675 return AllocateLinearly(&mc_forwarding_info_, size_in_bytes); in SlowMCAllocateRaw()
1393 void FreeListNode::set_size(int size_in_bytes) { in set_size() argument
1394 ASSERT(size_in_bytes > 0); in set_size()
1395 ASSERT(IsAligned(size_in_bytes, kPointerSize)); in set_size()
1404 if (size_in_bytes > ByteArray::kAlignedSize) { in set_size()
1406 ByteArray::cast(this)->set_length(ByteArray::LengthFor(size_in_bytes)); in set_size()
1407 } else if (size_in_bytes == kPointerSize) { in set_size()
1409 } else if (size_in_bytes == 2 * kPointerSize) { in set_size()
1414 ASSERT(Size() == size_in_bytes); in set_size()
[all …]
Dheap-inl.h51 Object* Heap::AllocateRaw(int size_in_bytes, in AllocateRaw() argument
62 return Failure::RetryAfterGC(size_in_bytes, space); in AllocateRaw()
69 result = new_space_.AllocateRaw(size_in_bytes); in AllocateRaw()
78 result = old_pointer_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
80 result = old_data_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
82 result = code_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
84 result = lo_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
86 result = cell_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
89 result = map_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
Dmark-compact.h40 typedef void (*DeallocateFunction)(Address start, int size_in_bytes);
305 static void DeallocateOldPointerBlock(Address start, int size_in_bytes);
306 static void DeallocateOldDataBlock(Address start, int size_in_bytes);
307 static void DeallocateCodeBlock(Address start, int size_in_bytes);
308 static void DeallocateMapBlock(Address start, int size_in_bytes);
309 static void DeallocateCellBlock(Address start, int size_in_bytes);
Dmark-compact.cc1234 int size_in_bytes) { in DeallocateOldPointerBlock() argument
1235 Heap::ClearRSetRange(start, size_in_bytes); in DeallocateOldPointerBlock()
1236 Heap::old_pointer_space()->Free(start, size_in_bytes); in DeallocateOldPointerBlock()
1241 int size_in_bytes) { in DeallocateOldDataBlock() argument
1242 Heap::old_data_space()->Free(start, size_in_bytes); in DeallocateOldDataBlock()
1247 int size_in_bytes) { in DeallocateCodeBlock() argument
1248 Heap::code_space()->Free(start, size_in_bytes); in DeallocateCodeBlock()
1253 int size_in_bytes) { in DeallocateMapBlock() argument
1257 ASSERT(size_in_bytes % Map::kSize == 0); in DeallocateMapBlock()
1258 Heap::ClearRSetRange(start, size_in_bytes); in DeallocateMapBlock()
[all …]
Dheap.h594 static inline Object* AllocateRaw(int size_in_bytes,
817 static void ClearRSetRange(Address start, int size_in_bytes);
Dobjects.h2416 static int LengthFor(int size_in_bytes) { in LengthFor() argument
2417 ASSERT(IsAligned(size_in_bytes, kPointerSize)); in LengthFor()
2418 ASSERT(size_in_bytes >= kHeaderSize); in LengthFor()
2419 return size_in_bytes - kHeaderSize; in LengthFor()
Dheap.cc781 void Heap::ClearRSetRange(Address start, int size_in_bytes) { in ClearRSetRange() argument
787 Page::ComputeRSetBitPosition(start + size_in_bytes - kIntSize, in ClearRSetRange()
/external/webkit/WebKitTools/android/flex-2.5.4a/
Dmisc.c875 void zero_out( region_ptr, size_in_bytes ) in zero_out() argument
877 size_t size_in_bytes;
882 rp_end = region_ptr + size_in_bytes;