HomeSort by relevance Sort by last modified time
    Searched refs:bytes_to_read (Results 1 - 25 of 82) 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,
adb_endpoint_object.h 116 @param[in] bytes_to_read Number of bytes to be read.
128 ULONG bytes_to_read,
156 @param[in] bytes_to_read Number of bytes to be read.
165 ULONG 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/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 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/ppapi/cpp/
url_loader.h 128 /// @param[in] bytes_to_read The number of bytes to read.
137 int32_t bytes_to_read,
tcp_socket.h 112 /// must be at least as large as <code>bytes_to_read</code>.
113 /// @param[in] bytes_to_read The number of bytes to read.
121 int32_t bytes_to_read,
tcp_socket.cc 80 int32_t bytes_to_read,
84 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/ppapi/thunk/
ppb_tcp_socket_api.h 27 int32_t bytes_to_read,
ppb_tcp_socket_private_api.h 37 int32_t bytes_to_read,
ppb_url_loader_api.h 42 int32_t bytes_to_read,
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
mount_node_http.cc 380 int bytes_to_read = MAX_READ_BUFFER_SIZE; local
384 error = DownloadToBuffer(loader, buf, bytes_to_read, &bytes_read);
390 if (bytes_read < bytes_to_read) {
396 cached_data_.resize(total_bytes_read + bytes_to_read);
491 size_t bytes_to_read = offs - read_start; local
492 if (buffer_.size() < bytes_to_read)
493 buffer_.resize(std::min(bytes_to_read, MAX_READ_BUFFER_SIZE));
495 while (bytes_to_read > 0) {
502 bytes_to_read -= bytes_read;
519 int bytes_to_read = count local
    [all...]
  /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/c/
ppb_tcp_socket.h 149 * must be at least as large as <code>bytes_to_read</code>.
150 * @param[in] bytes_to_read The number of bytes to read.
160 int32_t bytes_to_read,
ppb_url_loader.h 172 * @param[in] bytes_to_read The number of bytes to read.
183 int32_t bytes_to_read,
  /external/chromium_org/ppapi/cpp/private/
tcp_socket_private.h 43 int32_t bytes_to_read,
  /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...]
blob_url_request_job.h 78 bool ReadBytesItem(const BlobData::Item& item, int bytes_to_read);
79 bool ReadFileItem(FileStreamReader* reader, int bytes_to_read);
  /external/chromium_org/ppapi/shared_impl/private/
tcp_socket_private_impl.cc 72 int32_t bytes_to_read,
74 return ReadImpl(buffer, bytes_to_read, callback);
  /external/chromium_org/ppapi/proxy/
ppb_tcp_socket_proxy.cc 48 int32_t bytes_to_read,
67 virtual void SendRead(int32_t bytes_to_read) OVERRIDE;
132 int32_t bytes_to_read,
134 return ReadImpl(buffer, bytes_to_read, callback);
170 void TCPSocket::SendRead(int32_t bytes_to_read) {
171 SendToBrowser(new PpapiHostMsg_PPBTCPSocket_Read(socket_id_, bytes_to_read));
file_io_resource.cc 60 int32_t bytes_to_read)
63 bytes_to_read_(bytes_to_read) {
182 int32_t bytes_to_read,
192 return ReadValidated(offset, bytes_to_read, output_adapter, callback);
312 int32_t bytes_to_read,
315 if (bytes_to_read < 0)
322 bytes_to_read = std::min(bytes_to_read, kMaxReadSize);
324 new ReadOp(file_handle_, offset, bytes_to_read));
  /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...]

Completed in 1811 milliseconds

1 2 3 4