Home
last modified time | relevance | path

Searched refs:GetStringAtIndex (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/lldb/unittests/Utility/
H A DStringListTest.cpp29 EXPECT_STREQ("foo", s.GetStringAtIndex(0)); in TEST()
30 EXPECT_STREQ("bar", s.GetStringAtIndex(1)); in TEST()
41 EXPECT_STREQ("foo", s.GetStringAtIndex(0)); in TEST()
45 EXPECT_STREQ("foo", s.GetStringAtIndex(0)); in TEST()
46 EXPECT_STREQ("bar", s.GetStringAtIndex(1)); in TEST()
131 EXPECT_STREQ("", s.GetStringAtIndex(1)); in TEST()
148 EXPECT_STREQ("", s.GetStringAtIndex(1)); in TEST()
160 EXPECT_STREQ("", s.GetStringAtIndex(1)); in TEST()
163 EXPECT_STREQ("", s.GetStringAtIndex(4)); in TEST()
188 EXPECT_STREQ("", s.GetStringAtIndex(0)); in TEST()
[all …]
H A DCompletionRequestTest.cpp62 EXPECT_STREQ("boo", matches.GetStringAtIndex(0U)); in TEST()
137 EXPECT_STREQ("foo", matches.GetStringAtIndex(0)); in TEST()
144 EXPECT_STREQ("foo", matches.GetStringAtIndex(0)); in TEST()
152 EXPECT_STREQ("foo", matches.GetStringAtIndex(0)); in TEST()
153 EXPECT_STREQ("bar", matches.GetStringAtIndex(1)); in TEST()
160 EXPECT_STREQ("foo", matches.GetStringAtIndex(0)); in TEST()
161 EXPECT_STREQ("bar", matches.GetStringAtIndex(1)); in TEST()
169 EXPECT_STREQ("foo", matches.GetStringAtIndex(0)); in TEST()
170 EXPECT_STREQ("bar", matches.GetStringAtIndex(1)); in TEST()
178 EXPECT_STREQ("foo", matches.GetStringAtIndex(0)); in TEST()
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_locations/
H A DTestBreakpointLocations.py110 …self.assertEqual(str_list.GetStringAtIndex(i), cmd_list.GetStringAtIndex(i), "Mismatched commands.…
124 …self.assertEqual(loc_list.GetStringAtIndex(i), loc_cmd_list.GetStringAtIndex(i), "Mismatched comma…
129 …self.assertEqual(str_list.GetStringAtIndex(i), cmd_list.GetStringAtIndex(i), "Mismatched commands.…
/llvm-project-15.0.7/lldb/source/API/
H A DSBStringList.cpp105 const char *SBStringList::GetStringAtIndex(size_t idx) { in GetStringAtIndex() function in SBStringList
109 return m_opaque_up->GetStringAtIndex(idx); in GetStringAtIndex()
114 const char *SBStringList::GetStringAtIndex(size_t idx) const { in GetStringAtIndex() function in SBStringList
118 return m_opaque_up->GetStringAtIndex(idx); in GetStringAtIndex()
H A DSBEnvironment.cpp114 PutEntry(entries.GetStringAtIndex(i)); in SetEntries()
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBStringList.h38 const char *GetStringAtIndex(size_t idx);
40 const char *GetStringAtIndex(size_t idx) const;
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectApropos.cpp68 result.GetOutputStream(), commands_found.GetStringAtIndex(i), in DoExecute()
69 "--", commands_help.GetStringAtIndex(i), max_len); in DoExecute()
H A DCommandObjectHelp.cpp141 s.Printf("\n\t%s", matches.GetStringAtIndex(match_idx)); in DoExecute()
180 output_strm.Printf("\t%s\n", matches.GetStringAtIndex(i)); in DoExecute()
H A DCommandObjectMultiword.cpp65 sub_cmd = matches->GetStringAtIndex(0); in GetSubcommandSP()
264 new_matches.GetStringAtIndex(0) != nullptr && in HandleCompletion()
265 (arg0 == new_matches.GetStringAtIndex(0))) { in HandleCompletion()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandHistory.cpp60 llvm::StringRef CommandHistory::GetStringAtIndex(size_t idx) const { in GetStringAtIndex() function in CommandHistory
68 return GetStringAtIndex(idx); in operator []()
H A DCommandInterpreter.cpp1029 cmd.assign(matches->GetStringAtIndex(0)); in GetCommandSP()
1041 cmd.assign(matches->GetStringAtIndex(num_cmd_matches)); in GetCommandSP()
1054 matches->GetStringAtIndex(num_cmd_matches + num_alias_matches)); in GetCommandSP()
1067 cmd.assign(matches->GetStringAtIndex(num_cmd_matches + num_alias_matches + in GetCommandSP()
1308 full_name.assign(matches.GetStringAtIndex(0)); in GetAliasFullName()
2021 new_matches.GetStringAtIndex(0) != nullptr && in HandleCompletionMatches()
2023 new_matches.GetStringAtIndex(0)) == 0) { in HandleCompletionMatches()
2073 llvm::StringRef entry = m_command_history.GetStringAtIndex(i); in GetAutoSuggestionForCommand()
2497 const char *cmd = commands.GetStringAtIndex(idx); in HandleCommands()
3402 error_msg.Printf("\t%s\n", matches.GetStringAtIndex(i)); in ResolveCommandImpl()
/llvm-project-15.0.7/lldb/source/Utility/
H A DStringList.cpp86 const char *StringList::GetStringAtIndex(size_t idx) const { in GetStringAtIndex() function in StringList
101 strm.PutCString(GetStringAtIndex(i)); in Join()
206 strm << GetStringAtIndex(i); in CopyList()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DCompletionRequest.h213 AddCompletion(completions.GetStringAtIndex(i), in AddCompletions()
214 descriptions.GetStringAtIndex(i)); in AddCompletions()
H A DStringList.h79 const char *GetStringAtIndex(size_t idx) const;
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_command/
H A DTestBreakpointCommand.py281 self.assertEqual(com_list.GetStringAtIndex(0), "bt", "First bt")
282 self.assertEqual(com_list.GetStringAtIndex(1), "thread list", "Next thread list")
283 self.assertEqual(com_list.GetStringAtIndex(2), "continue", "Last continue")
/llvm-project-15.0.7/lldb/test/API/python_api/default-constructor/
H A Dsb_stringlist.py14 obj.GetStringAtIndex(0xffffffff)
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBStringList.i42 GetStringAtIndex (size_t idx);
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DCommandHistory.h33 llvm::StringRef GetStringAtIndex(size_t idx) const;
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_names/
H A DTestBreakpointNames.py131 name = name_list.GetStringAtIndex(0)
199 …self.assertEqual(self.cmd_list.GetStringAtIndex(idx), set_cmds.GetStringAtIndex(idx), "Command %d"…
/llvm-project-15.0.7/lldb/test/API/commands/expression/completion/
H A DTestExprCompletion.py240 common_match = match_strings.GetStringAtIndex(0)
/llvm-project-15.0.7/lldb/utils/lui/
H A Dcommandwin.py77 self.el.content += matches.GetStringAtIndex(0)
/llvm-project-15.0.7/lldb/test/API/python_api/sbenvironment/
H A DTestSBEnvironment.py26 (name, value) = entries.GetStringAtIndex(i).split("=")
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dlldbtest.py2082 match_candidate = match_strings.GetStringAtIndex(i)
2083 description_candidate = description_strings.GetStringAtIndex(i)
2090 match_strings.GetStringAtIndex(last_found_index) +
2111 match_candidate = match_strings.GetStringAtIndex(i)
2112 description_candidate = description_strings.GetStringAtIndex(i)
2134 common_match = match_strings.GetStringAtIndex(0)
2143 compare_string += match_strings.GetStringAtIndex(idx) + "\n"
/llvm-project-15.0.7/lldb/test/API/python_api/debugger/
H A DTestDebuggerAPI.py62 return int(value_list.GetStringAtIndex(0))
/llvm-project-15.0.7/lldb/source/Expression/
H A DREPL.cpp142 const char *first_line = lines.GetStringAtIndex(0); in IOHandlerIsInputComplete()
531 const char *line_cstr = current_lines->GetStringAtIndex(i); in IOHandlerComplete()

12