/system/update_engine/common/ |
file_fetcher.cc | 107 size_t bytes_to_read = buffer_.size(); local 109 bytes_to_read = std::min(static_cast<uint64_t>(bytes_to_read), 113 if (!bytes_to_read) { 120 bytes_to_read,
|
hash_calculator.cc | 57 off_t bytes_to_read = buffer.size(); local 58 if (length >= 0 && bytes_to_read > length - bytes_processed) { 59 bytes_to_read = length - bytes_processed; 61 ssize_t rc = HANDLE_EINTR(read(fd, buffer.data(), bytes_to_read));
|
utils.cc | 338 off_t bytes_to_read = sizeof(buf); local 339 if (size > 0 && bytes_to_read > size) { 340 bytes_to_read = size; 342 size_t nbytes = fread(buf, 1, bytes_to_read, fp); [all...] |
/system/update_engine/payload_consumer/ |
filesystem_verifier_action.cc | 137 size_t bytes_to_read = std::min(static_cast<int64_t>(buffer_.size()), local 139 if (!bytes_to_read) { 146 bytes_to_read,
|
delta_performer.cc | 1230 ssize_t bytes_to_read = blocks_to_read * block_size_; local 1279 ssize_t bytes_to_read = extent.num_blocks() * block_size_; local [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
font_input_stream.cc | 83 int32_t bytes_to_read = local 86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read);
|
/external/google-benchmark/src/ |
sysinfo.cc | 168 const size_t bytes_to_read = sizeof(line) - 1 - linelen; local 169 CHECK(bytes_to_read > 0); // because the memmove recovered >=1 bytes 170 chars_read = read(fd, line + linelen, bytes_to_read);
|
/external/libchrome/base/ |
sync_socket_posix.cc | 183 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); local 186 if (!bytes_to_read) 190 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); 192 if (bytes_received != bytes_to_read)
|
/external/libcxx/utils/google-benchmark/src/ |
sysinfo.cc | 168 const size_t bytes_to_read = sizeof(line) - 1 - linelen; local 169 CHECK(bytes_to_read > 0); // because the memmove recovered >=1 bytes 170 chars_read = read(fd, line + linelen, bytes_to_read);
|
/external/bsdiff/ |
bspatch.cc | 103 size_t bytes_to_read = std::min(size, buf_size); local 104 if (!ReadBZ2(stream, buf, bytes_to_read)) { 108 if (!WriteAll(file, buf, bytes_to_read)) { 112 size -= bytes_to_read; 411 size_t bytes_to_read = std::min(chunk_size, old_buf.size()); local 412 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) {
|
/external/libmojo/mojo/edk/system/ |
data_pipe_consumer_dispatcher.cc | 167 uint32_t bytes_to_read = std::min(max_num_bytes_to_read, bytes_available_); local 168 if (bytes_to_read == 0) { 182 std::min(options_.capacity_num_bytes - read_offset_, bytes_to_read); 183 uint32_t head_bytes_to_copy = bytes_to_read - tail_bytes_to_copy; 189 *num_bytes = bytes_to_read; 193 read_offset_ = (read_offset_ + bytes_to_read) % options_.capacity_num_bytes; 194 bytes_available_ -= bytes_to_read; 197 NotifyRead(bytes_to_read); 225 uint32_t bytes_to_read = std::min(bytes_available_, local 234 *buffer_num_bytes = bytes_to_read; [all...] |
/system/extras/simpleperf/ |
record_file_reader.cpp | 231 size_t bytes_to_read = header.size - Record::header_size(); local 232 buf.resize(cur_size + bytes_to_read); 233 if (!Read(&buf[cur_size], bytes_to_read)) { 236 cur_size += bytes_to_read;
|
/device/google/marlin/camera/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;
|
/external/libevent/ |
bufferevent_openssl.c | 720 bytes_to_read(struct bufferevent_openssl *bev) function 780 n_to_read = bytes_to_read(bev_ssl); 817 n_to_read = bytes_to_read(bev_ssl); [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
jp2.c | 1157 OPJ_UINT32 bytes_to_read = (OPJ_UINT32)((channel_size[i]+7)>>3); local [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
output.cc | 4958 ssize_t bytes_to_read = s.st_size; local [all...] |