Home
last modified time | relevance | path

Searched refs:cmd_obj_sp (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandInterpreter.cpp296 CommandObjectSP cmd_obj_sp = GetCommandSPExact("quit"); in Initialize() local
297 if (cmd_obj_sp) { in Initialize()
298 AddAlias("q", cmd_obj_sp); in Initialize()
299 AddAlias("exit", cmd_obj_sp); in Initialize()
302 cmd_obj_sp = GetCommandSPExact("_regexp-attach"); in Initialize()
303 if (cmd_obj_sp) in Initialize()
304 AddAlias("attach", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
306 cmd_obj_sp = GetCommandSPExact("process detach"); in Initialize()
307 if (cmd_obj_sp) { in Initialize()
308 AddAlias("detach", cmd_obj_sp); in Initialize()
[all …]
H A DCommandAlias.cpp23 static bool ProcessAliasOptionsArgs(lldb::CommandObjectSP &cmd_obj_sp, in ProcessAliasOptionsArgs() argument
38 Options *options = cmd_obj_sp->GetOptions(); in ProcessAliasOptionsArgs()
43 cmd_obj_sp->GetCommandInterpreter().GetExecutionContext(); in ProcessAliasOptionsArgs()
63 if (cmd_obj_sp->WantsRawCommandString()) in ProcessAliasOptionsArgs()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectMultiword.cpp82 const CommandObjectSP &cmd_obj_sp) { in LoadSubCommand() argument
83 if (cmd_obj_sp) in LoadSubCommand()
84 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadSubCommand()
92 m_subcommand_dict[std::string(name)] = cmd_obj_sp; in LoadSubCommand()
100 llvm::StringRef name, const CommandObjectSP &cmd_obj_sp, bool can_replace) { in LoadUserSubcommand() argument
102 if (cmd_obj_sp) in LoadUserSubcommand()
103 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadUserSubcommand()
110 cmd_obj_sp->SetIsUserCommand(true); in LoadUserSubcommand()
116 m_subcommand_dict[str_name] = cmd_obj_sp; in LoadUserSubcommand()
129 m_subcommand_dict[str_name] = cmd_obj_sp; in LoadUserSubcommand()
[all...]
H A DCommandObjectCommands.cpp470 CommandObjectSP cmd_obj_sp = m_interpreter.GetCommandSPExact( in HandleAliasingRawCommand() local
472 if (!cmd_obj_sp) in HandleAliasingRawCommand()
473 cmd_obj_sp = cmd_obj.shared_from_this(); in HandleAliasingRawCommand()
482 alias_command, cmd_obj_sp, raw_command_string)) { in HandleAliasingRawCommand()
1117 StructuredData::GenericSP cmd_obj_sp, in CommandObjectScriptingObjectRaw() argument
1120 : CommandObjectRaw(interpreter, name), m_cmd_obj_sp(cmd_obj_sp), in CommandObjectScriptingObjectRaw()
1127 GetFlags().Set(scripter->GetFlagsForCommandObject(cmd_obj_sp)); in CommandObjectScriptingObjectRaw()
1235 StructuredData::GenericSP cmd_obj_sp) : m_interpreter(interpreter), in CommandOptions() argument
1236 m_cmd_obj_sp(cmd_obj_sp) {} in CommandOptions()
1661 StructuredData::GenericSP cmd_obj_sp, in Create() argument
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h195 bool GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp,
199 GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
201 bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp,
205 GetOptionsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
208 GetArgumentsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
210 bool SetOptionValueForCommandObject(StructuredData::GenericSP cmd_obj_sp,
216 StructuredData::GenericSP cmd_obj_sp) override;
H A DScriptInterpreterPython.cpp2774 StructuredData::GenericSP cmd_obj_sp, std::string &dest) { in GetShortHelpForCommandObject() argument
2779 if (!cmd_obj_sp) in GetShortHelpForCommandObject()
2783 (PyObject *)cmd_obj_sp->GetValue()); in GetShortHelpForCommandObject()
2809 StructuredData::GenericSP cmd_obj_sp) { in GetFlagsForCommandObject() argument
2816 if (!cmd_obj_sp) in GetFlagsForCommandObject()
2820 (PyObject *)cmd_obj_sp->GetValue()); in GetFlagsForCommandObject()
2859 StructuredData::GenericSP cmd_obj_sp) { in GetOptionsForCommandObject() argument
2866 if (!cmd_obj_sp) in GetOptionsForCommandObject()
2870 (PyObject *)cmd_obj_sp->GetValue()); in GetOptionsForCommandObject()
2907 StructuredData::GenericSP cmd_obj_sp) { in GetArgumentsForCommandObject() argument
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h487 GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, in GetShortHelpForCommandObject() argument
494 GetOptionsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetOptionsForCommandObject() argument
499 GetArgumentsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetArgumentsForCommandObject() argument
504 StructuredData::GenericSP cmd_obj_sp, ExecutionContext *exe_ctx, in SetOptionValueForCommandObject() argument
510 StructuredData::GenericSP cmd_obj_sp) { in OptionParsingStartedForCommandObject() argument
515 GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetFlagsForCommandObject() argument
519 virtual bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, in GetLongHelpForCommandObject() argument