/external/chromium_org/ppapi/cpp/ |
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 | file_io.cc | 92 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 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_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
|
H A D | ppb_file_io_thunk.cc | 73 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 D | ppb_tcp_socket_private_thunk.cc | 98 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 D | ppb_tcp_socket_thunk.cc | 82 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 D | 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/chrome/browser/media_galleries/linux/ |
H A D | mtp_device_task_helper.cc | 228 uint32 bytes_to_read = std::min( local 236 bytes_to_read,
|
/external/chromium_org/net/quic/ |
H A D | quic_stream_sequencer.cc | 168 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 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/cpp/private/ |
H A D | 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, 181 Read(char* buffer, int32_t bytes_to_read, const CompletionCallback& callback) argument
|
/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
|
/external/chromium_org/remoting/host/linux/ |
H A D | audio_pipe_reader.cc | 167 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 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/android_webview/browser/net/ |
H A D | android_stream_reader_url_request_job_unittest.cc | 315 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 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/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/chrome/browser/chromeos/drive/ |
H A D | drive_file_stream_reader.cc | 73 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 D | ipc_channel_nacl.cc | 322 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 D | raw_channel_posix.cc | 180 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 D | file_io.cc | 236 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 D | fake_pepper_interface_url_loader.cc | 205 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);
|