Searched defs:cmdLine (Results 1 - 25 of 41) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
H A DJDWPManualDebuggeeWrapper.java73 * @param cmdLine
79 protected Process launchProcess(String cmdLine) throws IOException { argument
81 "\n>>> Start debuggee VM with this command line:\n" + cmdLine);
H A DJDWPUnitDebuggeeProcessWrapper.java63 public void launchProcessAndRedirectors(String cmdLine) throws IOException { argument
64 logWriter.println("Launch process: " + cmdLine);
65 process = launchProcess(cmdLine);
122 * @param cmdLine
128 protected Process launchProcess(String cmdLine) throws IOException { argument
131 // process = Runtime.getRuntime().exec(cmdLine);
133 String args[] = splitCommandLine(cmdLine);
142 * @param cmdLine
/external/deqp/framework/delibs/deutil/
H A DdeCommandLine.c119 deCommandLine* cmdLine = (deCommandLine*)deCalloc(sizeof(deCommandLine)); local
121 if (!cmdLine || !(cmdLine->args = (char**)deCalloc(sizeof(char*)*CharPtrArray_getNumElements(args))))
123 deFree(cmdLine);
129 cmdLine->numArgs = CharPtrArray_getNumElements(args);
130 cmdLine->argBuf = buf;
132 for (argNdx = 0; argNdx < cmdLine->numArgs; argNdx++)
133 cmdLine->args[argNdx] = CharPtrArray_get(args, argNdx);
136 return cmdLine;
140 void deCommandLine_destroy (deCommandLine* cmdLine) argument
147 testParse(const char* cmdLine, const char* const* refArgs, int numArgs) argument
164 const char* cmdLine = "hello"; local
169 const char* cmdLine = "hello world"; local
174 const char* cmdLine = "hello/world"; local
179 const char* cmdLine = "hello/world --help"; local
184 const char* cmdLine = "hello/world --help foo"; local
189 const char* cmdLine = "hello\\\\world --help foo"; local
194 const char* cmdLine = "\\"hello/worl d\\" --help --foo=\\"bar\\" \\"ba z\\\\\\"\\""; local
199 const char* cmdLine = "'hello/worl d' --help --foo='bar' 'ba z\\\\\\''"; local
204 const char* cmdLine = "hello \\"'world'\\""; local
209 const char* cmdLine = "hello '\\"world\\"'"; local
214 const char* cmdLine = "hello \\"world\\\\n\\""; local
[all...]
H A DdeProcess.c110 deCommandLine* cmdLine = deCommandLine_parse(commandLine); local
111 char** argList = cmdLine ? (char**)deCalloc(sizeof(char*)*(cmdLine->numArgs+1)) : DE_NULL;
113 if (!cmdLine || !argList)
121 for (argNdx = 0; argNdx < cmdLine->numArgs; argNdx++)
122 argList[argNdx] = cmdLine->args[argNdx];
/external/deqp/framework/opengl/
H A DgluRenderConfig.cpp143 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine) argument
145 switch (cmdLine.getSurfaceType())
156 config->windowVisibility = parseWindowVisibility(cmdLine);
158 if (cmdLine.getSurfaceWidth() > 0)
159 config->width = cmdLine.getSurfaceWidth();
161 if (cmdLine.getSurfaceHeight() > 0)
162 config->height = cmdLine.getSurfaceHeight();
164 if (cmdLine.getGLConfigName() != DE_NULL)
165 parseConfigBitsFromName(config, cmdLine.getGLConfigName());
167 if (cmdLine
171 parseWindowVisibility(const tcu::CommandLine& cmdLine) argument
[all...]
H A DgluFboRenderContext.cpp141 FboRenderContext::FboRenderContext (const ContextFactory& factory, const RenderConfig& config, const tcu::CommandLine& cmdLine) argument
154 m_context = factory.createContext(nativeRenderConfig, cmdLine);
H A DgluRenderContext.cpp119 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType) argument
123 const char* factoryName = cmdLine.getGLContextType();
130 if (cmdLine.getGLContextFlags())
131 ctxFlags = parseContextFlags(cmdLine.getGLContextFlags());
134 parseRenderConfig(&config, cmdLine);
159 if (cmdLine.getSurfaceType() == tcu::SURFACETYPE_FBO)
160 return new FboRenderContext(*factory, config, cmdLine);
162 return factory->createContext(config, cmdLine);
171 return new ES3PlusWrapperContext(*factory, config, cmdLine);
/external/deqp/framework/platform/android/
H A DtcuAndroidTestActivity.cpp41 TestThread::TestThread (NativeActivity& activity, const CommandLine& cmdLine) argument
43 , m_cmdLine (cmdLine)
88 , m_cmdLine (getIntentStringExtra(activity, "cmdLine"))
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
H A DRemoteAPI.java69 public boolean start (String testerName, String cmdLine, String caseList) { argument
78 // Add all data to cmdLine
79 cmdLine = testerName + " " + cmdLine + " --deqp-log-filename=" + m_logFileName;
82 cmdLine = cmdLine + " --deqp-caselist=" + caseList;
84 cmdLine = cmdLine.replaceAll(" ", " ");
85 testIntent.putExtra("cmdLine", cmdLine);
[all...]
/external/deqp/framework/common/
H A DtcuApp.cpp58 App::App (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) argument
75 if (cmdLine.isWatchDogEnabled())
79 if (cmdLine.isCrashHandlingEnabled())
83 m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog);
86 m_testExecutor = new TestExecutor(*m_testCtx, cmdLine);
H A DtcuTestContext.cpp35 const CommandLine& cmdLine,
40 , m_cmdLine (cmdLine)
31 TestContext( Platform& platform, Archive& rootArchive, TestLog& log, const CommandLine& cmdLine, qpWatchDog* watchDog) argument
H A DtcuTestExecutor.cpp43 TestExecutor::TestExecutor (TestContext& testCtx, const CommandLine& cmdLine) argument
45 , m_cmdLine (cmdLine)
/external/deqp/execserver/
H A DxsPosixTestProcess.cpp203 string cmdLine = de::FilePath(name).isAbsolutePath() ? name : de::FilePath::join(workingDir, name).normalize().getPath(); local
204 cmdLine += string(" --deqp-log-filename=") + logFilePath.getBaseName();
207 cmdLine += " --deqp-stdin-caselist";
210 cmdLine += string(" ") + params;
217 m_process->start(cmdLine.c_str(), strlen(workingDir) > 0 ? workingDir : DE_NULL);
/external/deqp/executor/tools/
H A DxeBatchResultToJUnit.cpp56 static void parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) argument
61 cmdLine.batchResultFile = argv[argc-2];
62 cmdLine.outputFile = argv[argc-1];
158 CommandLine cmdLine; local
161 parseCommandLine(cmdLine, argc, argv);
171 batchResultToJUnitReport(cmdLine.batchResultFile.c_str(), cmdLine.outputFile.c_str());
H A DxeMergeTestLogs.cpp148 static void mergeTestLogs (const CommandLine& cmdLine) argument
152 for (vector<string>::const_iterator filename = cmdLine.srcFilenames.begin(); filename != cmdLine.srcFilenames.end(); ++filename)
153 readLogFile(&batchResult, filename->c_str(), cmdLine.flags);
155 if (!cmdLine.dstFilename.empty())
156 xe::writeBatchResultToFile(batchResult, cmdLine.dstFilename.c_str());
168 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) argument
175 cmdLine.srcFilenames.push_back(arg);
178 if (!cmdLine.dstFilename.empty())
180 cmdLine
200 CommandLine cmdLine; local
[all...]
H A DxeExtractShaderPrograms.cpp68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::ri::ShaderProgram& shaderProgram, int programNdx) argument
70 const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de::toString(programNdx);
99 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const xe::TestCaseResult& result) argument
117 writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programNdx);
134 ShaderProgramExtractHandler (const CommandLine& cmdLine) argument
135 : m_cmdLine(cmdLine)
174 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) argument
176 std::ifstream in (cmdLine.filename.c_str(), std::ifstream::binary|std::ifstream::in);
177 ShaderProgramExtractHandler resultHandler (cmdLine);
183 throw std::runtime_error(string("Failed to open '") + cmdLine
204 parseCommandLine(CommandLine& cmdLine, int argc, const char* const* argv) argument
233 CommandLine cmdLine; local
[all...]
H A DxeExtractValues.cpp221 static void printTaggedValues (const CommandLine& cmdLine, std::ostream& dst) argument
223 BatchResultValues values(cmdLine.tagNames);
225 readLogFile(values, cmdLine.filename.c_str());
230 if (cmdLine.statusCode)
244 if (cmdLine.statusCode)
260 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) argument
267 cmdLine.statusCode = true;
270 if (cmdLine.filename.empty())
271 cmdLine.filename = arg;
273 cmdLine
289 CommandLine cmdLine; local
[all...]
H A DxeBatchResultToXml.cpp88 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) argument
103 cmdLine.outputMode = opts.getOption<opt::OutMode>();
104 cmdLine.batchResultFile = opts.getArgs()[0];
105 cmdLine.outputPath = opts.getArgs()[1];
384 CommandLine cmdLine; local
385 if (!parseCommandLine(cmdLine, argc, argv))
388 if (cmdLine.outputMode == OUTPUTMODE_SINGLE)
389 batchResultToSingleXmlFile(cmdLine.batchResultFile.c_str(), cmdLine.outputPath.c_str());
391 batchResultToSeparateXmlFiles(cmdLine
[all...]
H A DxeCommandLineExecutor.cpp125 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) argument
141 cmdLine.serverBin = opts.getOption<opt::StartServer>();
142 cmdLine.host = opts.getOption<opt::Host>();
143 cmdLine.port = opts.getOption<opt::Port>();
144 cmdLine.caseListDir = opts.getOption<opt::CaseListDir>();
145 cmdLine.testset = opts.getOption<opt::TestSet>();
146 cmdLine.exclude = opts.getOption<opt::ExcludeSet>();
147 cmdLine.inFile = opts.getOption<opt::ContinueFile>();
148 cmdLine.outFile = opts.getOption<opt::TestLogFile>();
149 cmdLine
401 createCommLink(const CommandLine& cmdLine) argument
439 runExecutor(const CommandLine& cmdLine) argument
491 CommandLine cmdLine; local
[all...]
H A DxeTestLogCompare.cpp264 static bool runCompare (const CommandLine& cmdLine, std::ostream& dst) argument
270 XE_CHECK(!cmdLine.filenames.empty());
275 results.resize(cmdLine.filenames.size());
279 for (int ndx = 0; ndx < (int)cmdLine.filenames.size(); ndx++)
281 readers.push_back(de::SharedPtr<LogFileReader>(new LogFileReader(results[ndx], cmdLine.filenames[ndx].c_str())));
285 for (int ndx = 0; ndx < (int)cmdLine.filenames.size(); ndx++)
290 batchNames.push_back(de::FilePath(cmdLine.filenames[ndx].c_str()).getBaseName());
302 if (cmdLine.outFormat == OUTPUTFORMAT_CSV)
331 if (cmdLine.outMode == OUTPUTMODE_ALL || !allEqual)
333 if (cmdLine
367 parseCommandLine(CommandLine& cmdLine, int argc, const char* const* argv) argument
394 CommandLine cmdLine; local
[all...]
/external/deqp/executor/
H A DxeLocalTcpIpLink.cpp53 std::ostringstream cmdLine; local
54 cmdLine << execServerPath << " --single --port=" << port;
59 if (deProcess_start(m_process, cmdLine.str().c_str(), workDir) != DE_TRUE)
/external/deqp/modules/internal/
H A DditFrameworkTests.cpp72 tcu::CommandLine cmdLine; local
85 if (!cmdLine.parse(DE_LENGTH_OF_ARRAY(argv), argv))
99 matchGroup = cmdLine.checkTestGroupName(curCase.path);
100 matchCase = cmdLine.checkTestCaseName(curCase.path);
136 tcu::CommandLine cmdLine; local
148 if (cmdLine.parse(DE_LENGTH_OF_ARRAY(argv), argv))
/external/deqp/execserver/tools/
H A DxsClient.cpp150 Client (const CommandLine& cmdLine);
160 Client::Client (const CommandLine& cmdLine) argument
161 : m_cmdLine(cmdLine)
303 CommandLine cmdLine; local
306 cmdLine.address.setHost("127.0.0.1");
307 cmdLine.address.setPort(50016);
308 cmdLine.dstFileName = "TestResults.qpa";
316 cmdLine.address.setPort(atoi(arg+7));
318 cmdLine.address.setHost(parseString(arg+7).c_str());
320 cmdLine
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeCommandLine.cpp355 CommandLine cmdLine; local
356 const bool parseOk = parser.parse(0, DE_NULL, &cmdLine, err);
364 CommandLine cmdLine; local
365 const bool parseOk = parser.parse(DE_LENGTH_OF_ARRAY(args), &args[0], &cmdLine, err);
374 CommandLine cmdLine; local
375 const bool parseOk = parser.parse(DE_LENGTH_OF_ARRAY(args), &args[0], &cmdLine, err);
384 CommandLine cmdLine; local
385 const bool parseOk = parser.parse(DE_LENGTH_OF_ARRAY(args), &args[0], &cmdLine, err);
388 DE_TEST_ASSERT(cmdLine.getArgs().size() == DE_LENGTH_OF_ARRAY(args));
391 DE_TEST_ASSERT(cmdLine
421 CommandLine cmdLine; local
438 CommandLine cmdLine; local
455 CommandLine cmdLine; local
474 CommandLine cmdLine; local
492 CommandLine cmdLine; local
503 CommandLine cmdLine; local
514 CommandLine cmdLine; local
525 CommandLine cmdLine; local
536 CommandLine cmdLine; local
547 CommandLine cmdLine; local
558 CommandLine cmdLine; local
569 CommandLine cmdLine; local
[all...]
/external/lzma/C/Util/SfxSetup/
H A DSfxSetup.c549 WCHAR cmdLine[MAX_PATH * 3]; local
551 wcscpy(cmdLine, path);
552 wcscat(cmdLine, cmdLineParams);
555 if (CreateProcessW(NULL, cmdLine, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi) == 0)

Completed in 335 milliseconds

12