Searched refs:bytes_to_read (Results 1 - 8 of 8) sorted by relevance

/external/chromium/net/tools/flip_server/
H A Dring_buffer.cc154 int bytes_to_read = size;
156 if (bytes_used < bytes_to_read) {
157 bytes_to_read = bytes_used;
159 char* end = bytes + bytes_to_read;
169 this->bytes_used_ -= bytes_to_read;
170 return bytes_to_read;
/external/chromium/net/url_request/
H A Durl_request_job_tracker_unittest.cc88 const size_t bytes_to_read = std::min( local
94 memcpy(buf->data(), response_data_.data(), bytes_to_read);
95 response_data_.erase(0, bytes_to_read);
101 bytes_to_read));
104 *bytes_read = bytes_to_read;
/external/chromium/net/socket/
H A Dtransport_client_socket_unittest.cc77 uint32 bytes_to_read,
134 uint32 bytes_to_read, TestCompletionCallback* callback) {
138 while (bytes_read < bytes_to_read) {
132 DrainClientSocket( IOBuffer* buf, uint32 buf_len, uint32 bytes_to_read, TestCompletionCallback* callback) argument
/external/chromium/base/
H A Dfile_util_proxy.h151 // |offset + bytes_to_read| in the file. The callback can be NULL.
156 int bytes_to_read,
H A Dfile_util_proxy.cc528 int bytes_to_read,
532 buffer_(new char[bytes_to_read]),
533 bytes_to_read_(bytes_to_read),
847 int bytes_to_read,
850 new RelayRead(file, offset, bytes_to_read, callback));
526 RelayRead(base::PlatformFile file, int64 offset, int bytes_to_read, base::FileUtilProxy::ReadCallback* callback) argument
843 Read( scoped_refptr<MessageLoopProxy> message_loop_proxy, PlatformFile file, int64 offset, int bytes_to_read, ReadCallback* callback) argument
/external/skia/src/images/
H A DSkImageDecoder_libwebp.cpp176 const uint32_t bytes_to_read = local
180 const size_t bytes_read = stream->read(input, bytes_to_read);
/external/chromium/net/spdy/
H A Dspdy_framer.cc376 size_t bytes_to_read = std::min(*len, max_bytes); local
377 DCHECK_GE(current_frame_capacity_, current_frame_len_ + bytes_to_read);
378 memcpy(&current_frame_buffer_[current_frame_len_], *data, bytes_to_read);
379 current_frame_len_ += bytes_to_read;
380 *data += bytes_to_read;
381 *len -= bytes_to_read;
382 return bytes_to_read;
/external/srec/srec/Recognizer/src/
H A DRecognizerImpl.c3767 size_t bytes_to_read; local
3791 bytes_to_read = *num_bytes;
3793 bytes_to_read = MIN(waveformBuffer->read_size, *num_bytes);
3794 waveformBuffer->read_size -= bytes_to_read;
3795 *num_bytes = CircularBufferRead(waveformBuffer->cbuffer, data, bytes_to_read);
3796 if (*num_bytes != bytes_to_read)

Completed in 239 milliseconds