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

12

/external/chromium_org/ppapi/cpp/
H A Durl_loader.cc82 int32_t bytes_to_read,
87 pp_resource(), buffer, bytes_to_read, cc.pp_completion_callback());
81 ReadResponseBody(void* buffer, int32_t bytes_to_read, const CompletionCallback& cc) argument
H A Dfile_io.cc92 int32_t bytes_to_read,
96 offset, buffer, bytes_to_read, cc.pp_completion_callback());
99 offset, buffer, bytes_to_read, cc.pp_completion_callback());
90 Read(int64_t offset, char* buffer, int32_t bytes_to_read, const CompletionCallback& cc) argument
H A Dtcp_socket.cc111 int32_t bytes_to_read,
115 pp_resource(), buffer, bytes_to_read,
120 pp_resource(), buffer, bytes_to_read,
110 Read(char* buffer, int32_t bytes_to_read, const CompletionCallback& callback) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_url_loader_thunk.cc92 int32_t bytes_to_read,
99 bytes_to_read,
90 ReadResponseBody(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback) argument
H A Dppb_file_io_thunk.cc73 int32_t bytes_to_read,
81 bytes_to_read,
70 Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback) argument
H A Dppb_tcp_socket_private_thunk.cc98 int32_t bytes_to_read,
103 return enter.SetResult(enter.object()->Read(buffer, bytes_to_read,
96 Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, PP_CompletionCallback callback) argument
H A Dppb_tcp_socket_thunk.cc82 int32_t bytes_to_read,
89 bytes_to_read,
80 Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback) argument
/external/chromium_org/base/
H A Dsync_socket_posix.cc167 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); local
170 if (!bytes_to_read)
174 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read);
176 if (bytes_received != bytes_to_read)
/external/chromium_org/chrome/browser/media_galleries/linux/
H A Dmtp_device_task_helper.cc228 uint32 bytes_to_read = std::min( local
236 bytes_to_read,
/external/chromium_org/net/quic/
H A Dquic_stream_sequencer.cc168 int bytes_to_read = min(iov[iov_index].iov_len - iov_offset, local
173 it->second.data() + frame_offset, bytes_to_read);
174 frame_offset += bytes_to_read;
175 iov_offset += bytes_to_read;
H A Dquic_data_stream.cc71 size_t bytes_to_read = min(iov[iov_index].iov_len, local
75 decompressed_headers_.data() + bytes_consumed, bytes_to_read);
76 bytes_consumed += bytes_to_read;
/external/chromium_org/ppapi/cpp/private/
H A Dtcp_socket_private.cc182 int32_t bytes_to_read,
186 pp_resource(), buffer, bytes_to_read,
191 pp_resource(), buffer, bytes_to_read,
196 pp_resource(), buffer, bytes_to_read,
181 Read(char* buffer, int32_t bytes_to_read, const CompletionCallback& callback) argument
/external/chromium_org/ppapi/proxy/
H A Dtcp_socket_private_resource.cc80 int32_t bytes_to_read,
82 return ReadImpl(buffer, bytes_to_read, callback);
78 Read( char* buffer, int32_t bytes_to_read, scoped_refptr<TrackedCallback> callback) argument
H A Dtcp_socket_resource.cc93 int32_t bytes_to_read,
95 return ReadImpl(buffer, bytes_to_read, callback);
92 Read(char* buffer, int32_t bytes_to_read, scoped_refptr<TrackedCallback> callback) argument
/external/chromium_org/remoting/host/linux/
H A Daudio_pipe_reader.cc167 int64 bytes_to_read = stream_position_bytes - last_capture_position_; local
172 data.resize(pos + bytes_to_read);
201 // to read |bytes_to_read| bytes, but in case it's misbehaving we need to make
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dfont_input_stream.cc83 int32_t bytes_to_read = local
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read);
/external/sfntly/cpp/src/sfntly/data/
H A Dfont_input_stream.cc83 int32_t bytes_to_read = local
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read);
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job_unittest.cc315 const int bytes_to_read = bytes_available - offset; local
322 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
323 .WillOnce(Return(bytes_to_read/2));
324 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
325 .WillOnce(Return(bytes_to_read/2));
326 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
338 EXPECT_EQ(bytes_to_read, url_request_delegate_.bytes_received());
348 const int bytes_to_read = bytes_available - offset; local
355 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
357 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
[all...]
/external/chromium_org/base/files/
H A Dfile_proxy.cc176 ReadHelper(FileProxy* proxy, File file, int bytes_to_read) argument
178 buffer_(new char[bytes_to_read]),
179 bytes_to_read_(bytes_to_read),
300 int bytes_to_read,
303 if (bytes_to_read < 0)
306 ReadHelper* helper = new ReadHelper(this, file_.Pass(), bytes_to_read);
299 Read(int64 offset, int bytes_to_read, const ReadCallback& callback) argument
/external/chromium_org/chrome/app/
H A Dimage_pre_reader_win.cc53 // A helper function to read the next |bytes_to_read| bytes from the file
55 bool ReadNextBytes(HANDLE file_handle, void* buffer, size_t bytes_to_read) { argument
58 DCHECK(bytes_to_read > 0);
61 return bytes_to_read <= std::numeric_limits<DWORD>::max() &&
64 static_cast<DWORD>(bytes_to_read),
67 bytes_read == bytes_to_read;
86 size_t bytes_to_read = desired_length - current_length;
90 bytes_to_read);
139 size_t bytes_to_read = GetPercentageOfSectionLength(section, percentage); local
140 if (bytes_to_read
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddrive_file_stream_reader.cc73 size_t bytes_to_read = std::min( local
75 std::memmove(buffer->data() + offset, chunk.data(), bytes_to_read);
76 offset += bytes_to_read;
77 if (bytes_to_read < chunk.size()) {
81 (*pending_data)[index]->erase(0, bytes_to_read);
/external/chromium_org/ipc/
H A Dipc_channel_nacl.cc322 size_t bytes_to_read = buffer_len - *bytes_read; local
323 if (vec->size() <= bytes_to_read) {
333 std::copy(vec->begin(), vec->begin() + bytes_to_read,
335 vec->erase(vec->begin(), vec->begin() + bytes_to_read);
336 *bytes_read += bytes_to_read;
/external/chromium_org/mojo/system/
H A Draw_channel_posix.cc180 size_t bytes_to_read = 0; local
181 read_buffer()->GetBuffer(&buffer, &bytes_to_read);
187 bytes_to_read,
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
H A Dfile_io.cc236 int32_t bytes_to_read = info.size; local
237 while (bytes_to_read > 0) {
244 bytes_to_read -= bytes_read;
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_pepper_interface_url_loader.cc205 size_t bytes_to_read = std::min(count, static_cast<size_t>(max_read_count)); local
211 size_t bytes_left = bytes_to_read;
235 memcpy(buffer, &body_.data()[offset], bytes_to_read);
238 return bytes_to_read;
414 int32_t bytes_to_read,
430 bytes_to_read = std::min<int32_t>(bytes_to_read, server_max_read_size);
433 buffer, bytes_to_read, loader_resource->read_offset);

Completed in 716 milliseconds

12