Home | History | Annotate | Download | only in src

Lines Matching refs:size_in_bytes

795   void ExpandSpace(int size_in_bytes) {
796 capacity_ += size_in_bytes;
797 available_ += size_in_bytes;
801 void ShrinkSpace(int size_in_bytes) {
802 capacity_ -= size_in_bytes;
803 available_ -= size_in_bytes;
807 void AllocateBytes(int size_in_bytes) {
808 available_ -= size_in_bytes;
809 size_ += size_in_bytes;
813 void DeallocateBytes(int size_in_bytes) {
814 size_ -= size_in_bytes;
815 available_ += size_in_bytes;
819 void WasteBytes(int size_in_bytes) {
820 available_ -= size_in_bytes;
821 waste_ += size_in_bytes;
826 void FillWastedBytes(int size_in_bytes) {
827 waste_ -= size_in_bytes;
828 size_ += size_in_bytes;
906 inline Object* AllocateRaw(int size_in_bytes);
910 inline Object* MCAllocateRaw(int size_in_bytes);
1019 int size_in_bytes);
1025 int size_in_bytes) = 0;
1028 virtual HeapObject* SlowAllocateRaw(int size_in_bytes) = 0;
1031 HeapObject* SlowMCAllocateRaw(int size_in_bytes);
1343 Object* AllocateRaw(int size_in_bytes) {
1344 return AllocateRawInternal(size_in_bytes, &allocation_info_);
1349 Object* MCAllocateRaw(int size_in_bytes) {
1350 return AllocateRawInternal(size_in_bytes, &mc_forwarding_info_);
1451 inline Object* AllocateRawInternal(int size_in_bytes,
1483 void set_size(int size_in_bytes);
1507 // Place a node on the free list. The block of size 'size_in_bytes'
1513 int Free(Address start, int size_in_bytes);
1515 // Allocate a block of size 'size_in_bytes' from the free list. The block
1519 Object* Allocate(int size_in_bytes, int* wasted_bytes);
1662 void Free(Address start, int size_in_bytes) {
1663 int wasted_bytes = free_list_.Free(start, size_in_bytes);
1664 accounting_stats_.DeallocateBytes(size_in_bytes);
1687 HeapObject* SlowAllocateRaw(int size_in_bytes);
1691 HeapObject* AllocateInNextPage(Page* current_page, int size_in_bytes);
1751 HeapObject* SlowAllocateRaw(int size_in_bytes);
1755 HeapObject* AllocateInNextPage(Page* current_page, int size_in_bytes);
1909 // (Page::kPageSize aligned) that has at least size_in_bytes (for a large
1913 static LargeObjectChunk* New(int size_in_bytes,
1930 void set_size(size_t size_in_bytes) { size_ = size_in_bytes; }
1937 static int ChunkSizeFor(int size_in_bytes);
1974 Object* AllocateRaw(int size_in_bytes);
1976 Object* AllocateRawCode(int size_in_bytes);
1978 Object* AllocateRawFixedArray(int size_in_bytes);