Home
last modified time | relevance | path

Searched refs:alias_command (Results 1 – 2 of 2) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dperf.c236 const char *alias_command; in handle_alias() local
239 alias_command = (*argv)[0]; in handle_alias()
240 alias_string = alias_lookup(alias_command); in handle_alias()
257 alias_string + 1, alias_command); in handle_alias()
261 die("Bad alias.%s string", alias_command); in handle_alias()
266 alias_command); in handle_alias()
272 die("empty alias for %s", alias_command); in handle_alias()
274 if (!strcmp(alias_command, new_argv[0])) in handle_alias()
275 die("recursive alias: %s", alias_command); in handle_alias()
/external/lldb/source/Commands/
DCommandObjectCommands.cpp552 const std::string alias_command = args.GetArgumentAtIndex (0); in DoExecute() local
556 size_t pos = raw_command_string.find (alias_command); in DoExecute()
559 raw_command_string = raw_command_string.substr (alias_command.size()); in DoExecute()
573 if (m_interpreter.CommandExists (alias_command.c_str())) in DoExecute()
576 alias_command.c_str()); in DoExecute()
600 return HandleAliasingRawCommand (alias_command, raw_command_string, *cmd_obj, result); in DoExecute()
606 …HandleAliasingRawCommand (const std::string &alias_command, std::string &raw_command_string, Comma… in HandleAliasingRawCommand() argument
623 if (m_interpreter.AliasExists (alias_command.c_str()) in HandleAliasingRawCommand()
624 || m_interpreter.UserCommandExists (alias_command.c_str())) in HandleAliasingRawCommand()
626 … OptionArgVectorSP temp_option_arg_sp (m_interpreter.GetAliasOptions (alias_command.c_str())); in HandleAliasingRawCommand()
[all …]