Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dcow_reader.cpp190 off_t offs = lseek(fd_.get(), pos, SEEK_SET); in ParseOps() local
191 if (offs < 0 || pos != static_cast<uint64_t>(offs)) { in ParseOps()
208 off_t offs = lseek(fd_.get(), pos, SEEK_SET); in ParseOps() local
209 if (offs < 0 || pos != static_cast<uint64_t>(offs)) { in ParseOps()
Dcow_writer.cpp446 off_t offs = lseek(fd_.get(), 0, SEEK_CUR); in Finalize() local
447 if (offs < 0) { in Finalize()
451 if (!Truncate(offs)) { in Finalize()
476 off_t offs = lseek(fd_.get(), 0, SEEK_CUR); in GetDataPos() local
477 if (offs < 0) { in GetDataPos()
481 *pos = offs; in GetDataPos()
Dmake_cow_from_ab_ota.cpp525 uint64_t offs = payload_offset_ + op.data_offset(); in ProcessReplace() local
526 if (lseek(in_fd_.get(), offs, SEEK_SET) < 0) { in ProcessReplace()
527 PLOG(ERROR) << "lseek " << offs << " failed"; in ProcessReplace()
531 PLOG(ERROR) << "read " << buffer_size << " bytes from offset " << offs << "failed"; in ProcessReplace()
661 auto offs = lseek(in_fd_, manifest_signature_size, SEEK_CUR); in OpenPayload() local
662 if (offs < 0) { in OpenPayload()
666 payload_offset_ = offs; in OpenPayload()