Home
last modified time | relevance | path

Searched refs:protoBinSuffix (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/merge_abc/src/
H A DmergeProgram.cpp33 bool MergeProgram::EnumerateFilesWindows(const std::string &protoBinPath, const std::string &protoBinSuffix, in EnumerateFilesWindows() argument
47 if (!GetProtoFiles(path.assign(protoBinPath).append("\\").append(fileInfo.name), protoBinSuffix, in EnumerateFilesWindows()
54 if (fileName.substr(fileName.find_last_of(".") + 1).compare(protoBinSuffix) == 0) { in EnumerateFilesWindows()
64 bool MergeProgram::EnumerateFilesUnix(const std::string &protoBinPath, const std::string &protoBinSuffix,
79 if (!GetProtoFiles(subDirName, protoBinSuffix, directoryFiles)) {
85 if (fileName.substr(fileName.find_last_of(".") + 1).compare(protoBinSuffix) == 0) {
95 bool MergeProgram::GetProtoFiles(const std::string &protoBinPath, const std::string &protoBinSuffix, in GetProtoFiles() argument
99 return EnumerateFilesWindows(protoBinPath, protoBinSuffix, directoryFiles); in GetProtoFiles()
101 return EnumerateFilesUnix(protoBinPath, protoBinSuffix, directoryFiles); in GetProtoFiles()
105 bool MergeProgram::AppendProtoFiles(const std::string &filePath, const std::string &protoBinSuffix, in AppendProtoFiles() argument
133 CollectProtoFiles(std::string &input, const std::string &protoBinSuffix, std::vector<std::string> &protoFiles) CollectProtoFiles() argument
[all...]
H A DmergeProgram.h26 static bool EnumerateFilesWindows(const std::string &protoBinPath, const std::string &protoBinSuffix,
29 static bool EnumerateFilesUnix(const std::string &protoBinPath, const std::string &protoBinSuffix,
31 static bool GetProtoFiles(const std::string &protoBinPath, const std::string &protoBinSuffix,
33 static bool AppendProtoFiles(const std::string &filePath, const std::string &protoBinSuffix,
35 static bool CollectProtoFiles(std::string &input, const std::string &protoBinSuffix,
H A Doptions.cpp36 panda::PandArg<std::string> protoBinSuffix("suffix", "", "suffix of proto bin file"); in Parse()
42 argparser_->Add(&protoBinSuffix); in Parse()
62 if (!protoBinSuffix.GetValue().empty()) { in Parse()
63 protoBinSuffix_ = protoBinSuffix.GetValue(); in Parse()
H A Dmain.cpp56 std::string protoBinSuffix = options->protoBinSuffix(); in Run() local
63 if (!MergeProgram::CollectProtoFiles(protoPathInput, protoBinSuffix, protoFiles)) { in Run()
H A Doptions.h38 const std::string &protoBinSuffix() const in protoBinSuffix() function in panda::proto::Options

Completed in 2 milliseconds