Home | History | Annotate | Download | only in 7z

Lines Matching refs:db

564     const CArchiveDatabase &db,

571 for (i = 0; i < db.PackSizes.Size(); i++)
572 packedSize += db.PackSizes[i];
580 if (db.Folders.Size() > 0)
583 WritePackInfo(0, db.PackSizes,
584 db.PackCRCsDefined,
585 db.PackCRCs);
587 WriteUnpackInfo(db.Folders);
592 for (i = 0; i < db.Files.Size(); i++)
594 const CFileItem &file = db.Files[i];
603 db.Folders,
604 db.NumUnpackStreamsVector,
611 if (db.Files.IsEmpty())
618 WriteNumber(db.Files.Size());
623 emptyStreamVector.Reserve(db.Files.Size());
625 for (i = 0; i < db.Files.Size(); i++)
626 if (db.Files[i].HasStream)
643 for (i = 0; i < db.Files.Size(); i++)
645 const CFileItem &file = db.Files[i];
651 bool isAnti = db.IsItemAnti(i);
680 for (int i = 0; i < db.Files.Size(); i++)
682 const UString &name = db
696 for (int i = 0; i < db.Files.Size(); i++)
698 const UString &name = db.Files[i].Name;
709 if (headerOptions.WriteCTime) WriteUInt64DefVector(db.CTime, NID::kCTime);
710 if (headerOptions.WriteATime) WriteUInt64DefVector(db.ATime, NID::kATime);
711 if (headerOptions.WriteMTime) WriteUInt64DefVector(db.MTime, NID::kMTime);
712 WriteUInt64DefVector(db.StartPos, NID::kStartPos);
717 boolVector.Reserve(db.Files.Size());
719 for (i = 0; i < db.Files.Size(); i++)
721 bool defined = db.Files[i].AttribDefined;
729 for (i = 0; i < db.Files.Size(); i++)
731 const CFileItem &file = db.Files[i];
744 const CArchiveDatabase &db,
748 if (!db.CheckNumFiles())
754 if (db.IsEmpty())
776 WriteHeader(db, headerOptions, headerOffset);
786 WriteHeader(db, headerOptions, headerOffset);