Home
last modified time | relevance | path

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

12

/freebsd/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()
110 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString()
111 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString()
136 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
139 args.GetArgumentAtIndex(0), count); in SetValueFromString()
145 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString()
146 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString()
[all …]
H A DOptionValueFileSpecList.cpp70 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
73 args.GetArgumentAtIndex(0), count); in SetValueFromString()
76 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString()
99 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString()
114 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString()
117 args.GetArgumentAtIndex(0), count); in SetValueFromString()
122 FileSpec file(args.GetArgumentAtIndex(i)); in SetValueFromString()
141 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx)) in SetValueFromString()
160 args.GetArgumentAtIndex(i)); in SetValueFromString()
H A DOptionValueArray.cpp179 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs()
182 args.GetArgumentAtIndex(0), count); in SetArgs()
188 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
218 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx) || idx >= size) { in SetArgs()
245 args.GetArgumentAtIndex(i)); in SetArgs()
261 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs()
264 args.GetArgumentAtIndex(0), count); in SetArgs()
268 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
297 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
H A DCommandInterpreter.cpp1006 const char *cur_name = path.GetArgumentAtIndex(0); in VerifyUserMultiwordCmdPath()
1016 cur_name = path.GetArgumentAtIndex(cursor); in VerifyUserMultiwordCmdPath()
1289 GetCommandSP(cmd_words.GetArgumentAtIndex(0), include_aliases, true); in GetCommandSPExact()
1304 cmd_obj_sp = cmd_obj_sp->GetSubcommandSP(cmd_words.GetArgumentAtIndex(i)); in GetCommandSPExact()
1733 (alias_name_str != cmd_args.GetArgumentAtIndex(0))) in BuildAliasResult()
1791 strlen(cmd_args.GetArgumentAtIndex(index)) + len_fudge); in BuildAliasResult()
1794 result_str.Printf("%s", cmd_args.GetArgumentAtIndex(index)); in BuildAliasResult()
2224 GetCommandObject(request.GetParsedLine().GetArgumentAtIndex(0), in HandleCompletionMatches()
2229 strcmp(request.GetParsedLine().GetArgumentAtIndex(0), in HandleCompletionMatches()
2246 GetCommandObject(request.GetParsedLine().GetArgumentAtIndex(0)); in HandleCompletionMatches()
[all …]
H A DOptionValueDictionary.cpp205 llvm::StringRef key(args.GetArgumentAtIndex(i)); in SetArgs()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp48 all_threads = ::strcmp(command.GetArgumentAtIndex(0), "all") == 0; in DoExecute()
49 m_unique_stacks = ::strcmp(command.GetArgumentAtIndex(0), "unique") == 0; in DoExecute()
71 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
73 command.GetArgumentAtIndex(i)); in DoExecute()
82 command.GetArgumentAtIndex(i)); in DoExecute()
179 if (num_args > 0 && ::strcmp(command.GetArgumentAtIndex(0), "all") == 0) { in DoExecute()
190 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute()
192 command.GetArgumentAtIndex(i)); in DoExecute()
200 command.GetArgumentAtIndex(i)); in DoExecute()
H A DCommandObjectProtocolServer.cpp45 llvm::StringRef protocol = args.GetArgumentAtIndex(0); in DoExecute()
58 llvm::StringRef connection_uri = args.GetArgumentAtIndex(1); in DoExecute()
119 llvm::StringRef protocol = args.GetArgumentAtIndex(0); 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()
1779 FileSpec src(args.GetArgumentAtIndex(0)); in DoExecute()
1781 FileSpec dst(args.GetArgumentAtIndex(1)); in DoExecute()
H A DCommandObjectThread.cpp430 const char *thread_idx_cstr = command.GetArgumentAtIndex(0); in DoExecute()
903 if (!llvm::to_integer(command.GetArgumentAtIndex(i), line_number)) { in DoExecute()
905 command.GetArgumentAtIndex(i)); in DoExecute()
1198 if (!llvm::to_integer(command.GetArgumentAtIndex(0), index_id)) { in DoExecute()
1200 command.GetArgumentAtIndex(0)); in DoExecute()
1206 command.GetArgumentAtIndex(0)); in DoExecute()
1926 if (!llvm::to_integer(args.GetArgumentAtIndex(0), thread_plan_idx)) { in DoExecute()
1929 args.GetArgumentAtIndex(0)); in DoExecute()
1944 args.GetArgumentAtIndex(0)); in DoExecute()
1984 if (!llvm::to_integer(args.GetArgumentAtIndex(i), tid)) { in DoExecute()
[all …]
H A DCommandObjectTarget.cpp282 const char *file_path = command.GetArgumentAtIndex(0); in DoExecute()
504 const char *target_identifier = args.GetArgumentAtIndex(0); in DoExecute()
1040 const char *from = command.GetArgumentAtIndex(i); in DoExecute()
1041 const char *to = command.GetArgumentAtIndex(i + 1); in DoExecute()
1161 if (!llvm::to_integer(command.GetArgumentAtIndex(0), insert_idx)) { in DoExecute()
1164 command.GetArgumentAtIndex(0)); in DoExecute()
1173 const char *from = command.GetArgumentAtIndex(i); in DoExecute()
1174 const char *to = command.GetArgumentAtIndex(i + 1); in DoExecute()
1238 ConstString orig(command.GetArgumentAtIndex(0)); in DoExecute()
1928 (arg_cstr = command.GetArgumentAtIndex(arg_idx)) != nullptr; in DoExecute()
[all …]
H A DCommandObjectWatchpoint.cpp843 command.GetArgumentAtIndex(0), eNoDynamicValues, expr_path_options, in DoExecute()
853 command.GetArgumentAtIndex(0), in DoExecute()
870 command.GetArgumentAtIndex(0)); in DoExecute()
910 addr, static_cast<uint64_t>(size), command.GetArgumentAtIndex(0)); in DoExecute()
916 watch_sp->SetWatchSpec(command.GetArgumentAtIndex(0)); in DoExecute()
H A DCommandObjectQuit.cpp85 llvm::StringRef arg = command.GetArgumentAtIndex(0); in DoExecute()
H A DCommandObjectProcess.cpp923 command.GetArgumentAtIndex(0), plugin_name, debugger, in DoExecute()
926 command.GetArgumentAtIndex(0), plugin_name, debugger, in DoExecute()
1174 const char *signal_name = command.GetArgumentAtIndex(0); in DoExecute()
1183 command.GetArgumentAtIndex(0)); in DoExecute()
1353 FileSpec output_file(command.GetArgumentAtIndex(0)); in DoExecute()
1633 signal_args.GetArgumentAtIndex(i)); in PrintSignalInformation()
1635 PrintSignal(str, signo, signal_args.GetArgumentAtIndex(i), in PrintSignalInformation()
H A DCommandObjectType.cpp832 const char *typeA = command.GetArgumentAtIndex(0); in DoExecute()
945 const char *cat_name = command.GetArgumentAtIndex(0); in DoExecute()
1079 const char *arg = command.GetArgumentAtIndex(0); in DoExecute()
1835 if (argc == 1 && strcmp(command.GetArgumentAtIndex(0), "*") == 0) { in DoExecute()
1839 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute()
1890 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute()
1977 if (argc == 1 && strcmp(command.GetArgumentAtIndex(0), "*") == 0) { in DoExecute()
1982 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute()
2030 const char *arg = command.GetArgumentAtIndex(0); in DoExecute()
H A DCommandObjectFrame.cpp1010 if (!llvm::to_integer(command.GetArgumentAtIndex(0), recognizer_id)) { in DoExecute()
1012 command.GetArgumentAtIndex(0)); in DoExecute()
1150 const char *frame_index_str = command.GetArgumentAtIndex(0); in DoExecute()
/freebsd/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()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A DLLDBServerUtilities.cpp68 std::string channel(channel_then_categories.GetArgumentAtIndex(0)); in SetupLogging()
/freebsd/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()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBLaunchInfo.h116 const char *GetArgumentAtIndex(uint32_t idx);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp448 m_process_launch_info.GetArguments().GetArgumentAtIndex(0)); in LaunchProcess()
453 m_process_launch_info.GetArguments().GetArgumentAtIndex(0), in LaunchProcess()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DCompletionRequest.h242 return GetParsedLine().GetArgumentAtIndex(GetCursorIndex()); in GetCursorArgumentPrefix()
H A DArgs.h130 const char *GetArgumentAtIndex(size_t idx) const;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp225 const char *url = args.GetArgumentAtIndex(0); in ConnectRemote()
376 "Cannot launch '{0}': {1}", args.GetArgumentAtIndex(0), in LaunchProcess()

12