Home
last modified time | relevance | path

Searched refs:cmdLine (Results 1 – 25 of 73) sorted by relevance

123

/external/deqp/framework/delibs/deutil/
DdeCommandLine.c119 deCommandLine* cmdLine = (deCommandLine*)deCalloc(sizeof(deCommandLine)); in deCommandLine_parse() local
121 …if (!cmdLine || !(cmdLine->args = (char**)deCalloc(sizeof(char*)*(size_t)CharPtrArray_getNumElemen… in deCommandLine_parse()
123 deFree(cmdLine); in deCommandLine_parse()
129 cmdLine->numArgs = CharPtrArray_getNumElements(args); in deCommandLine_parse()
130 cmdLine->argBuf = buf; in deCommandLine_parse()
132 for (argNdx = 0; argNdx < cmdLine->numArgs; argNdx++) in deCommandLine_parse()
133 cmdLine->args[argNdx] = CharPtrArray_get(args, argNdx); in deCommandLine_parse()
136 return cmdLine; in deCommandLine_parse()
140 void deCommandLine_destroy (deCommandLine* cmdLine) in deCommandLine_destroy() argument
142 deFree(cmdLine->argBuf); in deCommandLine_destroy()
[all …]
DdeCommandLine.h37 deCommandLine* deCommandLine_parse (const char* cmdLine);
38 void deCommandLine_destroy (deCommandLine* cmdLine);
/external/deqp/framework/delibs/decpp/
DdeCommandLine.cpp355 CommandLine cmdLine; in selfTest() local
356 const bool parseOk = parser.parse(0, DE_NULL, &cmdLine, err); in selfTest()
364 CommandLine cmdLine; in selfTest() local
365 const bool parseOk = parser.parse(DE_LENGTH_OF_ARRAY(args), &args[0], &cmdLine, err); in selfTest()
374 CommandLine cmdLine; in selfTest() local
375 const bool parseOk = parser.parse(DE_LENGTH_OF_ARRAY(args), &args[0], &cmdLine, err); in selfTest()
384 CommandLine cmdLine; in selfTest() local
385 const bool parseOk = parser.parse(DE_LENGTH_OF_ARRAY(args), &args[0], &cmdLine, err); in selfTest()
388 DE_TEST_ASSERT(cmdLine.getArgs().size() == DE_LENGTH_OF_ARRAY(args)); in selfTest()
391 DE_TEST_ASSERT(cmdLine.getArgs()[ndx] == args[ndx]); in selfTest()
[all …]
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp141 bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
176 cmdLine.runMode = RUNMODE_START_SERVER; in parseCommandLine()
177 cmdLine.serverBinOrAddress = opts.getOption<opt::StartServer>(); in parseCommandLine()
181 cmdLine.runMode = RUNMODE_CONNECT; in parseCommandLine()
182 cmdLine.serverBinOrAddress = opts.getOption<opt::Host>(); in parseCommandLine()
187 cmdLine.inFile = opts.getOption<opt::ContinueFile>(); in parseCommandLine()
189 if (cmdLine.inFile.empty()) in parseCommandLine()
196 cmdLine.port = opts.getOption<opt::Port>(); in parseCommandLine()
197 cmdLine.caseListDir = opts.getOption<opt::CaseListDir>(); in parseCommandLine()
198 cmdLine.testset = opts.getOption<opt::TestSet>(); in parseCommandLine()
[all …]
DxeExtractShaderPrograms.cpp68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument
70 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram()
99 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument
117 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms()
134 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler() argument
135 : m_cmdLine(cmdLine) in ShaderProgramExtractHandler()
174 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile() argument
176 std::ifstream in (cmdLine.filename.c_str(), std::ifstream::binary|std::ifstream::in); in extractShaderProgramsFromLogFile()
177 ShaderProgramExtractHandler resultHandler (cmdLine); in extractShaderProgramsFromLogFile()
183 throw std::runtime_error(string("Failed to open '") + cmdLine.filename + "'"); in extractShaderProgramsFromLogFile()
[all …]
DxeMergeTestLogs.cpp148 static void mergeTestLogs (const CommandLine& cmdLine) in mergeTestLogs() argument
152 …for (vector<string>::const_iterator filename = cmdLine.srcFilenames.begin(); filename != cmdLine.s… in mergeTestLogs()
153 readLogFile(&batchResult, filename->c_str(), cmdLine.flags); in mergeTestLogs()
155 if (!cmdLine.dstFilename.empty()) in mergeTestLogs()
156 xe::writeBatchResultToFile(batchResult, cmdLine.dstFilename.c_str()); in mergeTestLogs()
168 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
175 cmdLine.srcFilenames.push_back(arg); in parseCommandLine()
178 if (!cmdLine.dstFilename.empty()) in parseCommandLine()
180 cmdLine.dstFilename = arg+6; in parseCommandLine()
183 cmdLine.flags &= ~FLAG_USE_LAST_INFO; in parseCommandLine()
[all …]
DxeTestLogCompare.cpp264 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()
[all …]
DxeExtractValues.cpp221 static void printTaggedValues (const CommandLine& cmdLine, std::ostream& dst) in printTaggedValues() argument
223 BatchResultValues values(cmdLine.tagNames); in printTaggedValues()
225 readLogFile(values, cmdLine.filename.c_str()); in printTaggedValues()
230 if (cmdLine.statusCode) in printTaggedValues()
244 if (cmdLine.statusCode) in printTaggedValues()
260 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
267 cmdLine.statusCode = true; in parseCommandLine()
270 if (cmdLine.filename.empty()) in parseCommandLine()
271 cmdLine.filename = arg; in parseCommandLine()
273 cmdLine.tagNames.push_back(arg); in parseCommandLine()
[all …]
DxeBatchResultToJUnit.cpp56 static void parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
61 cmdLine.batchResultFile = argv[argc-2]; in parseCommandLine()
62 cmdLine.outputFile = argv[argc-1]; in parseCommandLine()
158 CommandLine cmdLine; in main() local
161 parseCommandLine(cmdLine, argc, argv); in main()
171 batchResultToJUnitReport(cmdLine.batchResultFile.c_str(), cmdLine.outputFile.c_str()); in main()
DxeBatchResultToXml.cpp88 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
103 cmdLine.outputMode = opts.getOption<opt::OutMode>(); in parseCommandLine()
104 cmdLine.batchResultFile = opts.getArgs()[0]; in parseCommandLine()
105 cmdLine.outputPath = opts.getArgs()[1]; in parseCommandLine()
384 CommandLine cmdLine; in main() local
385 if (!parseCommandLine(cmdLine, argc, argv)) in main()
388 if (cmdLine.outputMode == OUTPUTMODE_SINGLE) in main()
389 batchResultToSingleXmlFile(cmdLine.batchResultFile.c_str(), cmdLine.outputPath.c_str()); in main()
391 batchResultToSeparateXmlFiles(cmdLine.batchResultFile.c_str(), cmdLine.outputPath.c_str()); in main()
/external/deqp/framework/opengl/
DgluRenderConfig.cpp143 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine) in parseRenderConfig() argument
145 switch (cmdLine.getSurfaceType()) in parseRenderConfig()
156 config->windowVisibility = parseWindowVisibility(cmdLine); in parseRenderConfig()
158 if (cmdLine.getSurfaceWidth() > 0) in parseRenderConfig()
159 config->width = cmdLine.getSurfaceWidth(); in parseRenderConfig()
161 if (cmdLine.getSurfaceHeight() > 0) in parseRenderConfig()
162 config->height = cmdLine.getSurfaceHeight(); in parseRenderConfig()
164 if (cmdLine.getGLConfigName() != DE_NULL) in parseRenderConfig()
165 parseConfigBitsFromName(config, cmdLine.getGLConfigName()); in parseRenderConfig()
167 if (cmdLine.getGLConfigId() >= 0) in parseRenderConfig()
[all …]
DgluRenderContext.cpp120 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine in createDefaultRenderContext() argument
124 const char* factoryName = cmdLine.getGLContextType(); in createDefaultRenderContext()
131 if (cmdLine.getGLContextFlags()) in createDefaultRenderContext()
132 ctxFlags = parseContextFlags(cmdLine.getGLContextFlags()); in createDefaultRenderContext()
135 parseRenderConfig(&config, cmdLine); in createDefaultRenderContext()
158 if (cmdLine.getSurfaceType() == tcu::SURFACETYPE_FBO) in createDefaultRenderContext()
159 return new FboRenderContext(*factory, config, cmdLine); in createDefaultRenderContext()
161 return factory->createContext(config, cmdLine); in createDefaultRenderContext()
/external/deqp/execserver/tools/
DxsClient.cpp150 Client (const CommandLine& cmdLine);
160 Client::Client (const CommandLine& cmdLine) in Client() argument
161 : m_cmdLine(cmdLine) in Client()
303 CommandLine cmdLine; in runClient() local
306 cmdLine.address.setHost("127.0.0.1"); in runClient()
307 cmdLine.address.setPort(50016); in runClient()
308 cmdLine.dstFileName = "TestResults.qpa"; in runClient()
316 cmdLine.address.setPort(atoi(arg+7)); in runClient()
318 cmdLine.address.setHost(parseString(arg+7).c_str()); in runClient()
320 cmdLine.program = parseString(arg+10); in runClient()
[all …]
DxsMain.cpp55 de::cmdline::CommandLine cmdLine; in main() local
71 if (!parser.parse(argc, argv, &cmdLine, std::cerr)) in main()
80 const xs::ExecutionServer::RunMode runMode = cmdLine.getOption<opt::SingleExec>() in main()
83 const int port = cmdLine.getOption<opt::Port>(); in main()
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DRemoteAPI.java67 public boolean start (String testerName, String cmdLine, String caseList) { in start() argument
77 cmdLine = testerName + " " + cmdLine + " --deqp-log-filename=" + m_logFileName; in start()
80 cmdLine = cmdLine + " --deqp-caselist=" + caseList; in start()
82 cmdLine = cmdLine.replaceAll(" ", " "); in start()
83 testIntent.putExtra("cmdLine", cmdLine); in start()
/external/deqp/framework/common/
DtcuApp.cpp50 …id writeCaselistsToStdout (TestPackageRoot& root, TestContext& testCtx, const CommandLine& cmdLine) in writeCaselistsToStdout() argument
53 TestHierarchyIterator iter (root, inflater, cmdLine); in writeCaselistsToStdout()
80 App::App (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) in App() argument
97 const RunMode runMode = cmdLine.getRunMode(); in App()
100 if (cmdLine.isWatchDogEnabled()) in App()
104 if (cmdLine.isCrashHandlingEnabled()) in App()
108 m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog); in App()
117 writeCaselistsToStdout(*m_testRoot, *m_testCtx, cmdLine); in App()
119 writeXmlCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine); in App()
121 writeTxtCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine); in App()
DtcuTestHierarchyUtil.cpp125 … writeXmlCaselistsToFiles (TestPackageRoot& root, TestContext& testCtx, const CommandLine& cmdLine) in writeXmlCaselistsToFiles() argument
128 TestHierarchyIterator iter (root, inflater, cmdLine); in writeXmlCaselistsToFiles()
129 const char* const filenamePattern = cmdLine.getCaseListExportFile(); in writeXmlCaselistsToFiles()
181 … writeTxtCaselistsToFiles (TestPackageRoot& root, TestContext& testCtx, const CommandLine& cmdLine) in writeTxtCaselistsToFiles() argument
184 TestHierarchyIterator iter (root, inflater, cmdLine); in writeTxtCaselistsToFiles()
185 const char* const filenamePattern = cmdLine.getCaseListExportFile(); in writeTxtCaselistsToFiles()
/external/deqp/framework/platform/
DtcuMain.cpp46 tcu::CommandLine cmdLine (argc, argv); in main() local
48 tcu::TestLog log (cmdLine.getLogFileName(), cmdLine.getLogFlags()); in main()
50 de::UniquePtr<tcu::App> app (new tcu::App(*platform, archive, log, cmdLine)); in main()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp88 Move<VkInstance> createInstance (const PlatformInterface& vkp, const tcu::CommandLine& cmdLine) in createInstance() argument
90 const bool isValidationEnabled = cmdLine.isValidationEnabled(); in createInstance()
126 const tcu::CommandLine& cmdLine) in createDefaultDevice() argument
137 if (cmdLine.isValidationEnabled()) in createDefaultDevice()
172 DefaultDevice (const PlatformInterface& vkPlatform, const tcu::CommandLine& cmdLine);
203 DefaultDevice::DefaultDevice (const PlatformInterface& vkPlatform, const tcu::CommandLine& cmdLine) in DefaultDevice() argument
204 : m_instance (createInstance(vkPlatform, cmdLine)) in DefaultDevice()
206 , m_physicalDevice (chooseDevice(m_instanceInterface, *m_instance, cmdLine)) in DefaultDevice()
210 …ice(m_instanceInterface, m_physicalDevice, m_universalQueueFamilyIndex, m_deviceFeatures, cmdLine)) in DefaultDevice()
DvktBuildPrograms.cpp279 de::cmdline::CommandLine cmdLine; in main() local
285 if (!parser.parse(argc, argv, &cmdLine, std::cerr)) in main()
297 if (cmdLine.hasOption<opt::Cases>()) in main()
300 deqpArgv.push_back(cmdLine.getOption<opt::Cases>().c_str()); in main()
315 cmdLine.getOption<opt::DstPath>(), in main()
316 cmdLine.getOption<opt::Validate>()); in main()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
Dcomplete-ant-cmd.pl36 my $cmdLine = $ENV{'COMP_LINE'};
43 } elsif ($cmdLine =~ /-(f|buildfile)\s+\S*$/) {
77 if ($cmdLine =~ /-(f|buildfile)\s+(\S+)/) {
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPUnitDebuggeeProcessWrapper.java76 public void launchProcessAndRedirectors(String cmdLine) throws IOException { in launchProcessAndRedirectors() argument
77 logWriter.println("Launch process: " + cmdLine); in launchProcessAndRedirectors()
78 process = launchProcess(cmdLine); in launchProcessAndRedirectors()
141 protected Process launchProcess(String cmdLine) throws IOException { in launchProcess() argument
146 String args[] = splitCommandLine(cmdLine); in launchProcess()
/external/deqp/execserver/
DxsPosixTestProcess.cpp203 …string cmdLine = de::FilePath(name).isAbsolutePath() ? name : de::FilePath::join(workingDir, name)… in start() local
204 cmdLine += string(" --deqp-log-filename=") + logFilePath.getBaseName(); in start()
207 cmdLine += " --deqp-stdin-caselist"; in start()
210 cmdLine += string(" ") + params; in start()
217 m_process->start(cmdLine.c_str(), strlen(workingDir) > 0 ? workingDir : DE_NULL); in start()
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceUtil.cpp84 …eDevice (const InstanceInterface& vkInstance, VkInstance instance, const tcu::CommandLine& cmdLine) in chooseDevice() argument
91 if (!de::inBounds(cmdLine.getVKDeviceId(), 1, (int)devices.size()+1)) in chooseDevice()
94 return devices[(size_t)(cmdLine.getVKDeviceId()-1)]; in chooseDevice()
/external/skia/platform_tools/android/apps/
Dbuild.gradle62 String cmdLine = "./platform_tools/android/bin/android_ninja $buildTarget"
79 cmdLine += " -d " + deviceType
83 cmdLine += " --release"
85 return cmdLine

123