Lines Matching full:commandline
23 CommandLine* CommandLine::current_process_commandline_ = NULL;
26 typedef CommandLine::StringType::value_type CharType;
93 bool IsSwitch(const CommandLine::StringType& parameter_string,
95 CommandLine::StringType* switch_value) {
100 CommandLine::StringType prefix(kSwitchPrefixes[i]);
107 CommandLine::StringType switch_native;
108 if (equals_position == CommandLine::StringType::npos) {
130 CommandLine::CommandLine(NoProgram no_program) {
137 CommandLine::CommandLine(const FilePath& program) {
150 CommandLine::CommandLine(int argc, const char* const* argv) {
154 CommandLine::CommandLine(const StringVector& argv) {
159 CommandLine::~CommandLine() {
163 void CommandLine::Init(int argc, const char* const* argv) {
165 current_process_commandline_ = new CommandLine;
174 void CommandLine::Reset() {
181 CommandLine* CommandLine::ForCurrentProcess() {
188 CommandLine CommandLine::FromString(const std::wstring& command_line) {
189 CommandLine cmd;
196 void CommandLine::InitFromArgv(int argc, const char* const* argv) {
202 void CommandLine::InitFromArgv(const StringVector& argv) {
229 CommandLine::StringType CommandLine::command_line_string() const {
237 FilePath CommandLine::GetProgram() const {
246 bool CommandLine::HasSwitch(const std::string& switch_string) const {
254 std::string CommandLine::GetSwitchValueASCII(
256 CommandLine::StringType value = GetSwitchValueNative(switch_string);
268 FilePath CommandLine::GetSwitchValuePath(
273 CommandLine::StringType CommandLine::GetSwitchValueNative(
283 return CommandLine::StringType();
289 size_t CommandLine::GetSwitchCount() const {
293 void CommandLine::AppendSwitch(const std::string& switch_string) {
304 void CommandLine::AppendSwitchPath(const std::string& switch_string,
309 void CommandLine::AppendSwitchNative(const std::string& switch_string,
310 const CommandLine::StringType& value) {
330 void CommandLine::AppendSwitchASCII(const std::string& switch_string,
339 void CommandLine::AppendSwitches(const CommandLine& other) {
345 void CommandLine::CopySwitchesFrom(const CommandLine& source,
356 void CommandLine::AppendArg(const std::string& value) {
365 void CommandLine::AppendArgPath(const FilePath& path) {
369 void CommandLine::AppendArgNative(const CommandLine::StringType& value) {
380 void CommandLine::AppendArgs(const CommandLine& other) {
391 void CommandLine::AppendArguments(const CommandLine& other,
422 void CommandLine::PrependWrapper(const CommandLine::StringType& wrapper) {
439 void CommandLine::ParseFromString(const std::wstring& command_line) {
482 CommandLine::CommandLine() {