Home | History | Annotate | Download | only in src

Lines Matching full:size_in_bytes

1247   void ExpandSpace(int size_in_bytes) {
1248 capacity_ += size_in_bytes;
1249 size_ += size_in_bytes;
1256 void ShrinkSpace(int size_in_bytes) {
1257 capacity_ -= size_in_bytes;
1258 size_ -= size_in_bytes;
1263 void AllocateBytes(intptr_t size_in_bytes) {
1264 size_ += size_in_bytes;
1269 void DeallocateBytes(intptr_t size_in_bytes) {
1270 size_ -= size_in_bytes;
1275 void WasteBytes(int size_in_bytes) {
1276 size_ -= size_in_bytes;
1277 waste_ += size_in_bytes;
1310 void set_size(Heap* heap, int size_in_bytes);
1359 // Place a node on the free list. The block of size 'size_in_bytes'
1365 int Free(Address start, int size_in_bytes);
1367 // Allocate a block of size 'size_in_bytes' from the free list. The block
1371 MUST_USE_RESULT HeapObject* Allocate(int size_in_bytes);
1403 FreeListNode* FindNodeFor(int size_in_bytes, int* node_size);
1509 MUST_USE_RESULT inline MaybeObject* AllocateRaw(int size_in_bytes);
1517 int Free(Address start, int size_in_bytes) {
1518 int wasted = free_list_.Free(start, size_in_bytes);
1519 accounting_stats_.DeallocateBytes(size_in_bytes - wasted);
1520 return size_in_bytes - wasted;
1666 inline HeapObject* AllocateLinearly(int size_in_bytes);
1669 MUST_USE_RESULT virtual HeapObject* SlowAllocateRaw(int size_in_bytes);
2178 MUST_USE_RESULT INLINE(MaybeObject* AllocateRaw(int size_in_bytes));
2304 MUST_USE_RESULT MaybeObject* SlowAllocateRaw(int size_in_bytes);