Lines Matching refs:CommandLine
12 // There is a singleton read-only CommandLine that represents the command line
30 class CommandLine {
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& other);
59 ~CommandLine();
75 // Normally when the CommandLine singleton is initialized it gets the command
83 // Initialize the current process CommandLine singleton. On Windows, ignores
91 // Destroys the current process CommandLine singleton. This is necessary if
98 // Get the singleton CommandLine representing the current process's
101 static CommandLine* ForCurrentProcess();
103 // Returns true if the CommandLine has been initialized for the given process.
107 static CommandLine FromString(const std::u16string& command_line);
207 void CopySwitchesFrom(const CommandLine& source,
224 void AppendArguments(const CommandLine& other, bool include_program);
238 CommandLine() = delete;
241 // CommandLine cl(*CommandLine::ForCurrentProcess());
252 // The singleton CommandLine representing the current process's command line.
253 static CommandLine* current_process_commandline_;