Searched refs:BytesFree (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/net/tools/balsa/
H A Dbuffer_interface.h27 virtual int BytesFree() const = 0;
H A Dsimple_buffer.cc70 inline int SimpleBuffer::BytesFree() const { function in class:net::SimpleBuffer
107 *size = SimpleBuffer::BytesFree();
147 if (size > 0 && BytesFree() < size) {
157 CHECK_GE(BytesFree(), size);
H A Dsimple_buffer.h37 virtual int BytesFree() const OVERRIDE;
/external/chromium_org/net/tools/flip_server/
H A Dring_buffer.cc23 int RingBuffer::BytesFree() const { return BufferSize() - ReadableBytes(); } function in class:net::RingBuffer
55 int bytes_available = BytesFree();
161 if (size <= BytesFree()) {
201 CHECK_LE(amount_to_produce, BytesFree());
H A Dring_buffer.h43 virtual int BytesFree() const OVERRIDE;
71 // size is <= BytesFree(), it is guaranteed that the buffer size will not
77 // or equal to BytesFree(), it is guaranteed that the buffer size will not
/external/chromium_org/net/quic/
H A Dquic_packet_creator.cc209 return BytesFree() >
240 << "No room for Stream frame, BytesFree: " << BytesFree()
255 size_t bytes_consumed = min<size_t>(BytesFree() - min_frame_size, data_size);
344 size_t QuicPacketCreator::BytesFree() const { function in class:net::QuicPacketCreator
480 frame, BytesFree(), queued_frames_.empty(), true, is_in_fec_group,
506 if (BytesFree() == 0) {
H A Dquic_packet_creator_test.cc667 // BytesFree() returns bytes available for the next frame, which will
671 EXPECT_EQ(expected_bytes_free, creator_.BytesFree()) << "delta: " << delta;
696 // BytesFree() returns bytes available for the next frame. Since stream
701 EXPECT_EQ(expected_bytes_free, creator_.BytesFree()) << "delta: " << delta;
913 creator_.BytesFree());
937 EXPECT_EQ(0u, creator_.BytesFree());
959 creator_.BytesFree());
974 QuicFrame(&ack_frame), creator_.BytesFree(), true, true,
976 EXPECT_GT(creator_.BytesFree(), frame_len);
983 EXPECT_LT(0u, creator_.BytesFree());
[all...]
H A Dquic_packet_creator.h135 size_t BytesFree() const;
147 // in BytesFree.
H A Dquic_packet_generator.cc163 DCHECK(data.Empty() || packet_creator_.BytesFree() == 0u);

Completed in 96 milliseconds