/external/chromium_org/chrome/app/ |
H A D | 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) { 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/net/tools/flip_server/ |
H A D | 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/c/ |
H A D | ppb_url_loader.h | 172 * @param[in] bytes_to_read The number of bytes to read. 183 int32_t bytes_to_read,
|
H A D | 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,
|
H A D | ppb_file_io.h | 183 * @param[in] bytes_to_read The number of bytes to read from 199 int32_t bytes_to_read, 319 int32_t bytes_to_read,
|
/external/chromium_org/ppapi/cpp/private/ |
H A D | tcp_socket_private.h | 43 int32_t bytes_to_read,
|
/external/chromium_org/ppapi/cpp/ |
H A D | url_loader.h | 128 /// @param[in] bytes_to_read The number of bytes to read. 137 int32_t bytes_to_read,
|
H A D | url_loader.cc | 82 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 D | tcp_socket.cc | 111 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 D | ppb_url_loader_api.h | 42 int32_t bytes_to_read,
|
H A D | ppb_url_loader_thunk.cc | 92 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
|
/external/chromium_org/android_webview/browser/net/ |
H A D | android_stream_reader_url_request_job_unittest.cc | 317 const int bytes_to_read = bytes_available - offset; local 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))) 327 .WillOnce(Return(bytes_to_read/2)); 328 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read))) 340 EXPECT_EQ(bytes_to_read, url_request_delegate_.bytes_received()); 350 const int bytes_to_read = bytes_available - offset; local 357 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read))) 359 EXPECT_CALL(*stream_reader, ReadRawData(NotNull(), Ge(bytes_to_read))) [all...] |
/external/chromium_org/storage/browser/blob/ |
H A D | blob_url_request_job.cc | 321 int bytes_to_read = ComputeBytesToRead(); local 324 if (bytes_to_read == 0) { 332 return ReadBytesItem(item, bytes_to_read); 335 bytes_to_read); 368 int bytes_to_read) { 369 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); 373 bytes_to_read); 375 AdvanceBytesRead(bytes_to_read); 380 int bytes_to_read) { 381 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); 367 ReadBytesItem(const BlobData::Item& item, int bytes_to_read) argument 379 ReadFileItem(FileStreamReader* reader, int bytes_to_read) argument [all...] |
H A D | blob_url_request_job.h | 76 bool ReadBytesItem(const BlobData::Item& item, int bytes_to_read); 77 bool ReadFileItem(FileStreamReader* reader, int bytes_to_read);
|
/external/chromium_org/ppapi/proxy/ |
H A D | tcp_socket_private_resource.cc | 80 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 D | tcp_socket_resource.cc | 93 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
|
H A D | file_io_resource.cc | 64 int32_t bytes_to_read) 67 bytes_to_read_(bytes_to_read) { 240 int32_t bytes_to_read, 250 return ReadValidated(offset, bytes_to_read, output_adapter, callback); 444 int32_t bytes_to_read, 447 if (bytes_to_read < 0) 454 bytes_to_read = std::min(bytes_to_read, kMaxReadWriteSize); 457 array_output.GetDataBuffer(array_output.user_data, bytes_to_read, 1)); 465 result = file_holder_->file()->Read(offset, buffer, bytes_to_read); 62 ReadOp(scoped_refptr<FileHolder> file_holder, int64_t offset, int32_t bytes_to_read) argument 238 Read(int64_t offset, char* buffer, int32_t bytes_to_read, scoped_refptr<TrackedCallback> callback) argument 443 ReadValidated(int64_t offset, int32_t bytes_to_read, const PP_ArrayOutput& array_output, scoped_refptr<TrackedCallback> callback) argument [all...] |
/external/chromium_org/device/serial/ |
H A D | data_sink_unittest.cc | 79 uint32_t bytes_to_read, 81 DCHECK(bytes_to_read <= static_cast<uint32_t>(expected_data.size())); 88 if (bytes_to_read <= read_buffer_->GetSize()) { 90 read_buffer_->DoneWithError(bytes_to_read, error); 92 read_buffer_->Done(bytes_to_read); 96 bytes_to_read -= read_buffer_->GetSize(); 105 data.size() >= bytes_to_read) { 78 ExpectData(const base::StringPiece& expected_data, uint32_t bytes_to_read, int32_t error) argument
|
/external/chromium_org/net/quic/ |
H A D | quic_data_stream.cc | 71 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/c/private/ |
H A D | 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,
|
/external/chromium_org/base/files/ |
H A D | file_proxy.cc | 176 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/ppapi/api/ |
H A D | ppb_url_loader.idl | 173 * @param[in] bytes_to_read The number of bytes to read. 185 [in] int32_t bytes_to_read,
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
H A D | 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/ |
H A D | 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/httpfs/ |
H A D | http_fs_node.cc | 517 int bytes_to_read = attr.offs - read_start; local 519 error = ReadResponseToTemp(loader, bytes_to_read, &bytes_read); 524 if (bytes_read < bytes_to_read) { 630 int bytes_to_read = std::min(bytes_left, buffer_len_); local 633 loader, buffer_, bytes_to_read, &bytes_read); 657 int bytes_to_read = count; local 658 while (bytes_to_read > 0) { 662 bytes_to_read, 668 *out_bytes = count - bytes_to_read; 675 assert(bytes_read <= bytes_to_read); [all...] |