Home
last modified time | relevance | path

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

/external/chromium_org/google_apis/gcm/base/
Dsocket_stream.cc49 DCHECK_LT(next_pos_, read_buffer_->BytesConsumed()); in Next()
52 next_pos_ = read_buffer_->BytesConsumed(); in Next()
65 << " of " << read_buffer_->BytesConsumed(); in BackUp()
82 return read_buffer_->BytesConsumed() - next_pos_; in UnreadByteCount()
154 if (read_buffer_->BytesConsumed() == next_pos_) in GetState()
185 << " of " << read_buffer_->BytesConsumed() << "."; in RefreshCompletionCallback()
317 if (write_buffer_->BytesConsumed() + result < next_pos_) { in FlushCompletionCallback()
/external/chromium_org/jingle/glue/
Dfake_ssl_client_socket.cc121 DCHECK_EQ(write_buf_->BytesConsumed(), 0); in Connect()
122 DCHECK_EQ(read_buf_->BytesConsumed(), 0); in Connect()
196 DCHECK_EQ(write_buf_->BytesConsumed(), 0); in ProcessConnectDone()
197 DCHECK_EQ(read_buf_->BytesConsumed(), 0); in ProcessConnectDone()
227 DCHECK_EQ(read_buf_->BytesConsumed(), 0); in ProcessSendClientHelloDone()
/external/chromium_org/net/disk_cache/memory/
Dmem_entry_impl.cc363 MemEntryImpl* child = OpenChild(offset + io_buf->BytesConsumed(), false); in InternalReadSparseData()
370 int child_offset = ToChildOffset(offset + io_buf->BytesConsumed()); in InternalReadSparseData()
401 return io_buf->BytesConsumed(); in InternalReadSparseData()
422 MemEntryImpl* child = OpenChild(offset + io_buf->BytesConsumed(), true); in InternalWriteSparseData()
423 int child_offset = ToChildOffset(offset + io_buf->BytesConsumed()); in InternalWriteSparseData()
467 return io_buf->BytesConsumed(); in InternalWriteSparseData()
/external/chromium_org/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/chromium_org/net/base/
Dupload_data_stream.cc214 size() - position() - buf->BytesConsumed()); in ReadInternal()
220 const int bytes_copied = buf->BytesConsumed(); in ReadInternal()
Dio_buffer.h155 int BytesConsumed() const;
Dio_buffer.cc71 int DrainableIOBuffer::BytesConsumed() const { in BytesConsumed() function in net::DrainableIOBuffer
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc440 while (read_buf->BytesConsumed() < write_buf->size()) { in TEST_F()
448 EXPECT_EQ(write_buf->size(), read_buf->BytesConsumed()); in TEST_F()
467 while (read_buf->BytesConsumed() < write_buf->size()) { in TEST_F()
475 EXPECT_EQ(write_buf->size(), read_buf->BytesConsumed()); in TEST_F()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dreadahead_file_stream_reader.cc93 return sink->BytesConsumed(); in FinishReadFromCacheOrStoredError()
/external/chromium_org/chrome/browser/extensions/api/cast_channel/
Dcast_socket.cc424 << request.io_buffer->BytesConsumed(); in DoWrite()
457 int bytes_consumed = request.io_buffer->BytesConsumed(); in DoWriteCallback()
/external/chromium_org/webkit/browser/blob/
Dblob_url_request_job.cc429 int bytes_read = read_buf_->BytesConsumed(); in BytesReadCompleted()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_tcp_socket.cc508 write_buffer_->BytesConsumed())); in OnWriteCompleted()
Dpepper_tcp_socket_message_filter.cc832 SendWriteReply(context, write_buffer_->BytesConsumed()); in OnWriteCompleted()
/external/chromium_org/third_party/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/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/chromium_org/net/http/
Dhttp_stream_parser.cc443 if (request_headers_->BytesConsumed() >= request_headers_length_ && in DoSendHeadersComplete()
/external/chromium_org/net/dns/
Ddns_transaction.cc474 if (!response_->InitParse(buffer_->BytesConsumed(), *query_)) in DoReadResponse()