Searched defs:bytes_to_read (Results 1 - 6 of 6) sorted by relevance

/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.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.cpp188 const uint32_t bytes_to_read = local
192 const size_t bytes_read = stream->read(input, bytes_to_read);
/external/chromium/net/spdy/
H A Dspdy_framer.cc380 size_t bytes_to_read = std::min(*len, max_bytes); local
381 DCHECK_GE(current_frame_capacity_, current_frame_len_ + bytes_to_read);
382 memcpy(&current_frame_buffer_[current_frame_len_], *data, bytes_to_read);
383 current_frame_len_ += bytes_to_read;
384 *data += bytes_to_read;
385 *len -= bytes_to_read;
386 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 144 milliseconds