/third_party/gn/src/base/ |
H A 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 in IsSwitch() 162 CommandLine::CommandLine(NoProgram no_program) CommandLine() function in base::CommandLine 165 CommandLine::CommandLine(const FilePath& program) CommandLine() function in base::CommandLine 170 CommandLine::CommandLine(int argc, const CommandLine::CharType* const* argv) CommandLine() function in base::CommandLine 175 CommandLine::CommandLine(const StringVector& argv) CommandLine() function in base::CommandLine [all...] |
H A D | command_line.h | 12 // There is a singleton read-only CommandLine that represents the command line 30 class CommandLine { class 46 explicit CommandLine(NoProgram no_program); 49 explicit CommandLine(const FilePath& program); 52 CommandLine(int argc, const CharType* const* argv); 53 explicit CommandLine(const StringVector& argv); 56 CommandLine(const CommandLine& other); 57 CommandLine& operator=(const CommandLine [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuCommandLine.cpp | 871 * \note CommandLine is not fully initialized until parse() has been called. 873 CommandLine::CommandLine (void) in CommandLine() function in tcu::CommandLine 886 CommandLine::CommandLine (int argc, const char* const* argv) in CommandLine() function in tcu::CommandLine 917 CommandLine::CommandLine (const std::string& cmdLine) in CommandLine() function in tcu::CommandLine 924 CommandLine::~CommandLine (void) in ~CommandLine() 928 void CommandLine [all...] |
H A D | tcuCommandLine.hpp | 106 CaseListFilter (const de::cmdline::CommandLine& cmdLine, const tcu::Archive& archive); 136 * CommandLine handles argument parsing and provides convinience functions 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); 345 const de::cmdline::CommandLine& getCommandLine (void) const; 348 CommandLine (const CommandLine [all...] |
H A D | tcuTestContext.hpp | 37 class CommandLine; 51 TestContext (Platform& platform, Archive& rootArchive, TestLog& log, const CommandLine& cmdLine, qpWatchDog* watchDog); 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/ |
H A 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/ |
H A D | setup.h | 27 class CommandLine; 53 // If no explicit cmdline is passed, base::CommandLine::ForCurrentProcess() 58 const base::CommandLine& cmdline); 63 const base::CommandLine& cmdline, 71 // If no explicit cmdline is passed, base::CommandLine::ForCurrentProcess() 74 bool Run(const base::CommandLine& cmdline); 137 bool RunPostMessageLoop(const base::CommandLine& cmdline); 140 bool FillArguments(const base::CommandLine& cmdline, Err* err); 157 bool FillSourceDir(const base::CommandLine& cmdline, Err* err); 168 bool FillPythonPath(const base::CommandLine [all...] |
H A D | setup_unittest.cc | 25 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F() 51 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F() 82 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F() 116 base::CommandLine cmdline(base::CommandLine::NO_PROGRAM); in TEST_F() 160 base::CommandLine cmdline(base::CommandLine in TEST_F() [all...] |
H A 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()
|
H A D | ninja_tools.cc | 18 base::CommandLine CreateNinjaToolCommandLine( in CreateNinjaToolCommandLine() 21 base::CommandLine cmdline(ninja_executable); in CreateNinjaToolCommandLine() 28 bool RunNinja(const base::CommandLine& cmdline, in RunNinja() 58 base::CommandLine cmdline = in InvokeNinjaRestatTool() 70 base::CommandLine cmdline = in InvokeNinjaCleanDeadTool() 79 base::CommandLine cmdline = in InvokeNinjaRecompactTool()
|
H A D | command_help.cc | 103 const base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess(); in PrintSwitchHelp() 130 const base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess(); in PrintAllHelp() 265 const base::CommandLine::SwitchMap& switches = in RunHelp() 266 base::CommandLine::ForCurrentProcess()->GetSwitches(); in RunHelp() 273 // Switch help needs to be done separately. The CommandLine will strip the in RunHelp()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A 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() 295 bool CommandLine::helpSpecified (void) const in helpSpecified() 360 CommandLine cmdLine; in selfTest() 369 CommandLine cmdLine; in selfTest() 379 CommandLine cmdLine; in selfTest() 389 CommandLine cmdLine; in selfTest() 426 CommandLine cmdLine; in selfTest() 443 CommandLine cmdLine; in selfTest() 460 CommandLine cmdLin in selfTest() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkDeviceUtil.hpp | 35 class CommandLine; 43 const tcu::CommandLine& cmdLine); 49 const tcu::CommandLine& cmdLine, 57 const tcu::CommandLine& cmdLine); 61 const tcu::CommandLine& cmdLine);
|
/third_party/vk-gl-cts/executor/tools/ |
H A D | xeExtractShaderPrograms.cpp | 43 struct CommandLine struct 45 CommandLine (void) in CommandLine() function 77 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::ri::ShaderProgram& shaderProgram, int programNdx) in writeShaderProgram() 108 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const xe::TestCaseResult& result) 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()
|
H A D | xeMergeTestLogs.cpp | 49 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()
|
H A D | xeBatchResultToJUnit.cpp | 41 struct CommandLine struct 43 CommandLine (void) in CommandLine() function 56 static void parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() 158 CommandLine cmdLine; in main()
|
H A D | xeTestLogCompare.cpp | 104 struct CommandLine struct 106 CommandLine (void) in CommandLine() function 264 static bool runCompare (const CommandLine& cmdLine, std::ostream& dst) in runCompare() 367 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() 370 de::cmdline::CommandLine opts; in parseCommandLine() 394 CommandLine cmdLine; in main()
|
/third_party/lzma/Java/SevenZip/ |
H A 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/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/ |
H A 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/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidTestActivity.hpp | 42 TestThread (NativeActivity& activity, const std::string& cmdLineString, const CommandLine& cmdLine); 53 const CommandLine& m_cmdLine; 72 CommandLine m_cmdLine;
|
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluGLFunctionLoader.hpp | 33 class CommandLine; 63 GLLibraryCache (const Platform& platform, const tcu::CommandLine& cmdLine); 75 const tcu::CommandLine& m_cmdLine;
|
H A D | egluUtil.hpp | 38 class CommandLine; 84 const NativeDisplayFactory& selectNativeDisplayFactory (const NativeDisplayFactoryRegistry& registry, const tcu::CommandLine& cmdLine); 85 const NativeWindowFactory& selectNativeWindowFactory (const NativeDisplayFactory& factory, const tcu::CommandLine& cmdLine); 86 const NativePixmapFactory& selectNativePixmapFactory (const NativeDisplayFactory& factory, const tcu::CommandLine& cmdLine); 88 WindowParams::Visibility parseWindowVisibility (const tcu::CommandLine& commandLine);
|
/third_party/rust/crates/clap/tests/builder/ |
H A D | default_missing_vals.rs | 50 clap::parser::ValueSource::CommandLine in opt_present_with_missing_value() 76 clap::parser::ValueSource::CommandLine in opt_present_with_value() 101 clap::parser::ValueSource::CommandLine in opt_present_with_empty_value() 201 clap::parser::ValueSource::CommandLine in default_missing_value_flag_value() 215 clap::parser::ValueSource::CommandLine in default_missing_value_flag_value() 226 clap::parser::ValueSource::CommandLine in default_missing_value_flag_value() 314 clap::parser::ValueSource::CommandLine in valid_index()
|
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
H A D | glcTestRunnerMain.cpp | 37 struct CommandLine struct 39 CommandLine(void) : runType(glu::ApiType::es(2, 0)), flags(0) in CommandLine() function 49 static bool parseCommandLine(CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() 122 CommandLine cmdLine; in main()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluRenderConfig.hpp | 31 class CommandLine; 115 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine); 116 RenderConfig::Visibility parseWindowVisibility (const tcu::CommandLine& cmdLine);
|