Searched refs:bytes_to_read (Results 1 – 10 of 10) sorted by relevance
/system/update_engine/payload_consumer/ |
D | extent_reader.cc | 76 uint64_t bytes_to_read = in Read() local 83 bytes_to_read, in Read() 87 static_cast<ssize_t>(bytes_to_read)); in Read() 89 bytes_read += bytes_to_read; in Read() 90 cur_extent_bytes_read_ += bytes_to_read; in Read() 91 offset_ += bytes_to_read; in Read()
|
D | filesystem_verifier_action.cc | 163 size_t bytes_to_read = in ScheduleRead() local 165 if (!bytes_to_read) { in ScheduleRead() 172 bytes_to_read, in ScheduleRead()
|
/system/update_engine/common/ |
D | file_fetcher.cc | 107 size_t bytes_to_read = buffer_.size(); in ScheduleRead() local 109 bytes_to_read = std::min(static_cast<uint64_t>(bytes_to_read), in ScheduleRead() 113 if (!bytes_to_read) { in ScheduleRead() 120 bytes_to_read, in ScheduleRead()
|
D | hash_calculator.cc | 56 off_t bytes_to_read = buffer.size(); in UpdateFile() local 57 if (length >= 0 && bytes_to_read > length - bytes_processed) { in UpdateFile() 58 bytes_to_read = length - bytes_processed; in UpdateFile() 60 ssize_t rc = HANDLE_EINTR(read(fd, buffer.data(), bytes_to_read)); in UpdateFile()
|
D | utils.cc | 330 off_t bytes_to_read = sizeof(buf); in Read() local 331 if (size > 0 && bytes_to_read > size) { in Read() 332 bytes_to_read = size; in Read() 334 size_t nbytes = fread(buf, 1, bytes_to_read, fp); in Read()
|
/system/core/fastboot/device/ |
D | usb_client.cpp | 257 auto bytes_to_read = std::min(len - bytes_read_total, kFbFfsNumBufs * kFbFfsBufSize); in Read() local 259 handle_->read(handle_.get(), char_data, bytes_to_read, true /* allow_partial */); in Read() 265 if (static_cast<size_t>(bytes_read_now) < bytes_to_read) { in Read()
|
/system/extras/simpleperf/ |
D | record_file_reader.cpp | 255 size_t bytes_to_read = header.size - Record::header_size(); in ReadRecord() local 256 buf.resize(cur_size + bytes_to_read); in ReadRecord() 257 if (!Read(&buf[cur_size], bytes_to_read)) { in ReadRecord() 260 cur_size += bytes_to_read; in ReadRecord()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 97 size_t bytes_to_read = std::min(kBufferSize, data_end - offset); in VerifyVerityConfig() local 99 utils::ReadFileChunk(part.path, offset, bytes_to_read, &buffer)); in VerifyVerityConfig()
|
/system/core/libunwindstack/ |
D | DwarfOp.cpp | 1627 AddressType bytes_to_read = OperandAt(0); in op_deref_size() local 1628 if (bytes_to_read > sizeof(AddressType) || bytes_to_read == 0) { in op_deref_size() 1635 if (!regular_memory()->ReadFully(addr, &value, bytes_to_read)) { in op_deref_size()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid.cc | 1311 uint32_t bytes_to_read = 0; in GapCallback() local 1312 GAP_GetRxQueueCnt(gap_handle, &bytes_to_read); in GapCallback() 1313 std::vector<uint8_t> buffer(bytes_to_read); in GapCallback()
|