HomeSort by relevance Sort by last modified time
    Searched refs:bytes_to_read (Results 1 - 25 of 85) 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 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/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 132 /// must be at least as large as <code>bytes_to_read</code>.
133 /// @param[in] bytes_to_read The number of bytes to read.
141 int32_t 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/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/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/c/
ppb_url_loader.h 172 * @param[in] bytes_to_read The number of bytes to read.
183 int32_t bytes_to_read,
ppb_tcp_socket.h 174 * must be at least as large as <code>bytes_to_read</code>.
175 * @param[in] bytes_to_read The number of bytes to read.
185 int32_t bytes_to_read,
288 int32_t bytes_to_read,
  /external/chromium_org/ppapi/cpp/private/
tcp_socket_private.h 43 int32_t bytes_to_read,
  /external/chromium_org/ppapi/thunk/
ppb_tcp_socket_api.h 29 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 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/ppapi/proxy/
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.cc 80 int32_t bytes_to_read,
82 return ReadImpl(buffer, bytes_to_read, callback);
  /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/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/ppapi/c/private/
ppb_tcp_socket_private.h 130 * as |bytes_to_read|. May perform a partial read. Returns the number of bytes
133 * This method won't return more than 1 megabyte, so if |bytes_to_read|
139 int32_t bytes_to_read,
195 int32_t bytes_to_read,
228 int32_t bytes_to_read,

Completed in 554 milliseconds

1 2 3 4