Home
last modified time | relevance | path

Searched refs:BytesConsumed (Results 1 – 14 of 14) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_stream_sequencer_buffer_test.cc322 EXPECT_EQ(100u, buffer_->BytesConsumed()); in TEST_F()
346 EXPECT_EQ(source.size(), buffer_->BytesConsumed()); in TEST_F()
429 EXPECT_EQ(max_capacity_bytes_ + 256, buffer_->BytesConsumed()); in TEST_F()
463 EXPECT_EQ(100u, buffer_->BytesConsumed()); in TEST_F()
758 EXPECT_EQ(256u + 512u, buffer_->BytesConsumed()); in TEST_F()
774 EXPECT_EQ(256u + 512u, buffer_->BytesConsumed()); in TEST_F()
778 EXPECT_EQ(256u + 512u, buffer_->BytesConsumed()); in TEST_F()
792 EXPECT_EQ(source.size(), buffer_->BytesConsumed()); in TEST_F()
807 EXPECT_EQ(1024u, buffer_->BytesConsumed()); in TEST_F()
811 EXPECT_EQ(8 * kBlockSizeBytes, buffer_->BytesConsumed()); in TEST_F()
[all …]
Dquic_stream_sequencer.cc166 << buffered_frames_.BytesConsumed() << " of " << close_offset_ in MaybeCloseStream()
232 return buffered_frames_.BytesConsumed() >= close_offset_; in IsClosed()
281 << buffered_frames_.BytesConsumed() << " length " in FlushBufferedFrames()
292 return buffered_frames_.BytesConsumed(); in NumBytesConsumed()
Dquic_stream_sequencer_buffer.h154 QuicStreamOffset BytesConsumed() const;
Dquic_stream_sequencer_buffer.cc447 QuicStreamOffset QuicStreamSequencerBuffer::BytesConsumed() const { in BytesConsumed() function in quic::QuicStreamSequencerBuffer
/external/cronet/net/disk_cache/memory/
Dmem_entry_impl.cc419 MemEntryImpl* child = GetChild(offset + io_buf->BytesConsumed(), false); in InternalReadSparseData()
426 int child_offset = ToChildOffset(offset + io_buf->BytesConsumed()); in InternalReadSparseData()
457 return io_buf->BytesConsumed(); in InternalReadSparseData()
486 MemEntryImpl* child = GetChild(offset + io_buf->BytesConsumed(), true); in InternalWriteSparseData()
487 int child_offset = ToChildOffset(offset + io_buf->BytesConsumed()); in InternalWriteSparseData()
529 return io_buf->BytesConsumed(); in InternalWriteSparseData()
/external/cronet/net/base/
Delements_upload_data_stream.cc122 if (buf->BytesConsumed() > 0) in ReadElements()
123 return buf->BytesConsumed(); in ReadElements()
Dio_buffer.h166 int BytesConsumed() const;
Dio_buffer.cc93 int DrainableIOBuffer::BytesConsumed() const { in BytesConsumed() function in net::DrainableIOBuffer
/external/cronet/components/nacl/browser/
Dpnacl_translation_cache.cc283 WriteEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()); in DispatchNext()
303 ? ReadEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()) in DispatchNext()
304 : WriteEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()); in DispatchNext()
310 DCHECK(io_buf_->BytesConsumed() == io_buf_->size()); in DispatchNext()
/external/cronet/net/socket/
Dunix_domain_client_socket_posix_unittest.cc75 retry_count > 0 && (read_buf->BytesConsumed() < min_data_len || in ReadSynchronously()
87 DCHECK_EQ(0, read_buf->BytesConsumed()); in ReadSynchronously()
98 return read_buf->BytesConsumed(); in ReadSynchronously()
125 return write_buf->BytesConsumed(); in WriteSynchronously()
Dssl_server_socket_unittest.cc1057 while (read_buf->BytesConsumed() < write_buf->size()) { in TEST_P()
1065 EXPECT_EQ(write_buf->size(), read_buf->BytesConsumed()); in TEST_P()
1091 while (read_buf->BytesConsumed() < write_buf->size()) { in TEST_P()
1099 EXPECT_EQ(write_buf->size(), read_buf->BytesConsumed()); in TEST_P()
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h304 virtual int32_t BytesConsumed(int32_t character);
Dcmap_table.cc507 int32_t CMapTable::CMapFormat2::BytesConsumed(int32_t character) { in BytesConsumed() function in sfntly::CMapTable::CMapFormat2
/external/cronet/net/http/
Dhttp_stream_parser.cc456 if (request_headers_->BytesConsumed() >= request_headers_length_ && in DoSendHeadersComplete()