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.cpp298 CommandObjectSP cmd_obj_sp = GetCommandSPExact("quit"); in Initialize() local
299 if (cmd_obj_sp) { in Initialize()
300 AddAlias("q", cmd_obj_sp); in Initialize()
301 AddAlias("exit", cmd_obj_sp); in Initialize()
304 cmd_obj_sp = GetCommandSPExact("_regexp-attach"); in Initialize()
305 if (cmd_obj_sp) in Initialize()
306 AddAlias("attach", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
308 cmd_obj_sp = GetCommandSPExact("process detach"); in Initialize()
309 if (cmd_obj_sp) { in Initialize()
310 AddAlias("detach", cmd_obj_sp); in Initialize()
[all …]
H A DCommandAlias.cpp25 ProcessAliasOptionsArgs(lldb::CommandObjectSP &cmd_obj_sp, in ProcessAliasOptionsArgs() argument
36 Options *options = cmd_obj_sp->GetOptions(); in ProcessAliasOptionsArgs()
41 cmd_obj_sp->GetCommandInterpreter().GetExecutionContext(); in ProcessAliasOptionsArgs()
56 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()
87 return m_subcommand_dict.try_emplace(std::string(name), cmd_obj_sp).second; in LoadSubCommand()
91 llvm::StringRef name, const CommandObjectSP &cmd_obj_sp, bool can_replace) { in LoadUserSubcommand() argument
93 if (cmd_obj_sp) in LoadUserSubcommand()
94 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) && in LoadUserSubcommand()
101 cmd_obj_sp->SetIsUserCommand(true); in LoadUserSubcommand()
105 auto [pos, inserted] = m_subcommand_dict.try_emplace(str_name, cmd_obj_sp); in LoadUserSubcommand()
118 pos->second = cmd_obj_sp; in LoadUserSubcommand()
H A DCommandObjectCommands.cpp477 CommandObjectSP cmd_obj_sp = m_interpreter.GetCommandSPExact( in HandleAliasingRawCommand() local
479 if (!cmd_obj_sp) in HandleAliasingRawCommand()
480 cmd_obj_sp = cmd_obj.shared_from_this(); in HandleAliasingRawCommand()
489 alias_command, cmd_obj_sp, raw_command_string)) { in HandleAliasingRawCommand()
1127 StructuredData::GenericSP cmd_obj_sp, in CommandObjectScriptingObjectRaw() argument
1130 : CommandObjectRaw(interpreter, name), m_cmd_obj_sp(cmd_obj_sp), in CommandObjectScriptingObjectRaw()
1137 GetFlags().Set(scripter->GetFlagsForCommandObject(cmd_obj_sp)); in CommandObjectScriptingObjectRaw()
1245 StructuredData::GenericSP cmd_obj_sp) : m_interpreter(interpreter), in CommandOptions() argument
1246 m_cmd_obj_sp(cmd_obj_sp) {} in CommandOptions()
1823 StructuredData::GenericSP cmd_obj_sp, in Create() argument
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h481 GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, in GetShortHelpForCommandObject() argument
488 GetOptionsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetOptionsForCommandObject() argument
493 GetArgumentsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetArgumentsForCommandObject() argument
498 StructuredData::GenericSP cmd_obj_sp, ExecutionContext *exe_ctx, in SetOptionValueForCommandObject() argument
504 OptionParsingStartedForCommandObject(StructuredData::GenericSP cmd_obj_sp) {} in OptionParsingStartedForCommandObject() argument
507 GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp) { in GetFlagsForCommandObject() argument
511 virtual bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp, in GetLongHelpForCommandObject() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h200 bool GetShortHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp,
204 GetFlagsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
206 bool GetLongHelpForCommandObject(StructuredData::GenericSP cmd_obj_sp,
210 GetOptionsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
213 GetArgumentsForCommandObject(StructuredData::GenericSP cmd_obj_sp) override;
215 bool SetOptionValueForCommandObject(StructuredData::GenericSP cmd_obj_sp,
221 StructuredData::GenericSP cmd_obj_sp) override;
H A DScriptInterpreterPython.cpp2787 StructuredData::GenericSP cmd_obj_sp, std::string &dest) { in GetShortHelpForCommandObject() argument
2792 if (!cmd_obj_sp) in GetShortHelpForCommandObject()
2796 (PyObject *)cmd_obj_sp->GetValue()); in GetShortHelpForCommandObject()
2822 StructuredData::GenericSP cmd_obj_sp) { in GetFlagsForCommandObject() argument
2829 if (!cmd_obj_sp) in GetFlagsForCommandObject()
2833 (PyObject *)cmd_obj_sp->GetValue()); in GetFlagsForCommandObject()
2872 StructuredData::GenericSP cmd_obj_sp) { in GetOptionsForCommandObject() argument
2879 if (!cmd_obj_sp) in GetOptionsForCommandObject()
2883 (PyObject *)cmd_obj_sp->GetValue()); in GetOptionsForCommandObject()
2920 StructuredData::GenericSP cmd_obj_sp) { in GetArgumentsForCommandObject() argument
[all …]