Lines Matching defs:ZipEntry
32 struct ZipEntry;
34 using ZipEntryMap = std::unordered_map<std::string, ZipEntry>;
141 struct ZipEntry {
142 ZipEntry() = default;
143 explicit ZipEntry(const CentralDirEntry ¢ralEntry);
144 ~ZipEntry() = default; // for CodeDEX warning
191 * @return Returns true if the ZipEntry is successfully finded; returns false otherwise.
202 * @param resultEntry Indicates the obtained ZipEntry object.
203 * @return Returns true if the ZipEntry is successfully finded; returns false otherwise.
205 bool GetEntry(const std::string &entryName, ZipEntry &resultEntry) const;
227 bool GetDataOffsetRelative(const ZipEntry &zipEntry, ZipPos &offset, uint32_t &length) const;
259 * @param zipEntry Indicates the ZipEntry object.
263 ZipPos GetEntryDataOffset(const ZipEntry &zipEntry, const uint16_t extraSize) const;
266 * @param zipEntry Indicates the ZipEntry object.
270 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
273 * @param zipEntry Indicates the ZipEntry object.
277 bool CheckCoherencyLocalHeader(const ZipEntry &zipEntry, uint16_t &extraSize) const;
279 * @brief Unzip ZipEntry object to ostream.
280 * @param zipEntry Indicates the ZipEntry object.
285 bool UnzipWithStore(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest) const;
287 * @brief Unzip ZipEntry object to ostream.
288 * @param zipEntry Indicates the ZipEntry object.
293 bool UnzipWithInflated(const ZipEntry &zipEntry, const uint16_t extraSize, std::ostream &dest) const;
296 * @param zipEntry Indicates the ZipEntry object.
300 size_t GetEntryStart(const ZipEntry &zipEntry, const uint16_t extraSize) const;
316 bool UnzipWithInflatedFromMMap(const ZipEntry &zipEntry, const uint16_t extraSize,