BytesRemaining 175 chrome/browser/devtools/port_forwarding_controller.cc if (drainable->BytesRemaining() > 0) { BytesRemaining 178 chrome/browser/devtools/port_forwarding_controller.cc drainable->BytesRemaining(), BytesRemaining 431 chrome/browser/extensions/api/cast_channel/cast_socket.cc request.io_buffer->BytesRemaining(), BytesRemaining 447 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (io_buffer->BytesRemaining() == 0) // Message fully sent BytesRemaining 352 chrome/browser/extensions/api/messaging/native_message_process_host.cc !current_write_buffer_->BytesRemaining()) { BytesRemaining 362 chrome/browser/extensions/api/messaging/native_message_process_host.cc current_write_buffer_->BytesRemaining(), BytesRemaining 72 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc while (sink->BytesRemaining() > 0 && !buffers_.empty()) { BytesRemaining 75 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc DCHECK(source_buffer->BytesRemaining() > 0); BytesRemaining 77 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc int copy_len = std::min(source_buffer->BytesRemaining(), BytesRemaining 78 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc sink->BytesRemaining()); BytesRemaining 85 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc if (source_buffer->BytesRemaining() == 0) { BytesRemaining 465 chrome/browser/net/network_stats.cc write_buffer_->BytesRemaining(), BytesRemaining 489 chrome/browser/net/network_stats.cc DCHECK_EQ(write_buffer_->BytesRemaining(), 0); BytesRemaining 144 chrome/test/chromedriver/net/websocket.cc if (!write_buffer_->BytesRemaining()) BytesRemaining 164 chrome/test/chromedriver/net/websocket.cc if (!write_buffer_->BytesRemaining()) { BytesRemaining 174 chrome/test/chromedriver/net/websocket.cc write_buffer_->BytesRemaining(), BytesRemaining 191 components/nacl/browser/pnacl_translation_cache.cc DCHECK(io_buf_->BytesRemaining() == len); BytesRemaining 283 components/nacl/browser/pnacl_translation_cache.cc WriteEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()); BytesRemaining 301 components/nacl/browser/pnacl_translation_cache.cc if (io_buf_->BytesRemaining() > 0) { BytesRemaining 303 components/nacl/browser/pnacl_translation_cache.cc ? ReadEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()) BytesRemaining 304 components/nacl/browser/pnacl_translation_cache.cc : WriteEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()); BytesRemaining 80 content/browser/fileapi/upload_file_system_file_element_reader.cc std::min(BytesRemaining(), static_cast<uint64>(buf_length)); BytesRemaining 39 content/browser/fileapi/upload_file_system_file_element_reader.h virtual uint64 BytesRemaining() const OVERRIDE; BytesRemaining 73 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); BytesRemaining 133 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 150 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(file_data_.size() - buf->size(), reader_->BytesRemaining()); BytesRemaining 158 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 171 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 184 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 192 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); BytesRemaining 199 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 221 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); BytesRemaining 230 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(file_data_.size() - buf2->size(), reader_->BytesRemaining()); BytesRemaining 248 content/browser/fileapi/upload_file_system_file_element_reader_unittest.cc EXPECT_EQ(static_cast<uint64>(kLength), reader_->BytesRemaining()); BytesRemaining 91 content/browser/loader/temporary_file_stream_unittest.cc drainable.get(), drainable->BytesRemaining(), BytesRemaining 340 content/browser/renderer_host/p2p/socket_host_tcp.cc write_buffer_->BytesRemaining(), BytesRemaining 359 content/browser/renderer_host/p2p/socket_host_tcp.cc if (write_buffer_->BytesRemaining() == 0) { BytesRemaining 464 content/browser/renderer_host/p2p/socket_host_tcp.cc buffer->BytesRemaining() - kPacketHeaderSize, BytesRemaining 487 content/browser/renderer_host/pepper/pepper_tcp_socket.cc if (write_buffer_->BytesRemaining() > 0) { BytesRemaining 518 content/browser/renderer_host/pepper/pepper_tcp_socket.cc DCHECK_GT(write_buffer_->BytesRemaining(), 0); BytesRemaining 522 content/browser/renderer_host/pepper/pepper_tcp_socket.cc write_buffer_->BytesRemaining(), BytesRemaining 604 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc DCHECK_GT(write_buffer_->BytesRemaining(), 0); BytesRemaining 612 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc write_buffer_->BytesRemaining(), BytesRemaining 619 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc write_buffer_->BytesRemaining(), BytesRemaining 804 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc if (write_buffer_->BytesRemaining() > 0 && state_.IsConnected()) { BytesRemaining 200 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, write_buffer->BytesRemaining()); BytesRemaining 226 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(base_buffer->size(), write_buffer->BytesRemaining()); BytesRemaining 325 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, write_buffer->BytesRemaining()); BytesRemaining 351 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(base_buffer->size(), write_buffer->BytesRemaining()); BytesRemaining 134 device/bluetooth/bluetooth_socket_chromeos.cc HANDLE_EINTR(write(fd_, buffer->data(), buffer->BytesRemaining())); BytesRemaining 137 device/bluetooth/bluetooth_socket_chromeos.cc } while (buffer->BytesRemaining() > 0 && bytes_written > 0); BytesRemaining 98 device/bluetooth/bluetooth_socket_win.cc bytes_written = send(fd_, buffer->data(), buffer->BytesRemaining(), 0); BytesRemaining 101 device/bluetooth/bluetooth_socket_win.cc } while (buffer->BytesRemaining() > 0 && bytes_written > 0); BytesRemaining 91 google_apis/gcm/base/socket_stream.cc if (byte_limit > read_buffer_->BytesRemaining()) { BytesRemaining 204 jingle/glue/fake_ssl_client_socket.cc write_buf_->BytesRemaining(), BytesRemaining 226 jingle/glue/fake_ssl_client_socket.cc DCHECK_LE(written, static_cast<size_t>(write_buf_->BytesRemaining())); BytesRemaining 228 jingle/glue/fake_ssl_client_socket.cc if (written < static_cast<size_t>(write_buf_->BytesRemaining())) { BytesRemaining 239 jingle/glue/fake_ssl_client_socket.cc read_buf_->BytesRemaining(), BytesRemaining 270 jingle/glue/fake_ssl_client_socket.cc DCHECK_LE(read, static_cast<size_t>(read_buf_->BytesRemaining())); BytesRemaining 276 jingle/glue/fake_ssl_client_socket.cc read_buf_->BytesRemaining()]; BytesRemaining 280 jingle/glue/fake_ssl_client_socket.cc if (read < static_cast<size_t>(read_buf_->BytesRemaining())) { BytesRemaining 223 jingle/glue/pseudotcp_adapter_unittest.cc if (output_buffer_->BytesRemaining() == 0) BytesRemaining 226 jingle/glue/pseudotcp_adapter_unittest.cc int bytes_to_write = std::min(output_buffer_->BytesRemaining(), BytesRemaining 432 net/base/file_stream_unittest.cc rv = stream.Write(drainable.get(), drainable->BytesRemaining(), BytesRemaining 522 net/base/file_stream_unittest.cc rv = stream.Write(drainable.get(), drainable->BytesRemaining(), BytesRemaining 658 net/base/file_stream_unittest.cc rv = stream->Write(drainable.get(), drainable->BytesRemaining(), BytesRemaining 703 net/base/file_stream_unittest.cc rv = stream->Write(drainable.get(), drainable->BytesRemaining(), BytesRemaining 791 net/base/file_stream_unittest.cc drainable_.get(), drainable_->BytesRemaining(), callback.callback()); BytesRemaining 919 net/base/file_stream_unittest.cc drainable_.get(), drainable_->BytesRemaining(), callback.callback()); BytesRemaining 152 net/base/io_buffer.h int BytesRemaining() const; BytesRemaining 52 net/base/upload_bytes_element_reader.cc std::min(BytesRemaining(), static_cast<uint64>(buf_length)); BytesRemaining 32 net/base/upload_bytes_element_reader.h virtual uint64 BytesRemaining() const OVERRIDE; BytesRemaining 24 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); BytesRemaining 39 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining()); BytesRemaining 50 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 64 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 77 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 83 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); BytesRemaining 89 net/base/upload_bytes_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 183 net/base/upload_data_stream.cc if (reader->BytesRemaining() == 0) { BytesRemaining 188 net/base/upload_data_stream.cc if (buf->BytesRemaining() == 0) BytesRemaining 193 net/base/upload_data_stream.cc buf->BytesRemaining(), BytesRemaining 213 net/base/upload_data_stream.cc std::min(static_cast<uint64>(buf->BytesRemaining()), BytesRemaining 43 net/base/upload_element_reader.h virtual uint64 BytesRemaining() const = 0; BytesRemaining 81 net/base/upload_file_element_reader.cc std::min(BytesRemaining(), static_cast<uint64>(buf_length)); BytesRemaining 48 net/base/upload_file_element_reader.h virtual uint64 BytesRemaining() const OVERRIDE; BytesRemaining 45 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); BytesRemaining 70 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining()); BytesRemaining 78 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 90 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 107 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 122 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 130 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); BytesRemaining 138 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(0U, reader_->BytesRemaining()); BytesRemaining 161 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); BytesRemaining 171 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(bytes_.size() - buf2.size(), reader_->BytesRemaining()); BytesRemaining 193 net/base/upload_file_element_reader_unittest.cc EXPECT_EQ(kLength, reader_->BytesRemaining()); BytesRemaining 362 net/disk_cache/memory/mem_entry_impl.cc while (io_buf->BytesRemaining()) { BytesRemaining 380 net/disk_cache/memory/mem_entry_impl.cc io_buf->BytesRemaining())); BytesRemaining 383 net/disk_cache/memory/mem_entry_impl.cc io_buf->BytesRemaining(), CompletionCallback()); BytesRemaining 421 net/disk_cache/memory/mem_entry_impl.cc while (io_buf->BytesRemaining()) { BytesRemaining 427 net/disk_cache/memory/mem_entry_impl.cc int write_len = std::min(static_cast<int>(io_buf->BytesRemaining()), BytesRemaining 405 net/dns/dns_transaction.cc if (buffer_->BytesRemaining() > 0) { BytesRemaining 409 net/dns/dns_transaction.cc buffer_->BytesRemaining(), BytesRemaining 424 net/dns/dns_transaction.cc if (buffer_->BytesRemaining() > 0) { BytesRemaining 428 net/dns/dns_transaction.cc buffer_->BytesRemaining(), BytesRemaining 443 net/dns/dns_transaction.cc if (buffer_->BytesRemaining() > 0) { BytesRemaining 447 net/dns/dns_transaction.cc buffer_->BytesRemaining(), BytesRemaining 467 net/dns/dns_transaction.cc if (buffer_->BytesRemaining() > 0) { BytesRemaining 471 net/dns/dns_transaction.cc buffer_->BytesRemaining(), BytesRemaining 732 net/ftp/ftp_network_transaction.cc write_buf_.get(), write_buf_->BytesRemaining(), io_callback_); BytesRemaining 740 net/ftp/ftp_network_transaction.cc if (write_buf_->BytesRemaining() == 0) { BytesRemaining 420 net/http/http_stream_parser.cc int bytes_remaining = request_headers_->BytesRemaining(); BytesRemaining 454 net/http/http_stream_parser.cc if (request_body_send_buf_->BytesRemaining() > 0) { BytesRemaining 457 net/http/http_stream_parser.cc request_body_send_buf_->BytesRemaining(), BytesRemaining 202 net/quic/crypto/crypto_framer.cc if (reader.BytesRemaining() < kQuicTagSize) { BytesRemaining 210 net/quic/crypto/crypto_framer.cc if (reader.BytesRemaining() < kNumEntriesSize + sizeof(uint16)) { BytesRemaining 224 net/quic/crypto/crypto_framer.cc if (reader.BytesRemaining() < BytesRemaining 254 net/quic/crypto/crypto_framer.cc if (reader.BytesRemaining() < values_len_) { BytesRemaining 109 net/quic/quic_data_reader.h size_t BytesRemaining() const; BytesRemaining 1342 net/quic/quic_framer.cc if (!reader_->ReadStringPiece(&frame_data, reader_->BytesRemaining())) { BytesRemaining 1807 net/quic/quic_framer.cc if (!reader_->ReadStringPiece(&encrypted, reader_->BytesRemaining())) { BytesRemaining 482 net/quic/quic_http_stream.cc int len = request_body_buf_->BytesRemaining(); BytesRemaining 499 net/quic/quic_http_stream.cc request_body_buf_->DidConsume(request_body_buf_->BytesRemaining()); BytesRemaining 98 net/server/http_server_unittest.cc write_buffer_->BytesRemaining(), BytesRemaining 107 net/server/http_server_unittest.cc if (write_buffer_->BytesRemaining()) BytesRemaining 1299 net/socket/ssl_client_socket_openssl.cc send_buffer_->BytesRemaining(), BytesRemaining 1382 net/socket/ssl_client_socket_openssl.cc DCHECK_GE(send_buffer_->BytesRemaining(), 0); BytesRemaining 1383 net/socket/ssl_client_socket_openssl.cc if (send_buffer_->BytesRemaining() <= 0) BytesRemaining 1177 net/socket/ssl_client_socket_unittest.cc request_buffer->BytesRemaining(), BytesRemaining 1185 net/socket/ssl_client_socket_unittest.cc ASSERT_LT(0, request_buffer->BytesRemaining()); BytesRemaining 1192 net/socket/ssl_client_socket_unittest.cc request_buffer->BytesRemaining(), BytesRemaining 1296 net/socket/ssl_client_socket_unittest.cc long_request_buffer->BytesRemaining(), BytesRemaining 1301 net/socket/ssl_client_socket_unittest.cc ASSERT_LT(0, long_request_buffer->BytesRemaining()); BytesRemaining 126 net/socket/ssl_server_socket_unittest.cc int copied = std::min(buf->BytesRemaining(), read_buf_len); BytesRemaining 130 net/socket/ssl_server_socket_unittest.cc if (!buf->BytesRemaining()) BytesRemaining 434 net/socket/ssl_server_socket_unittest.cc read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); BytesRemaining 445 net/socket/ssl_server_socket_unittest.cc read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); BytesRemaining 458 net/socket/ssl_server_socket_unittest.cc read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); BytesRemaining 472 net/socket/ssl_server_socket_unittest.cc read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); BytesRemaining 426 net/socket_stream/socket_stream.cc if (current_write_buf_->BytesRemaining()) BytesRemaining 1191 net/socket_stream/socket_stream.cc current_write_buf_->BytesRemaining(), BytesRemaining 587 net/spdy/spdy_stream.cc if (pending_send_data_->BytesRemaining() > 0) { BytesRemaining 783 net/spdy/spdy_stream.cc CHECK_GT(pending_send_data_->BytesRemaining(), 0); BytesRemaining 791 net/spdy/spdy_stream.cc pending_send_data_->BytesRemaining(), BytesRemaining 65 net/udp/udp_socket_unittest.cc while (buffer->BytesRemaining()) { BytesRemaining 67 net/udp/udp_socket_unittest.cc buffer.get(), buffer->BytesRemaining(), address, callback.callback()); BytesRemaining 100 net/udp/udp_socket_unittest.cc while (buffer->BytesRemaining()) { BytesRemaining 102 net/udp/udp_socket_unittest.cc buffer.get(), buffer->BytesRemaining(), callback.callback()); BytesRemaining 803 net/url_request/url_fetcher_core.cc while (data->BytesRemaining() > 0) { BytesRemaining 806 net/url_request/url_fetcher_core.cc data->BytesRemaining(), BytesRemaining 836 net/url_request/url_fetcher_core.cc DCHECK_EQ(0, data->BytesRemaining()); BytesRemaining 202 net/websockets/websocket_basic_stream.cc while (buffer->BytesRemaining() > 0) { BytesRemaining 207 net/websockets/websocket_basic_stream.cc buffer->BytesRemaining(), BytesRemaining 121 net/websockets/websocket_job.cc current_send_buffer_->BytesRemaining()); BytesRemaining 218 net/websockets/websocket_job.cc if (current_send_buffer_->BytesRemaining() > 0) BytesRemaining 701 net/websockets/websocket_job.cc current_send_buffer_->BytesRemaining()); BytesRemaining 188 remoting/protocol/buffered_socket_writer.cc *size = current_buf_->BytesRemaining(); BytesRemaining 195 remoting/protocol/buffered_socket_writer.cc if (current_buf_->BytesRemaining() == 0) { BytesRemaining 71 remoting/protocol/connection_tester.cc if (output_buffer_->BytesRemaining() == 0) BytesRemaining 74 remoting/protocol/connection_tester.cc int bytes_to_write = std::min(output_buffer_->BytesRemaining(), BytesRemaining 169 remoting/protocol/ssl_hmac_channel_authenticator.cc auth_write_buf_->BytesRemaining(), BytesRemaining 197 remoting/protocol/ssl_hmac_channel_authenticator.cc if (auth_write_buf_->BytesRemaining() > 0) BytesRemaining 360 webkit/browser/blob/blob_url_request_job.cc DCHECK_GE(read_buf_->BytesRemaining(), 0); BytesRemaining 365 webkit/browser/blob/blob_url_request_job.cc DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); BytesRemaining 377 webkit/browser/blob/blob_url_request_job.cc DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); BytesRemaining 408 webkit/browser/blob/blob_url_request_job.cc if (!read_buf_->BytesRemaining()) { BytesRemaining 438 webkit/browser/blob/blob_url_request_job.cc int64 buf_remaining = read_buf_->BytesRemaining(); BytesRemaining 451 webkit/browser/blob/blob_url_request_job.cc while (remaining_bytes_ > 0 && read_buf_->BytesRemaining() > 0) { BytesRemaining 606 webkit/browser/fileapi/copy_or_move_operation_delegate.cc DCHECK_GT(buffer->BytesRemaining(), 0); BytesRemaining 609 webkit/browser/fileapi/copy_or_move_operation_delegate.cc buffer.get(), buffer->BytesRemaining(), BytesRemaining 641 webkit/browser/fileapi/copy_or_move_operation_delegate.cc if (buffer->BytesRemaining() > 0) { BytesRemaining 51 webkit/browser/fileapi/local_file_stream_writer_unittest.cc while (drainable->BytesRemaining() > 0) { BytesRemaining 54 webkit/browser/fileapi/local_file_stream_writer_unittest.cc drainable.get(), drainable->BytesRemaining(), callback.callback());