Lines Matching refs:cmd_args

1299     Args cmd_args (raw_input_string.c_str());  in BuildAliasResult()  local
1306 if ((cmd_args.GetArgumentCount() == 0) in BuildAliasResult()
1307 || (alias_name_str.compare (cmd_args.GetArgumentAtIndex(0)) != 0)) in BuildAliasResult()
1308 cmd_args.Unshift (alias_name); in BuildAliasResult()
1336 else if (index >= cmd_args.GetArgumentCount()) in BuildAliasResult()
1347 … size_t strpos = raw_input_string.find (cmd_args.GetArgumentAtIndex (index)); in BuildAliasResult()
1350 … strlen (cmd_args.GetArgumentAtIndex (index))); in BuildAliasResult()
1351 result_str.Printf ("%s", cmd_args.GetArgumentAtIndex (index)); in BuildAliasResult()
2246 Args &cmd_args, in BuildAliasCommandArgs() argument
2256 if (alias_name_str.compare (cmd_args.GetArgumentAtIndex(0)) != 0) in BuildAliasCommandArgs()
2257 cmd_args.Unshift (alias_name); in BuildAliasCommandArgs()
2278 const size_t old_size = cmd_args.GetArgumentCount(); in BuildAliasCommandArgs()
2316 else if (index >= cmd_args.GetArgumentCount()) in BuildAliasCommandArgs()
2327 size_t strpos = raw_input_string.find (cmd_args.GetArgumentAtIndex (index)); in BuildAliasCommandArgs()
2330 … raw_input_string = raw_input_string.erase (strpos, strlen (cmd_args.GetArgumentAtIndex (index))); in BuildAliasCommandArgs()
2334 new_args.AppendArgument (cmd_args.GetArgumentAtIndex (index)); in BuildAliasCommandArgs()
2339 cmd_args.GetArgumentAtIndex (index)); in BuildAliasCommandArgs()
2348 for (size_t j = 0; j < cmd_args.GetArgumentCount(); ++j) in BuildAliasCommandArgs()
2351 new_args.AppendArgument (cmd_args.GetArgumentAtIndex (j)); in BuildAliasCommandArgs()
2354 cmd_args.Clear(); in BuildAliasCommandArgs()
2355cmd_args.SetArguments (new_args.GetArgumentCount(), (const char **) new_args.GetArgumentVector()); in BuildAliasCommandArgs()
2365 cmd_args.Clear(); in BuildAliasCommandArgs()
2366cmd_args.SetArguments (new_args.GetArgumentCount(), (const char **) new_args.GetArgumentVector()); in BuildAliasCommandArgs()