HomeSort by relevance Sort by last modified time
    Searched full:bytes_to_read (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /external/chromium_org/ppapi/native_client/src/trusted/plugin/
file_utils.cc 35 size_t bytes_to_read = static_cast<size_t>(stat_buf.st_size); local
36 if (bytes_to_read > max_size_to_read - 1) {
48 nacl::scoped_array<char> buffer(new char[bytes_to_read + 1]);
55 while (bytes_to_read > 0) {
58 bytes_to_read,
60 if (bytes_this_read < bytes_to_read && (feof(input_file) ||
66 bytes_to_read -= bytes_this_read;
  /development/host/windows/usb/api/
adb_endpoint_object.cpp 51 ULONG bytes_to_read,
57 bytes_to_read,
77 ULONG bytes_to_read,
82 bytes_to_read,
  /external/chromium_org/android_webview/browser/net/
android_stream_reader_url_request_job_unittest.cc 251 const int bytes_to_read = bytes_available - offset; local
258 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
259 .WillOnce(Return(bytes_to_read/2));
260 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
261 .WillOnce(Return(bytes_to_read/2));
262 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
274 EXPECT_EQ(bytes_to_read, url_request_delegate_.bytes_received());
284 const int bytes_to_read = bytes_available - offset; local
291 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
293 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read)))
    [all...]
  /external/chromium_org/ppapi/proxy/
tcp_socket_private_resource.cc 80 int32_t bytes_to_read,
82 return ReadImpl(buffer, bytes_to_read, callback);
tcp_socket_resource.cc 93 int32_t bytes_to_read,
95 return ReadImpl(buffer, bytes_to_read, callback);
file_io_resource.cc 66 int32_t bytes_to_read)
69 bytes_to_read_(bytes_to_read) {
212 int32_t bytes_to_read,
222 return ReadValidated(offset, bytes_to_read, output_adapter, callback);
339 int32_t bytes_to_read,
342 if (bytes_to_read < 0)
349 bytes_to_read = std::min(bytes_to_read, kMaxReadWriteSize);
352 array_output.GetDataBuffer(array_output.user_data, bytes_to_read, 1));
361 file_handle_->raw_handle(), offset, buffer, bytes_to_read);
    [all...]
tcp_socket_private_resource.h 52 int32_t bytes_to_read,
tcp_socket_resource.h 40 int32_t bytes_to_read,
  /external/chromium/net/tools/flip_server/
ring_buffer.cc 154 int bytes_to_read = size;
156 if (bytes_used < bytes_to_read) {
157 bytes_to_read = bytes_used;
159 char* end = bytes + bytes_to_read;
169 this->bytes_used_ -= bytes_to_read;
170 return bytes_to_read;
  /external/chromium_org/net/tools/flip_server/
ring_buffer.cc 125 int bytes_to_read = size;
127 if (bytes_used < bytes_to_read) {
128 bytes_to_read = bytes_used;
130 char* end = bytes + bytes_to_read;
140 this->bytes_used_ -= bytes_to_read;
141 return bytes_to_read;
  /external/chromium_org/chrome/app/
image_pre_reader_win.cc 53 // 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) {
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 == 0
    [all...]
  /external/chromium/net/url_request/
url_request_job_tracker_unittest.cc 88 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;
  /art/runtime/
zip_archive.cc 134 size_t bytes_to_read = (count > kBufSize) ? kBufSize : count; local
135 ssize_t actual = TEMP_FAILURE_RETRY(read(in, &buf[0], bytes_to_read));
136 if (actual != static_cast<ssize_t>(bytes_to_read)) {
140 memcpy(dst, &buf[0], bytes_to_read);
141 dst += bytes_to_read;
142 count -= bytes_to_read;
202 size_t bytes_to_read = (remaining > kBufSize) ? kBufSize : remaining; local
204 ssize_t actual = TEMP_FAILURE_RETRY(read(in, read_buf.get(), bytes_to_read));
205 if (actual != static_cast<ssize_t>(bytes_to_read)) {
206 LOG(WARNING) << "Zip: inflate read failed (" << actual << " vs " << bytes_to_read << ")"; local
    [all...]
  /external/chromium_org/chrome_frame/
plugin_url_request.h 76 void ReadUrlRequest(int request_id, int bytes_to_read) {
77 ReadRequest(request_id, bytes_to_read);
99 virtual void ReadRequest(int request_id, int bytes_to_read) = 0;
  /external/chromium_org/ppapi/cpp/
tcp_socket.cc 111 int32_t bytes_to_read,
115 pp_resource(), buffer, bytes_to_read,
120 pp_resource(), buffer, bytes_to_read,
url_loader.cc 82 int32_t bytes_to_read,
87 pp_resource(), buffer, bytes_to_read, cc.pp_completion_callback());
  /external/chromium_org/base/files/
file_util_proxy.cc 137 explicit ReadHelper(int bytes_to_read)
138 : buffer_(new char[bytes_to_read]),
139 bytes_to_read_(bytes_to_read),
305 int bytes_to_read,
307 if (bytes_to_read < 0) {
310 ReadHelper* helper = new ReadHelper(bytes_to_read);
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
font_input_stream.cc 83 int32_t bytes_to_read = local
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read);
  /external/sfntly/cpp/src/sfntly/data/
font_input_stream.cc 83 int32_t bytes_to_read = local
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
mount_node_http.cc 488 int bytes_to_read = attr.offs - read_start; local
490 error = ReadResponseToTemp(loader, bytes_to_read, &bytes_read);
495 if (bytes_read < bytes_to_read) {
587 int bytes_to_read = local
591 loader, buffer_.data(), bytes_to_read, &bytes_read);
615 int bytes_to_read = count; local
616 while (bytes_to_read > 0) {
620 bytes_to_read,
626 *out_bytes = count - bytes_to_read;
633 assert(bytes_read <= bytes_to_read);
    [all...]
  /external/chromium_org/webkit/browser/blob/
blob_url_request_job.cc 315 int bytes_to_read = ComputeBytesToRead(); local
318 if (bytes_to_read == 0) {
326 return ReadBytesItem(item, bytes_to_read);
329 bytes_to_read);
362 int bytes_to_read) {
363 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read);
367 bytes_to_read);
369 AdvanceBytesRead(bytes_to_read);
374 int bytes_to_read) {
375 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read);
    [all...]
  /external/chromium_org/base/
sync_socket_posix.cc 167 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/device/media_transfer_protocol/
media_transfer_protocol_daemon_client.h 124 // |bytes_to_read| cannot exceed 1 MiB.
128 uint32 bytes_to_read,
137 // |bytes_to_read| cannot exceed 1 MiB.
141 uint32 bytes_to_read,
  /external/chromium_org/ppapi/cpp/private/
tcp_socket_private.cc 182 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,
tcp_socket_private.h 43 int32_t bytes_to_read,

Completed in 1493 milliseconds

1 2 3 4