Home
last modified time | relevance | path

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

/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
Dzip_file.h32 using ZipEntry = struct ZipEntry;
33 using ZipEntryMap = std::map<std::string, ZipEntry>;
126 struct ZipEntry { struct
127 ZipEntry() = default;
128 explicit ZipEntry(const CentralDirEntry &centralEntry);
129 ~ZipEntry() = default;
152 bool GetEntry(const std::string &entryName, ZipEntry &resultEntry) const; argument
161 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
162 bool CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const;
163 … bool UnzipWithStore(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest) const;
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
Dzip_file.h28 struct ZipEntry;
30 using ZipEntryMap = std::map<std::string, ZipEntry>;
137 struct ZipEntry { struct
138 ZipEntry() = default;
139 explicit ZipEntry(const CentralDirEntry &centralEntry);
140 ~ZipEntry() = default; // for CodeDEX warning
193 bool GetEntry(const std::string &entryName, ZipEntry &resultEntry) const;
240 ZipPos GetEntryDataOffset(const ZipEntry &zipEntry, const uint16_t extraSize) const;
247 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
254 bool CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const;
[all …]
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
Dzip_file.h32 struct ZipEntry;
34 using ZipEntryMap = std::unordered_map<std::string, ZipEntry>;
141 struct ZipEntry { struct
142 ZipEntry() = default;
143 explicit ZipEntry(const CentralDirEntry &centralEntry);
144 ~ZipEntry() = default; // for CodeDEX warning
205 bool GetEntry(const std::string &entryName, ZipEntry &resultEntry) const;
229 bool GetDataOffsetRelative(const ZipEntry &zipEntry, ZipPos &offset, uint32_t &length) const;
265 ZipPos GetEntryDataOffset(const ZipEntry &zipEntry, const uint16_t extraSize) const;
272 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
Dzip_file.cpp43 ZipEntry::ZipEntry(const CentralDirEntry &centralEntry) in ZipEntry() function in OHOS::AppExecFwk::ZipEntry
151 ZipEntry currentEntry(directoryEntry); in ParseAllEntries()
277 bool ZipFile::GetEntry(const std::string &entryName, ZipEntry &resultEntry) const in GetEntry()
295 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc()
339 bool ZipFile::CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const in CheckCoherencyLocalHeader()
397 bool ZipFile::SeekToEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const in SeekToEntryStart()
419 bool ZipFile::UnzipWithStore(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest… in UnzipWithStore()
496 bool ZipFile::UnzipWithInflated(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &d… in UnzipWithInflated()
553 ZipPos ZipFile::GetEntryDataOffset(const ZipEntry &zipEntry, const uint16_t extraSize) const in GetEntryDataOffset()
568 ZipEntry zipEntry; in GetDataOffsetRelative()
[all …]
Dbase_extractor.cpp48 ZipEntry zipEntry; in Init()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
Dzip_file.cpp43 ZipEntry::ZipEntry(const CentralDirEntry &centralEntry) in ZipEntry() function in OHOS::AbilityBase::ZipEntry
137 ZipEntry currentEntry(directoryEntry); in ParseOneEntry()
373 bool ZipFile::GetEntry(const std::string &entryName, ZipEntry &resultEntry) const in GetEntry()
389 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc()
428 bool ZipFile::CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const in CheckCoherencyLocalHeader()
475 size_t ZipFile::GetEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const in GetEntryStart()
485 bool ZipFile::UnzipWithStore(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest… in UnzipWithStore()
553 bool ZipFile::UnzipWithInflated(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &d… in UnzipWithInflated()
611 ZipPos ZipFile::GetEntryDataOffset(const ZipEntry &zipEntry, const uint16_t extraSize) const in GetEntryDataOffset()
624 ZipEntry zipEntry; in GetDataOffsetRelative()
[all …]
Dextractor.cpp238 ZipEntry zipEntry; in GetFileInfo()
282 ZipEntry zipEntry; in IsHapCompress()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
Dzip_file.cpp50 ZipEntry::ZipEntry(const CentralDirEntry &centralEntry) in ZipEntry() function in OHOS::ZipEntry
153 ZipEntry currentEntry(directoryEntry); in ParseAllEntries()
245 bool ZipFile::GetEntry(const std::string &entryName, ZipEntry &resultEntry) const in GetEntry()
267 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc()
320 bool ZipFile::CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const in CheckCoherencyLocalHeader()
377 bool ZipFile::SeekToEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const in SeekToEntryStart()
401 bool ZipFile::UnzipWithStore(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest… in UnzipWithStore()
476 bool ZipFile::UnzipWithInflated(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &d… in UnzipWithInflated()
543 ZipEntry zipEntry; in ExtractFile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
Dbms_bundle_installer_test.cpp2638 ZipEntry zipEntry;
2653 ZipEntry zipEntry;