Home
last modified time | relevance | path

Searched refs:in_fd_ (Results 1 – 1 of 1) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dmake_cow_from_ab_ota.cpp100 unique_fd in_fd_; member in android::snapshot::PayloadConverter
360 if (lseek(in_fd_.get(), payload_offset_ + op.data_offset(), SEEK_SET) < 0) { in ProcessDiff()
364 if (!android::base::ReadFully(in_fd_, patch.get(), op.data_length())) { in ProcessDiff()
526 if (lseek(in_fd_.get(), offs, SEEK_SET) < 0) { in ProcessReplace()
530 if (!android::base::ReadFully(in_fd_, buffer.get(), buffer_size)) { in ProcessReplace()
613 in_fd_.reset(open(in_file_.c_str(), O_RDONLY)); in OpenPayload()
614 if (in_fd_ < 0) { in OpenPayload()
620 if (!android::base::ReadFully(in_fd_, magic, sizeof(magic))) { in OpenPayload()
632 if (!android::base::ReadFully(in_fd_, &version, sizeof(version))) { in OpenPayload()
642 if (!android::base::ReadFully(in_fd_, &manifest_size, sizeof(manifest_size))) { in OpenPayload()
[all …]