Searched refs:bytes_read (Results 201 - 225 of 426) sorted by relevance

1234567891011>>

/external/chromium_org/tools/android/forwarder2/
H A Dsocket.cc294 int bytes_read = 0; local
296 while (bytes_read < num_bytes && ret > 0) {
297 ret = Read(static_cast<char*>(buffer) + bytes_read, num_bytes - bytes_read);
299 bytes_read += ret;
301 return bytes_read;
/external/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc571 size_t bytes_read = 0; // # of bytes read so far
578 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
579 bytes_read += bytes_last_read;
580 } while (bytes_last_read > 0 && bytes_read < file_size);
582 const String content(buffer, bytes_read);
/external/mesa3d/src/gtest/src/
H A Dgtest-port.cc567 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);
/external/protobuf/gtest/src/
H A Dgtest-port.cc521 size_t bytes_read = 0; // # of bytes read so far
528 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
529 bytes_read += bytes_last_read;
530 } while (bytes_last_read > 0 && bytes_read < file_size);
532 const String content(buffer, bytes_read);
/external/chromium_org/net/base/
H A Dupload_data_stream_unittest.cc49 const int bytes_read = local
51 data_read.append(buf->data(), bytes_read);
164 int bytes_read = local
166 ASSERT_LE(0, bytes_read); // Not an error.
239 int bytes_read = read_callback.WaitForResult(); local
240 ASSERT_LE(0, bytes_read); // Not an error.
241 read_counter += bytes_read;
357 const int bytes_read = local
359 ASSERT_LE(0, bytes_read); // Not an error.
378 int bytes_read local
469 int bytes_read = stream.Read(buf.get(), kTestDataSize, CompletionCallback()); local
470 ASSERT_EQ(static_cast<int>(kTestDataSize), bytes_read); // Not an error. local
[all...]
H A Dnetwork_delegate.h89 void NotifyRawBytesRead(const URLRequest& request, int bytes_read);
204 virtual void OnRawBytesRead(const URLRequest& request, int bytes_read);
/external/jpeg/
H A Djdmarker.c103 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon22702
752 unsigned int bytes_read, data_length; local
781 marker->bytes_read = 0;
782 bytes_read = 0;
786 bytes_read = data_length = 0;
791 bytes_read = marker->bytes_read;
793 data = cur_marker->data + bytes_read;
796 while (bytes_read < data_length) {
798 marker->bytes_read
[all...]
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jdmarker.c104 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon28746
778 unsigned int bytes_read, data_length; local
807 marker->bytes_read = 0;
808 bytes_read = 0;
812 bytes_read = data_length = 0;
817 bytes_read = marker->bytes_read;
819 data = cur_marker->data + bytes_read;
822 while (bytes_read < data_length) {
824 marker->bytes_read
[all...]
/external/qemu/distrib/jpeg-6b/
H A Djdmarker.c103 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon29300
744 unsigned int bytes_read, data_length; local
773 marker->bytes_read = 0;
774 bytes_read = 0;
778 bytes_read = data_length = 0;
783 bytes_read = marker->bytes_read;
785 data = cur_marker->data + bytes_read;
788 while (bytes_read < data_length) {
790 marker->bytes_read
[all...]
/external/bluetooth/bluedroid/hci/src/
H A Dhci_mct.c715 uint16_t bytes_read = 0; local
730 bytes_read++;
830 bytes_read += len;
880 return (bytes_read);
895 uint16_t bytes_read = 0; local
910 bytes_read++;
1018 bytes_read += len;
1066 return (bytes_read);
/external/chromium_org/content/browser/loader/
H A Ddetachable_resource_handler.cc164 bool DetachableResourceHandler::OnReadCompleted(int bytes_read, bool* defer) { argument
171 next_handler_->OnReadCompleted(bytes_read, &is_deferred_);
H A Dbuffered_resource_handler.h41 virtual bool OnReadCompleted(int bytes_read, bool* defer) OVERRIDE;
H A Ddetachable_resource_handler.h62 virtual bool OnReadCompleted(int bytes_read, bool* defer) OVERRIDE;
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_url_request_job.h68 int *bytes_read) OVERRIDE;
87 int bytes_read) OVERRIDE;
/external/chromium_org/media/audio/
H A Daudio_device_thread.cc168 size_t bytes_read = socket_.Receive(&pending_data, sizeof(pending_data)); local
169 if (bytes_read != sizeof(pending_data))
/external/chromium_org/media/base/
H A Dyuv_convert_perftest.cc54 int bytes_read = base::ReadFile( local
57 CHECK_EQ(bytes_read, kYUV12Size);
/external/chromium_org/mojo/system/
H A Draw_channel.h203 void OnReadCompleted(IOResult io_result, size_t bytes_read);
244 // - |bytes_read| is untouched unless |Read()| returns |IO_SUCCEEDED|;
247 virtual IOResult Read(size_t* bytes_read) = 0;
/external/chromium_org/storage/browser/fileapi/
H A Dfile_system_dir_url_request_job.cc49 int *bytes_read) {
55 *bytes_read = count;
48 ReadRawData(net::IOBuffer* dest, int dest_size, int *bytes_read) argument
/external/chromium_org/chrome/browser/chromeos/fileapi/
H A Dexternal_file_url_request_job.h56 int* bytes_read) OVERRIDE;
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmtp_device_async_delegate.h49 int bytes_read)> ReadBytesSuccessCallback;
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dport_monitor.h47 BOOL WINAPI Monitor2ReadPort(HANDLE, BYTE*, DWORD, DWORD* bytes_read);
H A Dspooler_win.h39 BOOL (WINAPI *pfnReadPort)(HANDLE, BYTE*, DWORD, DWORD* bytes_read);
/external/chromium_org/content/browser/download/
H A Ddownload_resource_handler.h71 virtual bool OnReadCompleted(int bytes_read, bool* defer) OVERRIDE;
/external/chromium_org/content/browser/streams/
H A Dstream.h76 // |*bytes_read| to the number of bytes actually read.
79 StreamState ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
H A Dstream_unittest.cc52 int bytes_read = 0; local
55 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read);
73 buffer_->SetCapacity(old_capacity + bytes_read);
75 buffer->data(), bytes_read);

Completed in 1386 milliseconds

1234567891011>>