/external/chromium_org/net/url_request/ |
H A D | url_request_file_job.cc | 88 int* bytes_read) { 90 DCHECK(bytes_read); 99 *bytes_read = 0; 110 *bytes_read = rv; 86 ReadRawData(IOBuffer* dest, int dest_size, int* bytes_read) argument
|
H A D | url_fetcher_core.cc | 419 int bytes_read) { 432 if (!request_->status().is_success() || bytes_read <= 0) 435 current_response_bytes_ += bytes_read; 439 WriteBuffer(new DrainableIOBuffer(buffer_.get(), bytes_read)); 444 } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read)); 646 // OnReadCompleted() with bytes_read = -1 via an asynchronous task posted by 848 int bytes_read = 0; local 851 if (!request_->Read(buffer_.get(), kBufferSize, &bytes_read)) 852 bytes_read = -1; // Match OnReadCompleted() interface contract. 854 OnReadCompleted(request_.get(), bytes_read); 418 OnReadCompleted(URLRequest* request, int bytes_read) argument [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_host_resolver.h | 33 int32_t* bytes_read);
|
H A D | test_host_resolver_private.h | 39 int32_t* bytes_read);
|
/external/chromium_org/storage/browser/fileapi/ |
H A D | file_system_dir_url_request_job.h | 39 int* bytes_read) OVERRIDE;
|
H A D | file_system_url_request_job.cc | 86 int* bytes_read) { 88 DCHECK(bytes_read); 98 *bytes_read = 0; 107 *bytes_read = rv; 84 ReadRawData(net::IOBuffer* dest, int dest_size, int* bytes_read) argument
|
H A D | file_system_url_request_job.h | 47 int* bytes_read) OVERRIDE;
|
H A D | file_writer_delegate.cc | 102 int bytes_read) { 108 OnDataReceived(bytes_read); 124 void FileWriterDelegate::OnDataReceived(int bytes_read) { argument 125 bytes_read_ = bytes_read; 101 OnReadCompleted(net::URLRequest* request, int bytes_read) argument
|
H A D | native_file_util.cc | 55 int bytes_read = infile.ReadAtCurrentPos(&buffer[0], kBufferSize); local 56 if (bytes_read < 0) 58 if (bytes_read == 0) 60 for (int bytes_written = 0; bytes_written < bytes_read; ) { 62 &buffer[bytes_written], bytes_read - bytes_written);
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
H A D | filevideocapturer.cc | 285 size_t bytes_read; local 289 &bytes_read, 292 << ", bytes read = " << bytes_read << ", error = " << error; 294 if (CapturedFrame::kFrameHeaderSize != bytes_read) {
|
/external/lldb/source/API/ |
H A D | SBCommunication.cpp | 147 size_t bytes_read = 0; local 149 bytes_read = m_opaque->Read (dst, dst_len, timeout_usec, status, NULL); 160 (uint64_t)bytes_read); 161 return bytes_read;
|
/external/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DYLDRendezvous.cpp | 239 size_t bytes_read; local 242 bytes_read = m_process->DoReadMemory(addr, dst, size, error); 243 if (bytes_read != size || error.Fail()) 246 return addr + bytes_read;
|
/external/chromium_org/media/cdm/ppapi/ |
H A D | cdm_file_io_impl.cc | 331 void CdmFileIOImpl::OnFileRead(int32_t bytes_read) { argument 332 CDM_DLOG() << __FUNCTION__ << ": " << bytes_read; local 336 // 0 |bytes_read| indicates end-of-file reached. 337 if (bytes_read < PP_OK) { 344 PP_DCHECK(static_cast<size_t>(bytes_read) <= io_buffer_.size()); 345 // Append |bytes_read| in |io_buffer_| to |cumulative_read_buffer_|. 348 io_buffer_.begin() + bytes_read); 349 io_offset_ += bytes_read; 352 if (bytes_read > 0) {
|
/external/chromium_org/net/quic/ |
H A D | quic_data_stream_test.cc | 221 size_t bytes_read = stream_->Readv(&vec, 1); local 222 EXPECT_EQ(headers.length(), bytes_read); 223 EXPECT_EQ(headers, string(buffer, bytes_read)); 225 bytes_read = stream_->Readv(&vec, 1); 226 EXPECT_EQ(body.length(), bytes_read); 227 EXPECT_EQ(body, string(buffer, bytes_read)); 248 size_t bytes_read = stream_->Readv(&vec, 1); local 249 ASSERT_EQ(1u, bytes_read); 274 size_t bytes_read = stream_->Readv(vec, 2); local 275 ASSERT_EQ(2u, bytes_read) << [all...] |
/external/chromium_org/mojo/spy/ |
H A D | spy.cc | 83 uint32_t bytes_read = kMessageBufSize; local 87 mbuf.get(), &bytes_read, 92 if (!bytes_read && !handles_read) 128 bytes_transfered_ += bytes_read; 139 mbuf.get(), bytes_read,
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | tty_test.cc | 95 int bytes_read; local 109 EXPECT_EQ(0, dev_tty_->Read(attrs, buffer, 5, &bytes_read)); 110 EXPECT_EQ(5, bytes_read); 116 EXPECT_EQ(0, dev_tty_->Read(attrs, buffer + 5, 95, &bytes_read)); 117 EXPECT_EQ(bytes_read, message.size() - 5);
|
/external/chromium_org/rlz/lib/ |
H A D | financial_ping.cc | 284 DWORD bytes_read = 0; 286 &bytes_read) && bytes_read > 0) { 287 response->append(buffer.get(), bytes_read); 288 bytes_read = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | xmppclient.cc | 366 size_t bytes_read; local 374 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) { 379 if (bytes_read == 0) 383 client_->SignalLogInput(bytes, static_cast<int>(bytes_read)); 386 engine_->HandleInput(bytes, bytes_read);
|
/external/lldb/source/Core/ |
H A D | Communication.cpp | 353 size_t bytes_read = comm->ReadFromConnection (buf, sizeof(buf), 5 * TimeValue::MicroSecPerSec, status, &error); local 354 if (bytes_read > 0) 355 comm->AppendBytesToCache (buf, bytes_read, true, status); 356 else if ((bytes_read == 0) 361 comm->AppendBytesToCache (buf, bytes_read, true, status);
|
/external/chromium_org/content/browser/webui/ |
H A D | url_data_manager_backend.cc | 113 int* bytes_read) OVERRIDE; 175 void CompleteRead(net::IOBuffer* buf, int buf_size, int* bytes_read); 311 int bytes_read; local 314 CompleteRead(pending_buf_.get(), pending_buf_size_, &bytes_read); 316 NotifyReadComplete(bytes_read); 326 int* bytes_read) { 337 CompleteRead(buf, buf_size, bytes_read); 342 int* bytes_read) { 355 *bytes_read = buf_size; 325 ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) argument 341 CompleteRead(net::IOBuffer* buf, int buf_size, int* bytes_read) argument
|
/external/e2fsprogs/e2fsck/ |
H A D | util.c | 347 track->bytes_read = 0; 352 track->bytes_read = io_start->bytes_read; 417 unsigned long long bytes_read = 0; local 425 bytes_read = delta->bytes_read - track->bytes_read; 431 mbytes(bytes_read), mbytes(bytes_written), 432 (double)mbytes(bytes_read + bytes_written) /
|
/external/chromium_org/base/process/ |
H A D | launch_posix.cc | 600 ssize_t bytes_read = 1; // A lie to properly handle |max_output == 0| local 604 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, 606 if (bytes_read <= 0) 608 output->append(buffer, bytes_read); 609 output_buf_left -= static_cast<size_t>(bytes_read); 619 if (!output_buf_left && bytes_read > 0)
|
/external/chromium_org/components/cronet/android/ |
H A D | chromium_url_request.cc | 68 int bytes_read = request->bytes_read(); variable 69 if (bytes_read != 0) { 72 env, env->NewDirectByteBuffer(request->Data(), bytes_read)); 88 jint bytes_read = cronet::Java_ChromiumUrlRequest_readFromUploadChannel( variable 90 return bytes_read;
|
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_url_request_job.cc | 122 net::IOBuffer* buf, int buf_size, int *bytes_read) { 124 *bytes_read = 0; 128 blob_request_->Read(buf, buf_size, bytes_read); 175 int bytes_read) { 181 NotifyReadComplete(bytes_read); 182 if (bytes_read == 0) 121 ReadRawData( net::IOBuffer* buf, int buf_size, int *bytes_read) argument 174 OnReadCompleted(net::URLRequest* request, int bytes_read) argument
|
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
H A D | gtest-port.cc | 567 size_t bytes_read = 0; // # of bytes read so far 574 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 575 bytes_read += bytes_last_read; 576 } while (bytes_last_read > 0 && bytes_read < file_size); 578 const String content(buffer, bytes_read);
|