Home | History | Annotate | Download | only in src

Lines Matching refs:Available

481   // Returns the maximum available bytes of heaps.
482 static int Available() { return capacity_ < size_ ? 0 : capacity_ - size_; }
487 // Returns maximum available bytes that the old space can have.
489 return (Available() / Page::kPageSize) * Page::kObjectAreaSize;
758 // the number of bytes that are not allocated and not available to
761 // 'available' is the number of unallocated bytes that are not waste. The
762 // capacity is the sum of size, waste, and available.
780 // Reset the allocation statistics (ie, available = capacity with no
790 int Available() { return available_; }
794 // Grow the space by adding available bytes.
800 // Shrink the space by removing available bytes.
806 // Allocate from available bytes (available -> size).
812 // Free allocated bytes, making them available (size -> available).
818 available -> waste).
881 // Current capacity without growing (Size() + Available() + Waste()).
888 // Available bytes without growing.
889 int Available() { return accounting_stats_.Available(); }
1116 // its maximum capacity (and thus there is space available in the reserved
1309 // Return the available bytes without growing in the active semispace.
1310 int Available() { return Capacity() - Size(); }
1504 // Return the number of bytes available on the free list.
1505 int available() { return available_; }
1516 // is unitialized. A failure is returned if no block is available. The
1531 // Total available bytes in all blocks on this free list.
1535 // The available sizes are kept in an increasingly ordered list. Entries
1541 // Size (words) of the next larger available size if head_node_ != NULL.
1606 // Return the number of bytes available on the free list.
1607 int available() { return available_; }
1616 // A failure is returned if no block is available.
1620 // Available bytes on the free list.
1651 // The bytes available on the free list (ie, not above the linear allocation
1653 int AvailableFree() { return free_list_.available(); }
1941 // LargeObjectSpace::Available. Note that this can overestimate the size
1980 // Available bytes for objects in this space, not including any extra
1982 int Available() {
1983 return LargeObjectChunk::ObjectSizeFor(MemoryAllocator::Available());