Home
last modified time | relevance | path

Searched refs:ZipEntry (Results 1 - 11 of 11) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A 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
181 * @return Returns true if the ZipEntry is successfully finded; returns false otherwise.
190 * @param resultEntry Indicates the obtained ZipEntry object.
191 * @return Returns true if the ZipEntry is successfully finded; returns false otherwise.
193 bool GetEntry(const std::string &entryName, ZipEntry
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A 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;
161 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
162 bool CheckCoherencyLocalHeader(const ZipEntry
[all...]
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dzip_file.h33 struct ZipEntry;
35 using ZipEntryMap = std::unordered_map<std::string, ZipEntry>;
142 struct ZipEntry { struct
143 ZipEntry() = default;
144 explicit ZipEntry(const CentralDirEntry &centralEntry);
145 ~ZipEntry() = default; // for CodeDEX warning
193 * @return Returns true if the ZipEntry is successfully finded; returns false otherwise.
204 * @param resultEntry Indicates the obtained ZipEntry object.
205 * @return Returns true if the ZipEntry is successfully finded; returns false otherwise.
207 bool GetEntry(const std::string &entryName, ZipEntry
[all...]
/foundation/ability/ability_base/test/unittest/extractor/
H A Dextractor_test.cpp210 extractor->zipFile_.entriesMap_.emplace("a/b/c.txt", ZipEntry()); in HWTEST_F()
211 extractor->zipFile_.entriesMap_.emplace("a/c.txt", ZipEntry()); in HWTEST_F()
212 extractor->zipFile_.entriesMap_.emplace("a/b.txt", ZipEntry()); in HWTEST_F()
213 extractor->zipFile_.entriesMap_.emplace("a.txt", ZipEntry()); in HWTEST_F()
214 extractor->zipFile_.entriesMap_.emplace("b.txt", ZipEntry()); in HWTEST_F()
215 extractor->zipFile_.entriesMap_.emplace("b/c.txt", ZipEntry()); in HWTEST_F()
216 extractor->zipFile_.entriesMap_.emplace("b/c/", ZipEntry()); in HWTEST_F()
217 extractor->zipFile_.entriesMap_.emplace("c", ZipEntry()); in HWTEST_F()
267 extractor->zipFile_.entriesMap_.emplace("a/b/c.txt", ZipEntry()); in HWTEST_F()
268 extractor->zipFile_.entriesMap_.emplace("a/c.txt", ZipEntry()); in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dzip_file.cpp40 ZipEntry::ZipEntry(const CentralDirEntry &centralEntry) in ZipEntry() function in OHOS::AppExecFwk::ZipEntry
126 APP_LOGE("parse entry(%{public}d) read ZipEntry failed, error: %{public}d", i, errno); in ParseAllEntries()
148 ZipEntry currentEntry(directoryEntry); in ParseAllEntries()
274 bool ZipFile::GetEntry(const std::string &entryName, ZipEntry &resultEntry) const in GetEntry()
292 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc()
336 bool ZipFile::CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const in CheckCoherencyLocalHeader()
394 bool ZipFile::SeekToEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const in SeekToEntryStart()
416 bool ZipFile::UnzipWithStore(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest) const in UnzipWithStore()
493 bool ZipFile::UnzipWithInflated(const ZipEntry
[all...]
H A Dbase_extractor.cpp46 ZipEntry zipEntry; in Init()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dzip_file.cpp50 ZipEntry::ZipEntry(const CentralDirEntry &centralEntry) in ZipEntry() function in OHOS::ZipEntry
129 HILOG_ERROR(HILOG_MODULE_APP, "parse entry(%{public}d) read ZipEntry failed, error: %{public}s", in ParseAllEntries()
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) const in UnzipWithStore()
476 bool ZipFile::UnzipWithInflated(const ZipEntry
[all...]
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file.cpp101 ZipEntry::ZipEntry(const CentralDirEntry &centralEntry) in ZipEntry() function in OHOS::AbilityBase::ZipEntry
186 ZipEntry currentEntry(directoryEntry); in ParseOneEntry()
595 bool ZipFile::GetEntry(const std::string &entryName, ZipEntry &resultEntry) const in GetEntry()
610 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc()
649 bool ZipFile::CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const in CheckCoherencyLocalHeader()
696 size_t ZipFile::GetEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const in GetEntryStart()
737 ZipPos ZipFile::GetEntryDataOffset(const ZipEntry &zipEntry, const uint16_t extraSize) const in GetEntryDataOffset()
748 bool ZipFile::GetDataOffsetRelative(const ZipEntry &zipEntry, ZipPos &offset, uint32_t &length) const in GetDataOffsetRelative()
764 ZipEntry zipEntr in ExtractFileFromMMap()
[all...]
H A Dextractor.cpp196 ZipEntry zipEntry; in GetFileInfo()
240 ZipEntry zipEntry; in IsHapCompress()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/
H A Dbms_bundle_quick_fix_test.cpp5024 ZipEntry zipEntry; in HWTEST_F()
5045 ZipEntry zipEntry; in HWTEST_F()
5066 ZipEntry zipEntry; in HWTEST_F()
5087 ZipEntry zipEntry; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp2716 ZipEntry zipEntry; in HWTEST_F()
2731 ZipEntry zipEntry; in HWTEST_F()
2774 ZipEntry resultEntry; in HWTEST_F()
2846 ZipEntry zipEntry; in HWTEST_F()
2861 ZipEntry zipEntry; in HWTEST_F()

Completed in 26 milliseconds