Home
last modified time | relevance | path

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

123456789

/third_party/gn/src/base/
Dcommand_line.cc29 CommandLine* CommandLine::current_process_commandline_ = nullptr;
33 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--");
34 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
42 const CommandLine::CharType* const kSwitchPrefixes[] = {u"--", u"-", u"/"};
45 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
49 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength()
51 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength()
60 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch()
61 CommandLine::StringType* switch_string, in IsSwitch()
62 CommandLine::StringType* switch_value) { in IsSwitch()
[all …]
Dcommand_line.h30 class CommandLine {
45 explicit CommandLine(NoProgram no_program);
48 explicit CommandLine(const FilePath& program);
51 CommandLine(int argc, const CharType* const* argv);
52 explicit CommandLine(const StringVector& argv);
55 CommandLine(const CommandLine& other);
56 CommandLine& operator=(const CommandLine& other);
58 ~CommandLine();
96 static CommandLine* ForCurrentProcess();
102 static CommandLine FromString(const std::u16string& command_line);
[all …]
/third_party/flutter/engine/flutter/fml/
Dcommand_line.cc11 CommandLine::Option::Option(const std::string& name) : name(name) {} in Option()
13 CommandLine::Option::Option(const std::string& name, const std::string& value) in Option()
16 CommandLine::CommandLine() = default;
18 CommandLine::CommandLine(const CommandLine& from) = default;
20 CommandLine::CommandLine(CommandLine&& from) = default;
22 CommandLine::CommandLine(const std::string& argv0, in CommandLine() function in fml::CommandLine
33 CommandLine::~CommandLine() = default;
35 CommandLine& CommandLine::operator=(const CommandLine& from) = default;
37 CommandLine& CommandLine::operator=(CommandLine&& from) = default;
39 bool CommandLine::HasOption(std::string_view name, size_t* index) const { in HasOption()
[all …]
Dcommand_line.h56 class CommandLine final {
76 CommandLine();
77 CommandLine(const CommandLine& from);
78 CommandLine(CommandLine&& from);
83 explicit CommandLine(const std::string& argv0,
87 ~CommandLine();
90 CommandLine& operator=(const CommandLine& from);
91 CommandLine& operator=(CommandLine&& from);
100 bool operator==(const CommandLine& other) const {
106 bool operator!=(const CommandLine& other) const { return !operator==(other); }
[all …]
Dcommand_line_unittest.cc57 CommandLine cl; in TEST()
60 EXPECT_EQ(std::vector<CommandLine::Option>(), cl.options()); in TEST()
66 const std::vector<CommandLine::Option> options = { in TEST()
67 CommandLine::Option("flag", "value")}; in TEST()
70 CommandLine cl(argv0, options, positional_args); in TEST()
91 std::vector<CommandLine::Option> expected_options = { in TEST()
92 CommandLine::Option("flag1"), CommandLine::Option("flag2")}; in TEST()
105 std::vector<CommandLine::Option> expected_sub_options = { in TEST()
106 CommandLine::Option("subflag")}; in TEST()
152 std::vector<CommandLine::Option> expected_options = { in TEST()
[all …]
/third_party/cef/libcef/common/
Dcommand_line_impl.cc11 CefCommandLineImpl::CefCommandLineImpl(base::CommandLine* value, in CefCommandLineImpl()
14 : CefValueBase<CefCommandLine, base::CommandLine>( in CefCommandLineImpl()
31 return new CefCommandLineImpl(new base::CommandLine(const_value().argv()), in Copy()
56 base::CommandLine::StringVector argv; in Reset()
60 const base::CommandLine::SwitchMap& map = mutable_value()->GetSwitches(); in Reset()
61 const_cast<base::CommandLine::SwitchMap*>(&map)->clear(); in Reset()
66 const base::CommandLine::StringVector& cmd_argv = const_value().argv(); in GetArgv()
67 base::CommandLine::StringVector::const_iterator it = cmd_argv.begin(); in GetArgv()
105 const base::CommandLine::SwitchMap& map = const_value().GetSwitches(); in GetSwitches()
106 base::CommandLine::SwitchMap::const_iterator it = map.begin(); in GetSwitches()
[all …]
Dcrash_reporting.h11 class CommandLine; variable
26 void BasicStartupComplete(base::CommandLine* command_line);
29 void PreSandboxStartup(const base::CommandLine& command_line,
33 void ZygoteForked(base::CommandLine* command_line,
/third_party/vk-gl-cts/framework/common/
DtcuCommandLine.hpp106 CaseListFilter (const de::cmdline::CommandLine& cmdLine, const tcu::Archive& archive);
139 class CommandLine class
142 CommandLine (void);
143 CommandLine (int argc, const char* const* argv);
144 explicit CommandLine (const std::string& cmdLine);
145 ~CommandLine (void);
293 const de::cmdline::CommandLine& getCommandLine (void) const;
296 CommandLine (const CommandLine&); // not allowed!
297 CommandLine& operator= (const CommandLine&); // not allowed!
303 de::cmdline::CommandLine m_cmdLine;
DtcuCommandLine.cpp742 CommandLine::CommandLine (void) in CommandLine() function in tcu::CommandLine
755 CommandLine::CommandLine (int argc, const char* const* argv) in CommandLine() function in tcu::CommandLine
781 CommandLine::CommandLine (const std::string& cmdLine) in CommandLine() function in tcu::CommandLine
788 CommandLine::~CommandLine (void) in ~CommandLine()
792 void CommandLine::clear (void) in clear()
798 const de::cmdline::CommandLine& CommandLine::getCommandLine (void) const in getCommandLine()
803 const std::string& CommandLine::getInitialCmdLine(void) const in getInitialCmdLine()
808 void CommandLine::registerExtendedOptions (de::cmdline::Parser& parser) in registerExtendedOptions()
819 bool CommandLine::parse (int argc, const char* const* argv) in parse()
882 bool CommandLine::parse (const std::string& cmdLine) in parse()
[all …]
DtcuTestContext.hpp37 class CommandLine;
51 …TestContext (Platform& platform, Archive& rootArchive, TestLog& log, const CommandLine& cmdLine,…
64 const CommandLine& getCommandLine (void) const { return m_cmdLine; } in getCommandLine()
84 const CommandLine& m_cmdLine; //!< Command line.
/third_party/gn/src/gn/
Dsetup.h26 class CommandLine; variable
57 const base::CommandLine& cmdline);
62 const base::CommandLine& cmdline,
73 bool Run(const base::CommandLine& cmdline);
130 bool RunPostMessageLoop(const base::CommandLine& cmdline);
133 bool FillArguments(const base::CommandLine& cmdline, Err* err);
148 bool FillSourceDir(const base::CommandLine& cmdline, Err* err);
159 bool FillPythonPath(const base::CommandLine& cmdline, Err* err);
164 bool FillOtherConfig(const base::CommandLine& cmdline, Err* err);
Dgn_main.cc23 std::vector<std::string> GetArgs(const base::CommandLine& cmdline) { in GetArgs()
24 base::CommandLine::StringVector in_args = cmdline.GetArgs(); in GetArgs()
39 base::CommandLine::set_slash_is_not_a_switch(); in main()
41 base::CommandLine::Init(argc, argv); in main()
43 const base::CommandLine& cmdline = *base::CommandLine::ForCurrentProcess(); in main()
Dninja_tools.cc18 base::CommandLine CreateNinjaToolCommandLine(const base::FilePath& ninja_executable, in CreateNinjaToolCommandLine()
20 base::CommandLine cmdline(ninja_executable); in CreateNinjaToolCommandLine()
27 bool RunNinja(const base::CommandLine& cmdline, in RunNinja()
57 base::CommandLine cmdline = in InvokeNinjaRestatTool()
69 base::CommandLine cmdline = in InvokeNinjaCleanDeadTool()
78 base::CommandLine cmdline = in InvokeNinjaRecompactTool()
Dsetup_unittest.cc24 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F()
50 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F()
78 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F()
109 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in RunExtensionCheckTest()
/third_party/libphonenumber/migrator/src/test/java/com/google/phonenumbers/migrator/
DCommandLineMainTest.java24 import picocli.CommandLine;
25 import picocli.CommandLine.MissingParameterException;
26 import picocli.CommandLine.MutuallyExclusiveArgsException;
38 CommandLine.populateCommand(new CommandLineMain(), args); in createMigrationJob_noNumberInputSpecified_expectException()
50 CommandLine.populateCommand(new CommandLineMain(), args); in createMigrationJob_numberAndFile_expectException()
61 CommandLineMain p = CommandLine.populateCommand(new CommandLineMain(), args); in createFromNumberString_expectSufficientArguments()
71 CommandLineMain p = CommandLine.populateCommand(new CommandLineMain(), args); in createFromPath_expectSufficientArguments()
82 CommandLine.populateCommand(new CommandLineMain(), args); in createMigrationJob_exportInvalidMigrationsAndCustomRecipe_expectException()
/third_party/vk-gl-cts/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 …]
/third_party/cef/libcef/common/chrome/
Dchrome_main_delegate_cef.cc58 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in BasicStartupComplete()
73 base::CommandLine::StringVector argv; in BasicStartupComplete()
77 const base::CommandLine::SwitchMap& map = command_line->GetSwitches(); in BasicStartupComplete()
78 const_cast<base::CommandLine::SwitchMap*>(&map)->clear(); in BasicStartupComplete()
141 const base::CommandLine* command_line = in PreSandboxStartup()
142 base::CommandLine::ForCurrentProcess(); in PreSandboxStartup()
188 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in ZygoteForked()
/third_party/vk-gl-cts/executor/tools/
DxeExtractShaderPrograms.cpp43 struct CommandLine struct
45 CommandLine (void) in CommandLine() function
77 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram()
108 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms()
143 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler()
179 const CommandLine& m_cmdLine;
183 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile()
213 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine()
242 CommandLine cmdLine; in main()
/third_party/cef/libcef/common/extensions/
Dextensions_util.cc15 static bool enabled = !base::CommandLine::ForCurrentProcess()->HasSwitch( in ExtensionsEnabled()
22 ExtensionsEnabled() && !base::CommandLine::ForCurrentProcess()->HasSwitch( in PdfExtensionEnabled()
35 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in PrintPreviewEnabled()
40 return base::CommandLine::ForCurrentProcess()->HasSwitch( in PrintPreviewEnabled()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DCommandLineMain.java27 import picocli.CommandLine;
28 import picocli.CommandLine.ArgGroup;
29 import picocli.CommandLine.Command;
30 import picocli.CommandLine.Help.Ansi;
31 import picocli.CommandLine.Option;
87 CommandLineMain clm = CommandLine.populateCommand(new CommandLineMain(), args); in main()
89 CommandLine.usage(clm, System.out, Ansi.AUTO); in main()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidTestActivity.hpp42 …hread (NativeActivity& activity, const std::string& cmdLineString, const CommandLine& cmdLine);
53 const CommandLine& m_cmdLine;
72 CommandLine m_cmdLine;
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDeviceUtil.hpp35 class CommandLine;
53 const tcu::CommandLine& cmdLine);
57 const tcu::CommandLine& cmdLine);
/third_party/cef/libcef/common/alloy/
Dalloy_main_delegate.cc92 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in BasicStartupComplete()
106 base::CommandLine::StringVector argv; in BasicStartupComplete()
110 const base::CommandLine::SwitchMap& map = command_line->GetSwitches(); in BasicStartupComplete()
111 const_cast<base::CommandLine::SwitchMap*>(&map)->clear(); in BasicStartupComplete()
349 const base::CommandLine* command_line = in PreSandboxStartup()
350 base::CommandLine::ForCurrentProcess(); in PreSandboxStartup()
403 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in ZygoteForked()
478 const base::CommandLine* command_line = in InitializeResourceBundle()
479 base::CommandLine::ForCurrentProcess(); in InitializeResourceBundle()
/third_party/cef/patch/patches/
Dbase_command_line_1872.patch5 @@ -337,11 +337,10 @@ void CommandLine::AppendSwitchPath(StringPiece switch_string,
7 void CommandLine::AppendSwitchNative(StringPiece switch_string,
8 CommandLine::StringPieceType value) {
/third_party/vk-gl-cts/framework/egl/
DegluGLFunctionLoader.hpp33 class CommandLine;
63 GLLibraryCache (const Platform& platform, const tcu::CommandLine& cmdLine);
75 const tcu::CommandLine& m_cmdLine;

123456789