Searched refs:bytes_free (Results 1 – 4 of 4) sorted by relevance
618 size_t bytes_free = delta > 0 ? 0 : 0 - delta; in TEST_P() local622 EXPECT_EQ(capacity - bytes_free, bytes_consumed); in TEST_P()628 size_t expected_bytes_free = bytes_free < 3 ? 0 : bytes_free - 2; in TEST_P()647 size_t bytes_free = delta > 0 ? 0 : 0 - delta; in TEST_P() local651 EXPECT_EQ(capacity - bytes_free, bytes_consumed); in TEST_P()658 size_t expected_bytes_free = bytes_free > 0 ? bytes_free : 0; in TEST_P()676 size_t bytes_free = delta > 0 ? 0 : 0 - delta; in TEST_P() local688 if (bytes_free < 3) { in TEST_P()690 - bytes_free, serialized_packet.packet->length()); in TEST_P()709 size_t bytes_free = delta > 0 ? 0 : 0 - delta; in TEST_P() local[all …]
124 } else if (blocks_[0].bytes_free < sp.size()) { in WriteToContiguousBuffer()135 blocks_[0].bytes_free = sp.size(); in WriteToContiguousBuffer()141 blocks_[0].bytes_free -= sp.size(); in WriteToContiguousBuffer()162 if (blocks_[block_idx].bytes_free >= size) { in Reserve()177 block->bytes_free -= size; in Reserve()188 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