Home
last modified time | relevance | path

Searched refs:CommandLine (Results 1 – 25 of 168) sorted by relevance

1234567

/external/libchrome/base/
Dcommand_line.cc27 CommandLine* CommandLine::current_process_commandline_ = nullptr;
31 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--");
32 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
40 const CommandLine::CharType* const kSwitchPrefixes[] = {L"--", L"-", L"/"};
43 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
47 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength()
49 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength()
58 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch()
59 CommandLine::StringType* switch_string, in IsSwitch()
60 CommandLine::StringType* switch_value) { in IsSwitch()
[all …]
Dcommand_line_unittest.cc23 static const CommandLine::StringType kTrickyQuoted =
27 static const CommandLine::StringType kTricky =
31 const CommandLine::CharType* argv[] = { in TEST()
50 CommandLine cl(arraysize(argv), argv); in TEST()
84 const CommandLine::StringVector& args = cl.GetArgs(); in TEST()
87 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST()
109 CommandLine cl = CommandLine::FromString( in TEST()
148 const CommandLine::StringVector& args = cl.GetArgs(); in TEST()
151 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST()
165 CommandLine cl_duplicate = CommandLine::FromString(cl.GetCommandLineString()); in TEST()
[all …]
Dcommand_line.h32 class BASE_EXPORT CommandLine {
47 explicit CommandLine(NoProgram no_program);
50 explicit CommandLine(const FilePath& program);
53 CommandLine(int argc, const CharType* const* argv);
54 explicit CommandLine(const StringVector& argv);
57 CommandLine(const CommandLine& other);
58 CommandLine& operator=(const CommandLine& other);
60 ~CommandLine();
98 static CommandLine* ForCurrentProcess();
104 static CommandLine FromString(const string16& command_line);
[all …]
Dsys_info.cc23 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in AmountOfPhysicalMemory()
33 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in AmountOfAvailablePhysicalMemory()
48 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in IsLowEndDevice()
59 CommandLine* command_line = CommandLine::ForCurrentProcess(); in DetectLowEndDevice()
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp115 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
116 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage; in TEST()
119 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
120 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage; in TEST()
134 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
135 EXPECT_EQ(Command2, Commands[0].CommandLine[0]) << ErrorMessage; in TEST()
138 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
139 EXPECT_EQ(Command1, Commands[1].CommandLine[0]) << ErrorMessage; in TEST()
171 EXPECT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST()
172 EXPECT_EQ(Arguments, FoundCommand.CommandLine[0]) << ErrorMessage; in TEST()
[all …]
/external/deqp/framework/common/
DtcuCommandLine.hpp97 CaseListFilter (const de::cmdline::CommandLine& cmdLine, const tcu::Archive& archive);
121 class CommandLine class
124 CommandLine (void);
125 CommandLine (int argc, const char* const* argv);
126 explicit CommandLine (const std::string& cmdLine);
127 ~CommandLine (void);
249 const de::cmdline::CommandLine& getCommandLine (void) const;
252 CommandLine (const CommandLine&); // not allowed!
253 CommandLine& operator= (const CommandLine&); // not allowed!
259 de::cmdline::CommandLine m_cmdLine;
DtcuCommandLine.cpp657 CommandLine::CommandLine (void) in CommandLine() function in tcu::CommandLine
670 CommandLine::CommandLine (int argc, const char* const* argv) in CommandLine() function in tcu::CommandLine
684 CommandLine::CommandLine (const std::string& cmdLine) in CommandLine() function in tcu::CommandLine
690 CommandLine::~CommandLine (void) in ~CommandLine()
694 void CommandLine::clear (void) in clear()
700 const de::cmdline::CommandLine& CommandLine::getCommandLine (void) const in getCommandLine()
705 void CommandLine::registerExtendedOptions (de::cmdline::Parser& parser) in registerExtendedOptions()
716 bool CommandLine::parse (int argc, const char* const* argv) in parse()
765 bool CommandLine::parse (const std::string& cmdLine) in parse()
786 const char* CommandLine::getLogFileName (void) const { return m_cmdLine.getOption<opt::LogFi… in getLogFileName()
[all …]
DtcuTestContext.hpp37 class CommandLine;
51 …TestContext (Platform& platform, Archive& rootArchive, TestLog& log, const CommandLine& cmdLine,…
60 const CommandLine& getCommandLine (void) const { return m_cmdLine; } in getCommandLine()
80 const CommandLine& m_cmdLine; //!< Command line.
/external/libchrome/base/test/
Dmultiprocess_test.cc18 const CommandLine& base_command_line, in SpawnMultiProcessTestChild()
20 CommandLine command_line(base_command_line); in SpawnMultiProcessTestChild()
44 CommandLine GetMultiProcessTestChildBaseCommandLine() { in GetMultiProcessTestChildBaseCommandLine()
46 CommandLine cmd_line = *CommandLine::ForCurrentProcess(); in GetMultiProcessTestChildBaseCommandLine()
71 CommandLine MultiProcessTest::MakeCmdLine(const std::string& procname) { in MakeCmdLine()
72 CommandLine command_line = GetMultiProcessTestChildBaseCommandLine(); in MakeCmdLine()
Dmultiprocess_test.h18 class CommandLine; variable
65 const CommandLine& command_line,
70 CommandLine GetMultiProcessTestChildBaseCommandLine();
138 virtual CommandLine MakeCmdLine(const std::string& procname);
/external/clang/lib/Tooling/
DTooling.cpp173 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, in addTargetAndModeForProgramName() argument
175 if (!CommandLine.empty() && !InvokedAs.empty()) { in addTargetAndModeForProgramName()
179 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); in addTargetAndModeForProgramName()
190 CommandLine.insert(++CommandLine.begin(), TargetMode.second); in addTargetAndModeForProgramName()
193 CommandLine.insert(++CommandLine.begin(), {"-target", TargetMode.first}); in addTargetAndModeForProgramName()
212 std::vector<std::string> CommandLine, ToolAction *Action, in ToolInvocation() argument
214 : CommandLine(std::move(CommandLine)), Action(Action), OwnsAction(false), in ToolInvocation()
219 std::vector<std::string> CommandLine, FrontendAction *FAction, in ToolInvocation() argument
221 : CommandLine(std::move(CommandLine)), in ToolInvocation()
239 for (const std::string &Str : CommandLine) in run()
[all …]
/external/deqp/framework/delibs/decpp/
DdeCommandLine.cpp114 bool Parser::parse (int numArgs, const char* const* args, CommandLine* dst, std::ostream& err) const in parse()
289 void CommandLine::clear (void) in clear()
355 CommandLine cmdLine; in selfTest()
364 CommandLine cmdLine; in selfTest()
374 CommandLine cmdLine; in selfTest()
384 CommandLine cmdLine; in selfTest()
421 CommandLine cmdLine; in selfTest()
438 CommandLine cmdLine; in selfTest()
455 CommandLine cmdLine; in selfTest()
474 CommandLine cmdLine; in selfTest()
[all …]
/external/libbrillo/brillo/
Dflag_helper_unittest.cc21 static void SetUpTestCase() { base::CommandLine::Init(0, nullptr); } in SetUpTestCase()
44 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
106 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
166 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
195 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
209 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
229 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
256 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
277 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
299 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
[all …]
/external/deqp/executor/tools/
DxeExtractShaderPrograms.cpp43 struct CommandLine struct
45 CommandLine (void) in CommandLine() argument
68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument
99 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms()
134 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler()
170 const CommandLine& m_cmdLine;
174 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile()
204 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine()
233 CommandLine cmdLine; in main()
DxeMergeTestLogs.cpp49 struct CommandLine struct
51 CommandLine (void) in CommandLine() function
148 static void mergeTestLogs (const CommandLine& cmdLine) in mergeTestLogs()
168 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine()
200 CommandLine cmdLine; in main()
/external/libchrome/libchrome_tools/patch/
Dlogging.patch18 - base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
33 + if (base::CommandLine::InitializedForCurrentProcess()) {
34 + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
71 + base::CommandLine::InitializedForCurrentProcess() ?
72 + base::CommandLine::ForCurrentProcess()->
Dsubprocess.patch47 const CommandLine& base_command_line,
56 CommandLine GetMultiProcessTestChildBaseCommandLine() {
58 @@ -52,6 +52,8 @@ CommandLine GetMultiProcessTestChildBaseCommandLine() {
73 CommandLine MultiProcessTest::MakeCmdLine(const std::string& procname) {
74 CommandLine command_line = GetMultiProcessTestChildBaseCommandLine();
/external/clang/include/clang/Tooling/
DCompilationDatabase.h46 std::vector<std::string> CommandLine) in CompileCommand()
49 CommandLine(std::move(CommandLine)) {} in CompileCommand()
58 std::vector<std::string> CommandLine; member
192 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);
/external/lzma/Java/SevenZip/
DLzmaAlone.java5 static public class CommandLine class in LzmaAlone
174 CommandLine params = new CommandLine(); in main()
181 if (params.Command == CommandLine.kBenchmak) in main()
190 else if (params.Command == CommandLine.kEncode || params.Command == CommandLine.kDecode) in main()
201 if (params.Command == CommandLine.kEncode) in main()
/external/libchrome/base/process/
Dlaunch.h37 class CommandLine; variable
265 BASE_EXPORT Process LaunchProcess(const CommandLine& cmdline,
287 BASE_EXPORT Process LaunchElevatedProcess(const CommandLine& cmdline,
318 BASE_EXPORT bool GetAppOutput(const CommandLine& cl, std::string* output);
321 BASE_EXPORT bool GetAppOutputAndError(const CommandLine& cl,
328 BASE_EXPORT bool GetAppOutputWithExitCode(const CommandLine& cl,
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DLister.java41 private static class CommandLine { class in Lister
50 final CommandLine cl = parse(args); in main()
108 private static CommandLine parse(final String[] args) { in parse()
109 final CommandLine cl = new CommandLine(); in parse()
/external/deqp/framework/platform/android/
DtcuAndroidTestActivity.hpp42 TestThread (NativeActivity& activity, const CommandLine& cmdLine);
53 const CommandLine& m_cmdLine;
72 CommandLine m_cmdLine;
/external/deqp/external/openglcts/modules/runner/
DglcTestRunnerMain.cpp36 struct CommandLine struct
38 CommandLine(void) : runType(glu::ApiType::es(2, 0)), flags(0) in CommandLine() argument
47 static bool parseCommandLine(CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
114 CommandLine cmdLine; in main()
/external/deqp/framework/egl/
DegluGLFunctionLoader.hpp33 class CommandLine;
63 GLLibraryCache (const Platform& platform, const tcu::CommandLine& cmdLine);
75 const tcu::CommandLine& m_cmdLine;
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceUtil.hpp34 class CommandLine;
59 const tcu::CommandLine& cmdLine);
63 const tcu::CommandLine& cmdLine);

1234567