HomeSort by relevance Sort by last modified time
    Searched refs:bytes_read (Results 1 - 25 of 417) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/content/browser/fileapi/
mock_url_request_delegate.cc 34 int bytes_read) {
35 if (bytes_read > 0)
36 ReceiveData(request, bytes_read);
47 int bytes_read = 0; local
48 if (!request->Read(io_buffer_.get(), kBufferSize, &bytes_read)) {
54 ReceiveData(request, bytes_read);
58 int bytes_read) {
59 if (bytes_read) {
61 static_cast<size_t>(bytes_read));
mock_url_request_delegate.h 24 int bytes_read) OVERRIDE;
29 void ReceiveData(net::URLRequest* request, int bytes_read);
fileapi_message_filter_unittest.cc 160 int bytes_read = 0; local
166 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
167 EXPECT_EQ(0, bytes_read);
176 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
177 EXPECT_EQ(0, bytes_read);
183 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
184 EXPECT_EQ(0, bytes_read);
213 int bytes_read = 0; local
219 stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read));
220 EXPECT_EQ(kFakeData.size(), static_cast<size_t>(bytes_read));
260 int bytes_read = 0; local
    [all...]
  /external/chromium_org/android_webview/native/
input_stream_unittest.cc 47 int* bytes_read) {
56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read));
70 int bytes_read = 0; local
73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
74 EXPECT_EQ(0, bytes_read);
79 int bytes_read = 0; local
80 DoReadCountedStreamTest(bytes_requested * 2, bytes_requested, &bytes_read);
81 EXPECT_EQ(bytes_requested, bytes_read);
86 int bytes_read = 0; local
87 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read);
93 int bytes_read = 0; local
100 int bytes_read = 0; local
111 int bytes_read = 0; local
118 int bytes_read = 0; local
138 int bytes_read = 0; local
    [all...]
  /external/chromium_org/device/serial/
