Home
last modified time | relevance | path

Searched refs:srcPath (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dextractor.cpp46 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()
Dextractor.h72 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);
Dzip_file.cpp277 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[cur] == FILE_SEPARATOR_CHAR) { in GetChildNames()
321 if (cur >= srcPath.size()) { in GetChildNames()
324 auto next = srcPath.find_first_of(FILE_SEPARATOR_CHAR, cur); in GetChildNames()
325 auto nodeName = srcPath.substr(cur, next - cur); in GetChildNames()
Dfile_path_utils.cpp452 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()
Dzip_file.h196 void GetAllFileList(const std::string &srcPath, std::vector<std::string> &assetList);
197 void GetChildNames(const std::string &srcPath, std::set<std::string> &fileSet);
Dfile_path_utils.h44 std::string GetRelativePath(const std::string& srcPath);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_emitter.cpp2452 std::string srcPath = emitter->GetFileMap()[k2ByteSize]; in EmitDIDebugInfoSection() local
2453 size_t t = srcPath.rfind("/"); in EmitDIDebugInfoSection()
2455 sfile = srcPath.substr(t + 1); in EmitDIDebugInfoSection()
2456 spath = srcPath.substr(0, t); in EmitDIDebugInfoSection()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Demit.cpp3558 std::string srcPath = emitter->GetFileMap()[k2ByteSize]; in EmitDIDebugInfoSection() local
3559 size_t t = srcPath.rfind("/"); in EmitDIDebugInfoSection()
3561 sfile = srcPath.substr(t + 1); in EmitDIDebugInfoSection()
3562 spath = srcPath.substr(0, t); in EmitDIDebugInfoSection()