Searched refs:srcPath (Results 1 - 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
H A D | extractor.cpp | 46 bool Extractor::GetFileBuffer(const std::string& srcPath, std::ostringstream& dest) in GetFileBuffer() argument 52 if (srcPath.empty()) { in GetFileBuffer() 56 std::string relativePath = GetRelativePath(srcPath); in GetFileBuffer() 64 bool Extractor::GetFileList(const std::string& srcPath, std::vector<std::string>& assetList) in GetFileList() argument 70 if (srcPath.empty()) { in GetFileList() 73 zipFile_.GetAllFileList(srcPath, assetList); in GetFileList() 198 bool Extractor::GetFileList(const std::string &srcPath, std::set<std::string> &fileSet) in GetFileList() argument 204 if (srcPath.empty()) { in GetFileList() 208 zipFile_.GetChildNames(srcPath, fileSet); in GetFileList()
|
H A D | zip_file.cpp | 277 void ZipFile::GetAllFileList(const std::string &srcPath, std::vector<std::string> &assetList) in GetAllFileList() argument 279 if (srcPath.empty()) { in GetAllFileList() 283 auto rootName = srcPath.back() == FILE_SEPARATOR_CHAR ? in GetAllFileList() 284 srcPath.substr(0, srcPath.length() - 1) : srcPath; in GetAllFileList() 309 void ZipFile::GetChildNames(const std::string &srcPath, std::set<std::string> &fileSet) in GetChildNames() argument 311 if (srcPath.empty()) { in GetChildNames() 318 while (cur < srcPath.size() && srcPath[cu in GetChildNames() [all...] |
H A D | extractor.h | 72 bool GetFileBuffer(const std::string& srcPath, std::ostringstream& dest); 73 bool GetFileList(const std::string& srcPath, std::vector<std::string>& assetList); 74 bool GetFileList(const std::string &srcPath, std::set<std::string> &fileSet);
|
H A D | file_path_utils.cpp | 452 std::string GetRelativePath(const std::string& srcPath) in GetRelativePath() argument 454 if (srcPath.empty() || srcPath[0] != '/') { in GetRelativePath() 455 return srcPath; in GetRelativePath() 458 std::string relativePath = std::regex_replace(srcPath, srcPattern, ""); in GetRelativePath()
|
H A D | zip_file.h | 196 void GetAllFileList(const std::string &srcPath, std::vector<std::string> &assetList); 197 void GetChildNames(const std::string &srcPath, std::set<std::string> &fileSet);
|
H A D | file_path_utils.h | 44 std::string GetRelativePath(const std::string& srcPath);
|
/arkcompiler/ets_runtime/ecmascript/extractortool/tests/ |
H A D | zip_file_test.cpp | 84 void GetAllFileList(const std::string &srcPath, std::vector<std::string> &assetList) in GetAllFileList() argument 86 zipFile_.GetAllFileList(srcPath, assetList); in GetAllFileList() 89 void GetChildNames(const std::string &srcPath, std::set<std::string> &fileSet) in GetChildNames() argument 91 zipFile_.GetChildNames(srcPath, fileSet); in GetChildNames()
|
Completed in 4 milliseconds