Lines Matching refs:cmdLine
264 static bool runCompare (const CommandLine& cmdLine, std::ostream& dst) in runCompare() argument
270 XE_CHECK(!cmdLine.filenames.empty()); in runCompare()
275 results.resize(cmdLine.filenames.size()); in runCompare()
279 for (int ndx = 0; ndx < (int)cmdLine.filenames.size(); ndx++) in runCompare()
281 …readers.push_back(de::SharedPtr<LogFileReader>(new LogFileReader(results[ndx], cmdLine.filenames[n… in runCompare()
285 for (int ndx = 0; ndx < (int)cmdLine.filenames.size(); ndx++) in runCompare()
290 batchNames.push_back(de::FilePath(cmdLine.filenames[ndx].c_str()).getBaseName()); in runCompare()
302 if (cmdLine.outFormat == OUTPUTFORMAT_CSV) in runCompare()
331 if (cmdLine.outMode == OUTPUTMODE_ALL || !allEqual) in runCompare()
333 if (cmdLine.outFormat == OUTPUTFORMAT_TEXT) in runCompare()
340 else if (cmdLine.outFormat == OUTPUTFORMAT_CSV) in runCompare()
344 …dst << "," << (cmdLine.outValue == OUTPUTVALUE_STATUS_CODE ? getStatusCodeName(iter->statusCode) :… in runCompare()
352 if (cmdLine.outFormat == OUTPUTFORMAT_TEXT) in runCompare()
367 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
384 cmdLine.outFormat = opts.getOption<opt::OutFormat>(); in parseCommandLine()
385 cmdLine.outMode = opts.getOption<opt::OutMode>(); in parseCommandLine()
386 cmdLine.outValue = opts.getOption<opt::OutValue>(); in parseCommandLine()
387 cmdLine.filenames = opts.getArgs(); in parseCommandLine()
394 CommandLine cmdLine; in main() local
396 if (!parseCommandLine(cmdLine, argc, argv)) in main()
401 bool compareOk = runCompare(cmdLine, std::cout); in main()