Searched refs:bytes_free (Results 1 – 3 of 3) sorted by relevance
101 } else if (blocks_[0].bytes_free < sp.size()) { in WriteToContiguousBuffer()112 blocks_[0].bytes_free = sp.size(); in WriteToContiguousBuffer()118 blocks_[0].bytes_free -= sp.size(); in WriteToContiguousBuffer()139 if (blocks_[block_idx].bytes_free >= size) { in Reserve()154 block->bytes_free -= size; in Reserve()165 blocks_[0].bytes_free = blocks_[0].buffer_size; in Clear()
77 size_t bytes_free; member80 return buffer_size - bytes_free; in bytes_used()86 BufferBlock() : buffer(NULL), buffer_size(0), bytes_free(0) {} in BufferBlock()90 buffer(buf), buffer_size(size), bytes_free(free) {} in BufferBlock()
221 size_t bytes_free; /* Byte total of chunks in the free list. */ member