Lines Matching defs:fileName
80 bool Extractor::HasEntry(const std::string &fileName) const
86 return zipFile_.HasEntry(fileName);
100 bool Extractor::ExtractByName(const std::string &fileName, std::ostream &dest) const
105 if (!zipFile_.ExtractFile(fileName, dest)) {
111 bool Extractor::ExtractFile(const std::string &fileName, const std::string &targetPath) const
121 if ((!ExtractByName(fileName, fileStream)) || (!fileStream.good())) {
138 std::unique_ptr<FileMapper> Extractor::GetData(const std::string &fileName, bool) const
140 std::string relativePath = GetRelativePath(fileName);
144 std::shared_ptr<FileMapper> Extractor::GetSafeData(const std::string &fileName)
146 std::string relativePath = GetRelativePath(fileName);
154 std::unique_ptr<FileMapper> Extractor::GetMmapData(const std::string &fileName)
156 std::string relativePath = GetRelativePath(fileName);
169 bool Extractor::ExtractToBufByName(const std::string &fileName, std::unique_ptr<uint8_t[]> &dataPtr,
172 std::string relativePath = GetRelativePath(fileName);
176 bool Extractor::GetFileInfo(const std::string &fileName, FileInfo &fileInfo) const
178 std::string relativePath = GetRelativePath(fileName);
190 fileInfo.fileName = fileName;
215 bool Extractor::IsHapCompress(const std::string &fileName) const
217 std::string relativePath = GetRelativePath(fileName);