Home
last modified time | relevance | path

Searched refs:GetArgumentAtIndex (Results 1 – 25 of 42) sorted by relevance

12

/src/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValuePathMappings.cpp60 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
63 args.GetArgumentAtIndex(0), count); in SetValueFromString()
67 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString()
68 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString()
107 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString()
108 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString()
133 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
136 args.GetArgumentAtIndex(0), count); in SetValueFromString()
142 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString()
143 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString()
[all …]
H A DOptionValueFileSpecList.cpp61 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
64 args.GetArgumentAtIndex(0), count); in SetValueFromString()
67 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString()
89 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString()
104 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
107 args.GetArgumentAtIndex(0), count); in SetValueFromString()
112 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString()
130 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx)) in SetValueFromString()
149 args.GetArgumentAtIndex(i)); in SetValueFromString()
H A DOptionValueArray.cpp177 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs()
180 args.GetArgumentAtIndex(0), count); in SetArgs()
186 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
215 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx) || idx >= size) { in SetArgs()
242 args.GetArgumentAtIndex(i)); in SetArgs()
257 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs()
260 args.GetArgumentAtIndex(0), count); in SetArgs()
264 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
292 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
H A DCommandInterpreter.cpp999 const char *cur_name = path.GetArgumentAtIndex(0); in VerifyUserMultiwordCmdPath()
1009 cur_name = path.GetArgumentAtIndex(cursor); in VerifyUserMultiwordCmdPath()
1231 GetCommandSP(cmd_words.GetArgumentAtIndex(0), include_aliases, true); in GetCommandSPExact()
1246 cmd_obj_sp = cmd_obj_sp->GetSubcommandSP(cmd_words.GetArgumentAtIndex(i)); in GetCommandSPExact()
1645 (alias_name_str != cmd_args.GetArgumentAtIndex(0))) in BuildAliasResult()
1703 strlen(cmd_args.GetArgumentAtIndex(index)) + len_fudge); in BuildAliasResult()
1706 result_str.Printf("%s", cmd_args.GetArgumentAtIndex(index)); in BuildAliasResult()
2080 GetCommandObject(request.GetParsedLine().GetArgumentAtIndex(0), in HandleCompletionMatches()
2085 strcmp(request.GetParsedLine().GetArgumentAtIndex(0), in HandleCompletionMatches()
2102 GetCommandObject(request.GetParsedLine().GetArgumentAtIndex(0)); in HandleCompletionMatches()
[all …]
H A DOptionValueDictionary.cpp204 llvm::StringRef key(args.GetArgumentAtIndex(i)); in SetArgs()
/src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp46 all_threads = ::strcmp(command.GetArgumentAtIndex(0), "all") == 0; in DoExecute()
47 m_unique_stacks = ::strcmp(command.GetArgumentAtIndex(0), "unique") == 0; in DoExecute()
69 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
71 command.GetArgumentAtIndex(i)); in DoExecute()
80 command.GetArgumentAtIndex(i)); in DoExecute()
177 if (num_args > 0 && ::strcmp(command.GetArgumentAtIndex(0), "all") == 0) { in DoExecute()
188 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
190 command.GetArgumentAtIndex(i)); in DoExecute()
198 command.GetArgumentAtIndex(i)); in DoExecute()
H A DCommandObjectSettings.cpp140 arg = request.GetParsedLine().GetArgumentAtIndex(setting_var_idx); in HandleArgumentCompletion()
151 arg = request.GetParsedLine().GetArgumentAtIndex(request.GetCursorIndex()); in HandleArgumentCompletion()
162 request.GetParsedLine().GetArgumentAtIndex(setting_var_idx); in HandleArgumentCompletion()
188 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute()
582 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute()
673 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute()
769 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute()
862 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute()
943 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute()
1042 const char *var_name = command.GetArgumentAtIndex(0); in DoExecute()
H A DCommandObjectPlatform.cpp173 const char *platform_name = args.GetArgumentAtIndex(0); in DoExecute()
826 const char *remote_file_path = args.GetArgumentAtIndex(0); in DoExecute()
827 const char *local_file_path = args.GetArgumentAtIndex(1); in DoExecute()
875 std::string remote_file_path(args.GetArgumentAtIndex(0)); in DoExecute()
923 std::string remote_file_path(args.GetArgumentAtIndex(0)); in DoExecute()
970 std::string remote_file_path(args.GetArgumentAtIndex(0)); in DoExecute()
1021 const char *src = args.GetArgumentAtIndex(0); in DoExecute()
1022 const char *dst = args.GetArgumentAtIndex(1); in DoExecute()
1782 FileSpec src(args.GetArgumentAtIndex(0)); in DoExecute()
1784 FileSpec dst(args.GetArgumentAtIndex(1)); in DoExecute()
H A DCommandObjectThread.cpp424 const char *thread_idx_cstr = command.GetArgumentAtIndex(0); in DoExecute()
898 if (!llvm::to_integer(command.GetArgumentAtIndex(i), line_number)) { in DoExecute()
900 command.GetArgumentAtIndex(i)); in DoExecute()
1200 if (!llvm::to_integer(command.GetArgumentAtIndex(0), index_id)) { in DoExecute()
1202 command.GetArgumentAtIndex(0)); in DoExecute()
1208 command.GetArgumentAtIndex(0)); in DoExecute()
1913 if (!llvm::to_integer(args.GetArgumentAtIndex(0), thread_plan_idx)) { in DoExecute()
1916 args.GetArgumentAtIndex(0)); in DoExecute()
1931 args.GetArgumentAtIndex(0)); in DoExecute()
1971 if (!llvm::to_integer(args.GetArgumentAtIndex(i), tid)) { in DoExecute()
[all …]
H A DCommandObjectTarget.cpp281 const char *file_path = command.GetArgumentAtIndex(0); in DoExecute()
503 const char *target_identifier = args.GetArgumentAtIndex(0); in DoExecute()
1036 const char *from = command.GetArgumentAtIndex(i); in DoExecute()
1037 const char *to = command.GetArgumentAtIndex(i + 1); in DoExecute()
1157 if (!llvm::to_integer(command.GetArgumentAtIndex(0), insert_idx)) { in DoExecute()
1160 command.GetArgumentAtIndex(0)); in DoExecute()
1169 const char *from = command.GetArgumentAtIndex(i); in DoExecute()
1170 const char *to = command.GetArgumentAtIndex(i + 1); in DoExecute()
1235 ConstString orig(command.GetArgumentAtIndex(0)); in DoExecute()
1920 (arg_cstr = command.GetArgumentAtIndex(arg_idx)) != nullptr; in DoExecute()
[all …]
H A DCommandObjectWatchpoint.cpp844 command.GetArgumentAtIndex(0), eNoDynamicValues, expr_path_options, in DoExecute()
854 command.GetArgumentAtIndex(0), in DoExecute()
882 command.GetArgumentAtIndex(0)); in DoExecute()
912 addr, static_cast<uint64_t>(size), command.GetArgumentAtIndex(0)); in DoExecute()
918 watch_sp->SetWatchSpec(command.GetArgumentAtIndex(0)); in DoExecute()
H A DCommandObjectQuit.cpp85 llvm::StringRef arg = command.GetArgumentAtIndex(0); in DoExecute()
H A DCommandObjectProcess.cpp896 command.GetArgumentAtIndex(0), plugin_name, debugger, in DoExecute()
899 command.GetArgumentAtIndex(0), plugin_name, debugger, in DoExecute()
1147 const char *signal_name = command.GetArgumentAtIndex(0); in DoExecute()
1156 command.GetArgumentAtIndex(0)); in DoExecute()
1304 FileSpec output_file(command.GetArgumentAtIndex(0)); in DoExecute()
1571 signal_args.GetArgumentAtIndex(i)); in PrintSignalInformation()
1573 PrintSignal(str, signo, signal_args.GetArgumentAtIndex(i), in PrintSignalInformation()
H A DCommandObjectFrame.cpp970 if (!llvm::to_integer(command.GetArgumentAtIndex(0), recognizer_id)) { in DoExecute()
972 command.GetArgumentAtIndex(0)); in DoExecute()
980 command.GetArgumentAtIndex(0)); in DoExecute()
1046 const char *frame_index_str = command.GetArgumentAtIndex(0); in DoExecute()
H A DCommandObjectType.cpp821 const char *typeA = command.GetArgumentAtIndex(0); in DoExecute()
934 const char *cat_name = command.GetArgumentAtIndex(0); in DoExecute()
1068 const char *arg = command.GetArgumentAtIndex(0); in DoExecute()
1815 if (argc == 1 && strcmp(command.GetArgumentAtIndex(0), "*") == 0) { in DoExecute()
1819 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute()
1870 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute()
1957 if (argc == 1 && strcmp(command.GetArgumentAtIndex(0), "*") == 0) { in DoExecute()
1962 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute()
2010 const char *arg = command.GetArgumentAtIndex(0); in DoExecute()
/src/contrib/llvm-project/lldb/source/Utility/
H A DProcessInfo.cpp90 const char *first_arg = m_arguments.GetArgumentAtIndex(0); in SetArguments()
106 const char *first_arg = m_arguments.GetArgumentAtIndex(0); in SetArguments()
136 const char *arg = m_arguments.GetArgumentAtIndex(i); in Dump()
243 s.PutCString(m_arguments.GetArgumentAtIndex(i)); in DumpAsTableRow()
H A DCompletionRequest.cpp33 strlen(GetParsedLine().GetArgumentAtIndex(m_cursor_index)); in CompletionRequest()
/src/contrib/llvm-project/lldb/tools/lldb-server/
H A DLLDBServerUtilities.cpp66 std::string channel(channel_then_categories.GetArgumentAtIndex(0)); in SetupLogging()
/src/contrib/llvm-project/lldb/source/API/
H A DSBLaunchInfo.cpp148 const char *SBLaunchInfo::GetArgumentAtIndex(uint32_t idx) { in GetArgumentAtIndex() function in SBLaunchInfo
151 return ConstString(m_opaque_sp->GetArguments().GetArgumentAtIndex(idx)) in GetArgumentAtIndex()
/src/contrib/llvm-project/lldb/include/lldb/API/
H A DSBLaunchInfo.h116 const char *GetArgumentAtIndex(uint32_t idx);
/src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DCompletionRequest.h218 return GetParsedLine().GetArgumentAtIndex(GetCursorIndex()); in GetCursorArgumentPrefix()
H A DArgs.h126 const char *GetArgumentAtIndex(size_t idx) const;
/src/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp543 m_process_launch_info.GetArguments().GetArgumentAtIndex(0)); in LaunchProcess()
548 m_process_launch_info.GetArguments().GetArgumentAtIndex(0), in LaunchProcess()
/src/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp232 const char *url = args.GetArgumentAtIndex(0); in ConnectRemote()
383 args.GetArgumentAtIndex(0), in LaunchProcess()
/src/contrib/llvm-project/lldb/source/Target/
H A DUnwindLLDB.cpp35 const char *func_name = args.GetArgumentAtIndex(i); in UnwindLLDB()

12