| /third_party/gn/src/base/ |
| D | command_line.cc | 29 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 …]
|
| D | command_line.h | 30 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/cef/libcef/common/ |
| D | command_line_impl.cc | 11 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 …]
|
| D | crash_reporting.h | 11 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/ |
| D | tcuCommandLine.cpp | 742 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 …]
|
| D | tcuCommandLine.hpp | 106 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;
|
| D | tcuTestContext.hpp | 37 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/libphonenumber/migrator/src/test/java/com/google/phonenumbers/migrator/ |
| D | CommandLineMainTest.java | 24 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/gn/src/gn/ |
| D | setup.h | 27 class CommandLine; variable 58 const base::CommandLine& cmdline); 63 const base::CommandLine& cmdline, 74 bool Run(const base::CommandLine& cmdline); 131 bool RunPostMessageLoop(const base::CommandLine& cmdline); 134 bool FillArguments(const base::CommandLine& cmdline, Err* err); 151 bool FillSourceDir(const base::CommandLine& cmdline, Err* err); 162 bool FillPythonPath(const base::CommandLine& cmdline, Err* err); 167 bool FillOtherConfig(const base::CommandLine& cmdline, Err* err);
|
| D | gn_main.cc | 23 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()
|
| D | ninja_tools.cc | 18 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()
|
| D | setup_unittest.cc | 24 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/vk-gl-cts/framework/delibs/decpp/ |
| D | deCommandLine.cpp | 114 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/ |
| D | chrome_main_delegate_cef.cc | 58 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/ |
| D | xeExtractShaderPrograms.cpp | 43 struct CommandLine struct 45 CommandLine (void) in CommandLine() argument 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/ |
| D | extensions_util.cc | 15 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/ |
| D | CommandLineMain.java | 27 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/lzma/Java/SevenZip/ |
| D | LzmaAlone.java | 5 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()
|
| /third_party/cef/libcef/common/alloy/ |
| D | alloy_main_delegate.cc | 92 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/vk-gl-cts/framework/platform/android/ |
| D | tcuAndroidTestActivity.hpp | 42 …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/ |
| D | vkDeviceUtil.hpp | 35 class CommandLine; 53 const tcu::CommandLine& cmdLine); 57 const tcu::CommandLine& cmdLine);
|
| /third_party/cef/libcef/browser/devtools/ |
| D | devtools_manager_delegate.cc | 69 const base::CommandLine& command_line = in CreateSocketFactory() 70 *base::CommandLine::ForCurrentProcess(); in CreateSocketFactory() 108 const base::CommandLine& command_line = in StartHttpHandler() 109 *base::CommandLine::ForCurrentProcess(); in StartHttpHandler()
|
| /third_party/cef/patch/patches/ |
| D | base_command_line_1872.patch | 5 @@ -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/ |
| D | egluGLFunctionLoader.hpp | 33 class CommandLine; 63 GLLibraryCache (const Platform& platform, const tcu::CommandLine& cmdLine); 75 const tcu::CommandLine& m_cmdLine;
|
| /third_party/vk-gl-cts/external/openglcts/modules/runner/ |
| D | glcTestRunnerMain.cpp | 37 struct CommandLine struct 39 CommandLine(void) : runType(glu::ApiType::es(2, 0)), flags(0) in CommandLine() argument 49 static bool parseCommandLine(CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument 122 CommandLine cmdLine; in main()
|