Lines Matching refs:cmdLine
159 static void mergeTestLogs(const CommandLine &cmdLine) in mergeTestLogs() argument
163 …for (vector<string>::const_iterator filename = cmdLine.srcFilenames.begin(); filename != cmdLine.s… in mergeTestLogs()
165 readLogFile(&batchResult, filename->c_str(), cmdLine.flags); in mergeTestLogs()
167 if (!cmdLine.dstFilename.empty()) in mergeTestLogs()
168 xe::writeBatchResultToFile(batchResult, cmdLine.dstFilename.c_str()); in mergeTestLogs()
180 static bool parseCommandLine(CommandLine &cmdLine, int argc, const char *const *argv) in parseCommandLine() argument
187 cmdLine.srcFilenames.push_back(arg); in parseCommandLine()
190 if (!cmdLine.dstFilename.empty()) in parseCommandLine()
192 cmdLine.dstFilename = arg + 6; in parseCommandLine()
195 cmdLine.flags &= ~FLAG_USE_LAST_INFO; in parseCommandLine()
197 cmdLine.flags |= FLAG_USE_LAST_INFO; in parseCommandLine()
202 if (cmdLine.srcFilenames.empty()) in parseCommandLine()
212 CommandLine cmdLine; in main() local
214 if (!parseCommandLine(cmdLine, argc, argv)) in main()
220 mergeTestLogs(cmdLine); in main()