/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
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; 425 int32_t bytes_to_read, 441 bytes_to_read = std::min<int32_t>(bytes_to_read, server_max_read_size); 444 buffer, bytes_to_read, loader_resource->read_offset);
|
fake_pepper_interface_html5_fs.cc | 88 int32_t bytes_to_read) { 92 bytes_to_read = 93 std::max(0, std::min<int32_t>(bytes_to_read, contents_.size() - offset)); 94 memcpy(buffer, contents_.data() + offset, bytes_to_read); 95 return bytes_to_read; 363 int32_t bytes_to_read, 370 if (bytes_to_read < 0) 381 int32_t result = file_io_resource->node->Read(offset, buffer, bytes_to_read);
|
fake_pepper_interface_html5_fs.h | 41 int32_t Read(int64_t offset, char* buffer, int32_t bytes_to_read); 115 int32_t bytes_to_read,
|
/external/chromium_org/ppapi/thunk/ |
ppb_file_io_thunk.cc | 73 int32_t bytes_to_read, 81 bytes_to_read,
|
ppb_tcp_socket_private_thunk.cc | 98 int32_t bytes_to_read, 103 return enter.SetResult(enter.object()->Read(buffer, bytes_to_read,
|
ppb_tcp_socket_thunk.cc | 82 int32_t bytes_to_read, 89 bytes_to_read,
|
ppb_url_loader_thunk.cc | 92 int32_t bytes_to_read, 99 bytes_to_read,
|
/external/chromium_org/storage/browser/blob/ |
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);
|
/development/host/windows/usb/api/ |
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,
|
adb_api.cpp | 393 unsigned long bytes_to_read,
404 bytes_to_read,
443 unsigned long bytes_to_read,
453 adb_object->SyncRead(buffer, bytes_to_read, bytes_read, time_out);
|
/external/chromium_org/base/ |
sync_socket_posix.cc | 180 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); local 183 if (!bytes_to_read) 187 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); 189 if (bytes_received != bytes_to_read)
|
/external/chromium_org/extensions/browser/ |
computed_hashes.cc | 179 size_t bytes_to_read = std::min(contents.size() - offset, block_size); local 182 hash->Update(block_start, bytes_to_read); 190 if (bytes_to_read == 0) 193 offset += bytes_to_read;
|
/external/chromium_org/net/quic/ |
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;
|
/external/chromium_org/ppapi/api/private/ |
ppb_tcp_socket_private.idl | 116 * as |bytes_to_read|. May perform a partial read. Returns the number of bytes 119 * This method won't return more than 1 megabyte, so if |bytes_to_read| 125 [in] int32_t bytes_to_read,
|
/external/chromium_org/ppapi/cpp/ |
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());
|
/external/chromium_org/ppapi/proxy/ |
file_io_resource.h | 49 int32_t bytes_to_read, 134 int32_t bytes_to_read); 186 int32_t bytes_to_read,
|
/external/chromium_org/remoting/host/linux/ |
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/ipc/ |
ipc_channel_nacl.cc | 326 size_t bytes_to_read = buffer_len - *bytes_read; local 327 if (vec->size() <= bytes_to_read) { 337 std::copy(vec->begin(), vec->begin() + bytes_to_read, 339 vec->erase(vec->begin(), vec->begin() + bytes_to_read); 340 *bytes_read += bytes_to_read;
|
/external/chromium_org/ppapi/c/ |
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/base/files/ |
file_proxy.h | 105 // This returns false if |bytes_to_read| is less than zero, or 107 bool Read(int64 offset, int bytes_to_read, const ReadCallback& callback);
|
/external/chromium_org/device/media_transfer_protocol/ |
media_transfer_protocol_daemon_client.h | 132 // |bytes_to_read| cannot exceed 1 MiB. 136 uint32 bytes_to_read,
|
media_transfer_protocol_daemon_client.cc | 157 uint32 bytes_to_read, 160 DCHECK_LE(bytes_to_read, kMaxChunkSize); 166 writer.AppendUint32(bytes_to_read);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
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/content/browser/renderer_host/pepper/ |
pepper_tcp_socket.cc | 166 void PepperTCPSocket::Read(int32 bytes_to_read) { 179 if (bytes_to_read <= 0 || 180 bytes_to_read > ppapi::TCPSocketShared::kMaxReadSize) { 185 read_buffer_ = new net::IOBuffer(bytes_to_read); 188 bytes_to_read,
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
QCameraMjpegDecode.cpp | 622 int bytes_to_read, bytes_read, rc; local 631 bytes_to_read = (length < buf_size) ? length : buf_size; 634 ALOGD("%s: buf_ptr = %p, start_offset = %d, length = %d buf_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read); 635 if (bytes_to_read) 639 memcpy(buf_ptr, (char *)mjpegd->inputMjpegBuffer + start_offset, bytes_to_read); 644 bytes_read = bytes_to_read;
|