| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | ArgsTest.cpp | 24 EXPECT_STREQ(args.GetArgumentAtIndex(0), "arg"); in TEST() 74 EXPECT_STREQ(args.GetArgumentAtIndex(1), "has"); in TEST() 85 EXPECT_STREQ(args.GetArgumentAtIndex(0), "arg"); in TEST() 107 EXPECT_STREQ("1", args.GetArgumentAtIndex(0)); in TEST() 109 EXPECT_STREQ("2", args.GetArgumentAtIndex(2)); in TEST() 110 EXPECT_STREQ("3", args.GetArgumentAtIndex(3)); in TEST() 197 EXPECT_STREQ("1", args.GetArgumentAtIndex(0)); in TEST() 198 EXPECT_STREQ("2", args.GetArgumentAtIndex(1)); in TEST() 207 EXPECT_STREQ("1", args.GetArgumentAtIndex(0)); in TEST() 208 EXPECT_STREQ("2", args.GetArgumentAtIndex(1)); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionValuePathMappings.cpp | 55 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetValueFromString() 58 args.GetArgumentAtIndex(0), count); in SetValueFromString() 62 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString() 63 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString() 102 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString() 103 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString() 131 args.GetArgumentAtIndex(0), count); in SetValueFromString() 137 const char *orginal_path = args.GetArgumentAtIndex(i); in SetValueFromString() 138 const char *replace_path = args.GetArgumentAtIndex(i + 1); in SetValueFromString() 166 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx) || idx < 0 || in SetValueFromString() [all …]
|
| H A D | OptionValueFileSpecList.cpp | 61 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 D | OptionValueArray.cpp | 171 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs() 174 args.GetArgumentAtIndex(0), count); in SetArgs() 180 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs() 209 if (!llvm::to_integer(args.GetArgumentAtIndex(i), idx) || idx >= size) { in SetArgs() 236 args.GetArgumentAtIndex(i)); in SetArgs() 251 if (!llvm::to_integer(args.GetArgumentAtIndex(0), idx) || idx > count) { in SetArgs() 254 args.GetArgumentAtIndex(0), count); in SetArgs() 258 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs() 286 args.GetArgumentAtIndex(i), m_type_mask, error)); in SetArgs()
|
| H A D | CommandInterpreter.cpp | 955 const char *cur_name = path.GetArgumentAtIndex(0); in VerifyUserMultiwordCmdPath() 965 cur_name = path.GetArgumentAtIndex(cursor); in VerifyUserMultiwordCmdPath() 1621 (alias_name_str != cmd_args.GetArgumentAtIndex(0))) in BuildAliasResult() 1662 strpos, strlen(cmd_args.GetArgumentAtIndex(index))); in BuildAliasResult() 1663 result_str.Printf("%s", cmd_args.GetArgumentAtIndex(index)); in BuildAliasResult() 2017 GetCommandObject(request.GetParsedLine().GetArgumentAtIndex(0), in HandleCompletionMatches() 2022 strcmp(request.GetParsedLine().GetArgumentAtIndex(0), in HandleCompletionMatches() 2136 if (alias_name_str != cmd_args.GetArgumentAtIndex(0)) in BuildAliasCommandArgs() 2198 raw_input_string.find(cmd_args.GetArgumentAtIndex(index)); in BuildAliasCommandArgs() 2201 strpos, strlen(cmd_args.GetArgumentAtIndex(index))); in BuildAliasCommandArgs() [all …]
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 48 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() 180 if (num_args > 0 && ::strcmp(command.GetArgumentAtIndex(0), "all") == 0) { in DoExecute() 191 if (!llvm::to_integer(command.GetArgumentAtIndex(i), thread_idx)) { in DoExecute() 193 command.GetArgumentAtIndex(i)); in DoExecute() 201 command.GetArgumentAtIndex(i)); in DoExecute()
|
| H A D | CommandObjectSettings.cpp | 140 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() 624 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute() 718 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute() 817 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute() 913 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute() 997 const char *var_name = cmd_args.GetArgumentAtIndex(0); in DoExecute() 1111 const char *var_name = command.GetArgumentAtIndex(0); in DoExecute()
|
| H A D | CommandObjectThread.cpp | 427 const char *thread_idx_cstr = command.GetArgumentAtIndex(0); in DoExecute() 937 command.GetArgumentAtIndex(i)); in DoExecute() 1182 if (!llvm::to_integer(command.GetArgumentAtIndex(0), index_id)) { in DoExecute() 1184 command.GetArgumentAtIndex(0)); in DoExecute() 1192 command.GetArgumentAtIndex(0)); in DoExecute() 1910 args.GetArgumentAtIndex(0)); in DoExecute() 1926 args.GetArgumentAtIndex(0)); in DoExecute() 1979 if (!llvm::to_integer(args.GetArgumentAtIndex(i), tid)) { in DoExecute() 1981 args.GetArgumentAtIndex(i)); in DoExecute() 1986 args.GetArgumentAtIndex(i)); in DoExecute() [all …]
|
| H A D | CommandObjectPlatform.cpp | 170 const char *platform_name = args.GetArgumentAtIndex(0); in DoExecute() 850 const char *remote_file_path = args.GetArgumentAtIndex(0); in DoExecute() 851 const char *local_file_path = args.GetArgumentAtIndex(1); in DoExecute() 922 std::string remote_file_path(args.GetArgumentAtIndex(0)); in DoExecute() 993 std::string remote_file_path(args.GetArgumentAtIndex(0)); in DoExecute() 1063 std::string remote_file_path(args.GetArgumentAtIndex(0)); in DoExecute() 1116 const char *src = args.GetArgumentAtIndex(0); in DoExecute() 1117 const char *dst = args.GetArgumentAtIndex(1); in DoExecute() 1877 FileSpec src(args.GetArgumentAtIndex(0)); in DoExecute() 1879 FileSpec dst(args.GetArgumentAtIndex(1)); in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 287 const char *file_path = command.GetArgumentAtIndex(0); in DoExecute() 506 const char *target_idx_arg = args.GetArgumentAtIndex(0); in DoExecute() 1045 const char *from = command.GetArgumentAtIndex(i); in DoExecute() 1046 const char *to = command.GetArgumentAtIndex(i + 1); in DoExecute() 1171 command.GetArgumentAtIndex(0)); in DoExecute() 1180 const char *from = command.GetArgumentAtIndex(i); in DoExecute() 1181 const char *to = command.GetArgumentAtIndex(i + 1); in DoExecute() 1261 ConstString orig(command.GetArgumentAtIndex(0)); in DoExecute() 2146 const char *pcm_path = command.GetArgumentAtIndex(0); in DoExecute() 2734 const char *sect_name = args.GetArgumentAtIndex(i); in DoExecute() [all …]
|
| H A D | CommandObjectQuit.cpp | 86 llvm::StringRef arg = command.GetArgumentAtIndex(0); in DoExecute()
|
| H A D | CommandObjectWatchpoint.cpp | 906 command.GetArgumentAtIndex(0), eNoDynamicValues, expr_path_options, in DoExecute() 916 command.GetArgumentAtIndex(0), in DoExecute() 944 command.GetArgumentAtIndex(0)); in DoExecute() 956 wp->SetWatchSpec(command.GetArgumentAtIndex(0)); in DoExecute() 972 addr, (uint64_t)size, command.GetArgumentAtIndex(0)); in DoExecute()
|
| H A D | CommandObjectProcess.cpp | 971 command.GetArgumentAtIndex(0), plugin_name, debugger, in DoExecute() 974 command.GetArgumentAtIndex(0), plugin_name, debugger, in DoExecute() 1241 const char *signal_name = command.GetArgumentAtIndex(0); in DoExecute() 1250 command.GetArgumentAtIndex(0)); in DoExecute() 1404 FileSpec output_file(command.GetArgumentAtIndex(0)); in DoExecute() 1701 signal_args.GetArgumentAtIndex(i)); in PrintSignalInformation() 1703 PrintSignal(str, signo, signal_args.GetArgumentAtIndex(i), in PrintSignalInformation()
|
| H A D | CommandObjectFrame.cpp | 987 if (!llvm::to_integer(command.GetArgumentAtIndex(0), recognizer_id)) { in DoExecute() 989 command.GetArgumentAtIndex(0)); in DoExecute() 997 command.GetArgumentAtIndex(0)); in DoExecute() 1077 const char *frame_index_str = command.GetArgumentAtIndex(0); in DoExecute()
|
| H A D | CommandObjectType.cpp | 822 const char *typeA = command.GetArgumentAtIndex(0); in DoExecute() 938 const char *cat_name = command.GetArgumentAtIndex(0); in DoExecute() 1085 const char *arg = command.GetArgumentAtIndex(0); in DoExecute() 1876 if (argc == 1 && strcmp(command.GetArgumentAtIndex(0), "*") == 0) { in DoExecute() 1880 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute() 1948 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute() 2053 if (argc == 1 && strcmp(command.GetArgumentAtIndex(0), "*") == 0) { in DoExecute() 2058 const char *typeA = command.GetArgumentAtIndex(i); in DoExecute() 2115 const char *arg = command.GetArgumentAtIndex(0); in DoExecute()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ProcessInfo.cpp | 87 const char *first_arg = m_arguments.GetArgumentAtIndex(0); in SetArguments() 103 const char *first_arg = m_arguments.GetArgumentAtIndex(0); in SetArguments() 129 const char *arg = m_arguments.GetArgumentAtIndex(i); in Dump() 235 s.PutCString(m_arguments.GetArgumentAtIndex(i)); in DumpAsTableRow()
|
| H A D | CompletionRequest.cpp | 33 strlen(GetParsedLine().GetArgumentAtIndex(m_cursor_index)); in CompletionRequest()
|
| /llvm-project-15.0.7/lldb/bindings/interface/ |
| H A D | SBLaunchInfo.i | 56 GetArgumentAtIndex (uint32_t idx);
|
| /llvm-project-15.0.7/lldb/tools/lldb-server/ |
| H A D | LLDBServerUtilities.cpp | 66 std::string channel(channel_then_categories.GetArgumentAtIndex(0)); in SetupLogging()
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBLaunchInfo.cpp | 146 const char *SBLaunchInfo::GetArgumentAtIndex(uint32_t idx) { in GetArgumentAtIndex() function in SBLaunchInfo 149 return m_opaque_sp->GetArguments().GetArgumentAtIndex(idx); in GetArgumentAtIndex()
|
| /llvm-project-15.0.7/lldb/include/lldb/API/ |
| H A D | SBLaunchInfo.h | 89 const char *GetArgumentAtIndex(uint32_t idx);
|
| /llvm-project-15.0.7/lldb/test/API/commands/settings/ |
| H A D | TestSettings.py | 274 self.assertEqual(launch_info.GetArgumentAtIndex(0), "A") 275 self.assertEqual(launch_info.GetArgumentAtIndex(1), "B") 276 self.assertEqual(launch_info.GetArgumentAtIndex(2), "C")
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptScriptGroup.cpp | 61 const auto arg = command.GetArgumentAtIndex(i); in DoExecute()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | CompletionRequest.h | 218 return GetParsedLine().GetArgumentAtIndex(GetCursorIndex()); in GetCursorArgumentPrefix()
|
| H A D | Args.h | 128 const char *GetArgumentAtIndex(size_t idx) const;
|