buffer.h 21 virtual void Done(uint32_t bytes_read) = 0;
22 virtual void DoneWithError(uint32_t bytes_read, int32_t error) = 0;
data_sink_receiver.cc 54 virtual void Done(uint32_t bytes_read) OVERRIDE;
55 virtual void DoneWithError(uint32_t bytes_read, int32_t error) OVERRIDE;
174 void DataSinkReceiver::Done(uint32_t bytes_read) {
175 if (!DoneInternal(bytes_read))
177 client()->ReportBytesSent(bytes_read);
181 void DataSinkReceiver::DoneWithError(uint32_t bytes_read, int32_t error) {
182 if (!DoneInternal(bytes_read))
184 ReportBytesSentAndError(bytes_read, error);
187 bool DataSinkReceiver::DoneInternal(uint32_t bytes_read) {
193 MojoResult result = mojo::EndReadDataRaw(handle_.get(), bytes_read);
    [all...]
data_sink_receiver.h 62 // Reports a successful read of |bytes_read|.
63 void Done(uint32_t bytes_read);
65 // Reports a partially successful or unsuccessful read of |bytes_read|
67 void DoneWithError(uint32_t bytes_read, int32_t error);
70 bool DoneInternal(uint32_t bytes_read);
73 void ReportBytesSentAndError(uint32_t bytes_read, int32_t error);
  /external/chromium_org/base/
async_socket_io_handler_posix.cc 30 int bytes_read = HANDLE_EINTR(read(socket_, pending_buffer_, local
32 DCHECK_GE(bytes_read, 0);
35 read_complete_.Run(bytes_read > 0 ? bytes_read : 0);
52 int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); local
53 if (bytes_read < 0) {
62 read_complete_.Run(bytes_read);
  /external/chromium_org/components/cronet/android/
wrapped_channel_upload_element_reader.cc 46 int bytes_read = delegate_->ReadFromUploadChannel(buf, buf_length); local
47 if (bytes_read < 0)
49 offset_ += bytes_read;
50 return bytes_read;
  /external/chromium_org/third_party/libvpx/source/libvpx/
ivfdec.h 22 size_t *bytes_read, size_t *buffer_size);
  /external/libvpx/libvpx/
ivfdec.h 22 size_t *bytes_read, size_t *buffer_size);
  /external/chromium_org/net/url_request/
url_request_file_dir_job.cc 69 int* bytes_read) {
70 DCHECK(bytes_read);
71 *bytes_read = 0;
76 if (FillReadBuffer(buf->data(), buf_size, bytes_read))
151 int bytes_read; local
153 &bytes_read)) {
160 NotifyReadComplete(bytes_read);
170 int* bytes_read) {
171 DCHECK(bytes_read);
173 *bytes_read = 0
    [all...]
url_request_job.cc 67 bool URLRequestJob::Read(IOBuffer* buf, int buf_size, int *bytes_read) {
72 DCHECK(bytes_read);
76 *bytes_read = 0;
80 rv = ReadRawDataHelper(buf, buf_size, bytes_read);
87 if (ReadFilteredData(bytes_read)) {
93 if (*bytes_read == 0)
99 if (rv && *bytes_read == 0)
379 void URLRequestJob::NotifyReadComplete(int bytes_read) {
391 OnRawReadComplete(bytes_read);
406 FilteredDataRead(bytes_read);
    [all...]
  /external/chromium_org/chrome/utility/image_writer/
image_writer.cc 120 int bytes_read = image_file_.Read(bytes_processed_, buffer.get(), local
123 if (bytes_read > 0) {
126 int bytes_to_write = bytes_read + (kMemoryAlignment - 1) -
127 (bytes_read - 1) % kMemoryAlignment;
132 if (bytes_written < bytes_read) {
137 bytes_processed_ += bytes_read;
141 } else if (bytes_read == 0) {
162 int bytes_read = image_file_.Read(bytes_processed_, image_buffer.get(), local
165 if (bytes_read > 0) {
168 kBurningBlockSize) < bytes_read) {
    [all...]
  /external/e2fsprogs/resize/
resource_track.c 42 track->bytes_read = 0;
47 track->bytes_read = io_start->bytes_read;
104 unsigned long long bytes_read = 0; local
109 bytes_read = delta->bytes_read - track->bytes_read;
112 if (bytes_read == 0 && bytes_written == 0)
118 mbytes(bytes_read),
120 (double)mbytes(bytes_read + bytes_written)
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
byte_array.cc 111 int32_t bytes_read = 0; local
115 while ((bytes_read =
117 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read);
119 index += bytes_read;
120 remaining_length -= bytes_read;
132 int32_t bytes_read = 0; local
135 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) {
136 os->Write(&b, 0, bytes_read);
137 index += bytes_read;
145 int32_t bytes_read = 0 local
165 int32_t bytes_read = 0; local
    [all...]
  /external/chromium_org/ipc/
ipc_channel_reader.cc 23 int bytes_read = 0; local
25 &bytes_read);
31 DCHECK(bytes_read > 0);
32 if (!DispatchInputData(input_buf_, bytes_read))
37 bool ChannelReader::AsyncReadComplete(int bytes_read) {
38 return DispatchInputData(input_buf_, bytes_read);
ipc_channel_reader.h 44 bool AsyncReadComplete(int bytes_read);
62 // read will be placed into |*bytes_read| (which can be less than the
71 virtual ReadState ReadData(char* buffer, int buffer_len, int* bytes_read) = 0;
  /external/chromium_org/mojo/common/test/
test_utils.h 28 // On success, |bytes_read| is updated to the number of bytes read; otherwise it
33 size_t* bytes_read);
36 // and updates |bytes_read| to the number of bytes read (0 if the read would
37 // block); otherwise it returns false and leaves |bytes_read| untouched.
42 size_t* bytes_read);
  /external/chromium_org/content/browser/streams/
stream_url_request_job.cc 50 int bytes_read; local
52 pending_buffer_.get(), pending_buffer_size_, &bytes_read)) {
54 DCHECK_GT(bytes_read, 0);
59 bytes_read = 0;
76 total_bytes_read_ += bytes_read;
77 NotifyReadComplete(bytes_read);
96 int* bytes_read) {
101 DCHECK(bytes_read);
108 *bytes_read = 0;
113 switch (stream_->ReadRawData(buf, to_read, bytes_read)) {
    [all...]
  /development/host/windows/usb/api/
adb_endpoint_object.cpp 52 ULONG* bytes_read,
58 bytes_read,
78 ULONG* bytes_read,
83 bytes_read,
  /external/chromium_org/android_webview/browser/
input_stream.h 37 // Reads at most |length| bytes into |dest|. Sets |bytes_read| to the total
43 virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) = 0;
  /external/chromium_org/mojo/services/public/cpp/network/
web_socket_read_queue.cc 37 uint32_t bytes_read = op->num_bytes_; local
39 handle_, &buffer, &bytes_read, MOJO_READ_DATA_FLAG_ALL_OR_NONE);
41 EndReadDataRaw(handle_, bytes_read);
53 EndReadDataRaw(handle, bytes_read);
  /external/chromium_org/tools/android/forwarder2/
command.cc 50 int bytes_read = socket->ReadNumBytes(command_buffer, kCommandStringSize); local
51 if (bytes_read != kCommandStringSize) {
52 if (bytes_read < 0)
54 else if (!bytes_read)
  /external/chromium_org/chrome/browser/
crash_upload_list_win.cc 21 DWORD bytes_read; local
29 &bytes_read,
35 while (record_offset < bytes_read) {
36 DCHECK(record_offset + sizeof(EVENTLOGRECORD) <= bytes_read);
38 DCHECK(record_offset + record->Length <= bytes_read);

Completed in 4682 milliseconds

1 2 3 4 5 6 7 8 91011>>