Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/lldb/unittests/Utility/
H A DArgsTest.cpp24 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 DOptionValuePathMappings.cpp55 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 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.cpp171 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 DCommandInterpreter.cpp955 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 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()
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 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()
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 DCommandObjectThread.cpp427 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 DCommandObjectPlatform.cpp170 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 DCommandObjectTarget.cpp287 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 DCommandObjectQuit.cpp86 llvm::StringRef arg = command.GetArgumentAtIndex(0); in DoExecute()
H A DCommandObjectWatchpoint.cpp906 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 DCommandObjectProcess.cpp971 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 DCommandObjectFrame.cpp987 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 DCommandObjectType.cpp822 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 DProcessInfo.cpp87 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 DCompletionRequest.cpp33 strlen(GetParsedLine().GetArgumentAtIndex(m_cursor_index)); in CompletionRequest()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBLaunchInfo.i56 GetArgumentAtIndex (uint32_t idx);
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A DLLDBServerUtilities.cpp66 std::string channel(channel_then_categories.GetArgumentAtIndex(0)); in SetupLogging()
/llvm-project-15.0.7/lldb/source/API/
H A DSBLaunchInfo.cpp146 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 DSBLaunchInfo.h89 const char *GetArgumentAtIndex(uint32_t idx);
/llvm-project-15.0.7/lldb/test/API/commands/settings/
H A DTestSettings.py274 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 DRenderScriptScriptGroup.cpp61 const auto arg = command.GetArgumentAtIndex(i); in DoExecute()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DCompletionRequest.h218 return GetParsedLine().GetArgumentAtIndex(GetCursorIndex()); in GetCursorArgumentPrefix()
H A DArgs.h128 const char *GetArgumentAtIndex(size_t idx) const;

123