Lines Matching refs:cmdLine
77 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument
79 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram()
108 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument
126 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms()
143 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler() argument
144 : m_cmdLine(cmdLine) in ShaderProgramExtractHandler()
183 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile() argument
185 std::ifstream in (cmdLine.filename.c_str(), std::ifstream::binary|std::ifstream::in); in extractShaderProgramsFromLogFile()
186 ShaderProgramExtractHandler resultHandler (cmdLine); in extractShaderProgramsFromLogFile()
192 throw std::runtime_error(string("Failed to open '") + cmdLine.filename + "'"); in extractShaderProgramsFromLogFile()
213 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
221 if (cmdLine.filename.empty()) in parseCommandLine()
222 cmdLine.filename = arg; in parseCommandLine()
223 else if (cmdLine.dstPath.empty()) in parseCommandLine()
224 cmdLine.dstPath = arg; in parseCommandLine()
232 if (cmdLine.filename.empty()) in parseCommandLine()
242 CommandLine cmdLine; in main() local
244 if (!parseCommandLine(cmdLine, argc, argv)) in main()
250 extractShaderProgramsFromLogFile(cmdLine); in main()