Lines Matching defs:protoBinSuffix
33 bool MergeProgram::EnumerateFilesWindows(const std::string &protoBinPath, const std::string &protoBinSuffix,
47 if (!GetProtoFiles(path.assign(protoBinPath).append("\\").append(fileInfo.name), protoBinSuffix,
54 if (fileName.substr(fileName.find_last_of(".") + 1).compare(protoBinSuffix) == 0) {
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,
99 return EnumerateFilesWindows(protoBinPath, protoBinSuffix, directoryFiles);
101 return EnumerateFilesUnix(protoBinPath, protoBinSuffix, directoryFiles);
105 bool MergeProgram::AppendProtoFiles(const std::string &filePath, const std::string &protoBinSuffix,
116 if (filePath.substr(filePath.find_last_of(".") + 1).compare(protoBinSuffix) == 0) {
121 if (!GetProtoFiles(fPath, protoBinSuffix, directoryFiles)) {
133 bool MergeProgram::CollectProtoFiles(std::string &input, const std::string &protoBinSuffix,
172 if (!AppendProtoFiles(filePath, protoBinSuffix, protoFiles)) {