Home
last modified time | relevance | path

Searched full:stringlist (Results 1 – 25 of 108) sorted by relevance

12345

/llvm-project/lldb/source/Utility/
H A DStringList.cpp1 //===-- StringList.cpp ----------------------------------------------------===//
9 #include "lldb/Utility/StringList.h"
22 StringList::StringList() : m_strings() {} in StringList() function in StringList
24 StringList::StringList(const char *str) : m_strings() { in StringList() function in StringList
29 StringList::StringList(const char **strv, int strc) : m_strings() { in StringList() function in StringList
36 StringList::~StringList() = default;
38 void StringList::AppendString(const char *str) { in AppendString()
43 void StringList::AppendString(const std::string &s) { m_strings.push_back(s); } in AppendString()
45 void StringList::AppendString(std::string &&s) { in AppendString()
49 void StringList::AppendString(const char *str, size_t str_len) { in AppendString()
[all …]
H A DCompletionRequest.cpp71 void CompletionResult::GetMatches(StringList &matches) const { in GetMatches()
77 void CompletionResult::GetDescriptions(StringList &descriptions) const { in GetDescriptions()
/llvm-project/lldb/unittests/Utility/
H A DStringListTest.cpp9 #include "lldb/Utility/StringList.h"
17 StringList s; in TEST()
22 StringList orig; in TEST()
26 StringList s = orig; in TEST()
38 StringList s; in TEST()
50 StringList s; in TEST()
62 StringList s; in TEST()
77 StringList s; in TEST()
92 StringList s; in TEST()
104 StringList s; in TEST()
[all …]
H A DCompletionRequestTest.cpp18 StringList matches; in TEST()
53 StringList matches, descriptions; in TEST()
92 StringList matches; in TEST()
123 StringList matches; in TEST()
186 StringList matches, descriptions; in TEST()
262 StringList matches; in TEST()
/llvm-project/lldb/include/lldb/Utility/
H A DStringList.h1 //===-- StringList.h --------------------------------------------*- C++ -*-===//
26 class StringList {
30 StringList();
32 explicit StringList(const char *str);
34 StringList(const char **strv, int strc);
36 virtual ~StringList();
52 void AppendList(StringList strings);
104 StringList &operator<<(const char *str);
106 StringList &operator<<(const std::string &s);
108 StringList &operator<<(const StringList &strings);
[all …]
H A DCompletionRequest.h14 #include "lldb/Utility/StringList.h"
83 void GetMatches(StringList &matches) const;
88 void GetDescriptions(StringList &descriptions) const;
198 void AddCompletions(const StringList &completions) { in AddCompletions()
211 void AddCompletions(const StringList &completions, in AddCompletions()
212 const StringList &descriptions) { in AddCompletions()
/llvm-project/lldb/source/API/
H A DSBStringList.cpp12 #include "lldb/Utility/StringList.h"
19 SBStringList::SBStringList(const lldb_private::StringList *lldb_strings_ptr) { in SBStringList()
21 m_opaque_up = std::make_unique<StringList>(*lldb_strings_ptr); in SBStringList()
40 lldb_private::StringList *SBStringList::operator->() { in operator ->()
42 m_opaque_up = std::make_unique<lldb_private::StringList>(); in operator ->()
47 const lldb_private::StringList *SBStringList::operator->() const { in operator ->()
51 const lldb_private::StringList &SBStringList::operator*() const { in operator *()
72 m_opaque_up = std::make_unique<lldb_private::StringList>(str); in AppendString()
83 m_opaque_up = std::make_unique<lldb_private::StringList>(strv, strc); in AppendList()
92 m_opaque_up = std::make_unique<lldb_private::StringList>(); in AppendList()
[all …]
/llvm-project/lldb/include/lldb/API/
H A DSBStringList.h52 SBStringList(const lldb_private::StringList *lldb_strings);
54 void AppendList(const lldb_private::StringList &strings);
56 lldb_private::StringList *operator->();
58 const lldb_private::StringList *operator->() const;
60 const lldb_private::StringList &operator*() const;
63 std::unique_ptr<lldb_private::StringList> m_opaque_up;
/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandInterpreter.h24 #include "lldb/Utility/StringList.h"
291 StringList *matches = nullptr,
292 StringList *descriptions = nullptr) const;
295 StringList *matches = nullptr,
296 StringList *descriptions = nullptr) const;
299 GetAliasCommandObject(llvm::StringRef cmd, StringList *matches = nullptr,
300 StringList *descriptions = nullptr) const;
394 void HandleCommands(const StringList &commands,
399 void HandleCommands(const StringList &commands,
441 StringList
[all...]
H A DCommandObjectMultiword.h48 StringList *matches = nullptr) override;
53 StringList *matches = nullptr) override;
106 StringList *matches = nullptr) override;
109 StringList *matches = nullptr) override;
H A DScriptInterpreter.h184 ExportFunctionDefinitionToInterpreter(StringList &function_def) {
188 virtual Status GenerateBreakpointCommandCallbackData(StringList &input, in ExportFunctionDefinitionToInterpreter()
195 virtual bool GenerateWatchpointCommandCallbackData(StringList &input, in GenerateBreakpointCommandCallbackData()
207 virtual bool GenerateTypeScriptFunction(StringList &input,
213 virtual bool GenerateScriptAliasFunction(StringList &input,
218 virtual bool GenerateTypeSynthClass(StringList &input, std::string &output, in GenerateScriptAliasFunction()
287 const StringList &input, in ScriptedStopHookHandleStop()
H A DCommandObject.h25 #include "lldb/Utility/StringList.h"
39 llvm::StringRef cmd_str, StringList &matches,
40 StringList *descriptions = nullptr) {
164 StringList *matches = nullptr) {
173 StringList *matches = nullptr) {
/llvm-project/lldb/unittests/Editline/
H A DEditlineTest.cpp29 #include "lldb/Utility/StringList.h"
78 bool GetLines(lldb_private::StringList &lines, bool &interrupted,
85 lldb_private::StringList &lines);
125 auto input_complete_cb = [this](Editline *editline, StringList &lines) { in EditlineAdapter()
178 bool EditlineAdapter::GetLines(lldb_private::StringList &lines, in GetLines()
189 lldb_private::StringList &lines) { in IsInputComplete()
296 lldb_private::StringList el_reported_lines; in TEST_F()
/llvm-project/lldb/source/Commands/
H A DCommandObjectMultiword.cpp43 StringList *matches) { in GetSubcommandSP()
56 StringList local_matches; in GetSubcommandSP()
77 StringList *matches) { in GetSubcommandObject()
172 StringList matches; in Execute()
268 StringList new_matches, descriptions; in HandleCompletion()
276 StringList temp_matches; in HandleCompletion()
289 StringList new_matches; in GetRepeatCommand()
383 StringList *matches) { in LoadSubCommand()
391 StringList *matches) { in WantsRawCommandString()
H A DCommandObjectApropos.cpp37 StringList commands_found; in DoExecute()
38 StringList commands_help; in DoExecute()
/llvm-project/lldb/include/lldb/Expression/
H A DREPL.h98 StringList &lines) override;
100 int IOHandlerFixIndentation(IOHandler &io_handler, const StringList &lines,
128 static int CalculateActualIndentation(const StringList &lines);
141 const StringList &lines, int cursor_position,
167 StringList m_code; // All accumulated REPL statements are saved here
/llvm-project/llvm/test/TableGen/
H A Dinterleave.td6 defvar StringList = ["foo", "bar", "zoo", "snork", "quux"];
25 string Test3 = !interleave(StringList, "");
26 string Test4 = !interleave(StringList, ", ");
27 string Test5 = !interleave(!listconcat(StringList, ["grits"]), " & ");
/llvm-project/lldb/unittests/Interpreter/
H A DTestCompletion.cpp11 #include "lldb/Utility/StringList.h"
106 static bool HasEquivalentFile(const Twine &Path, const StringList &Paths) { in HasEquivalentFile()
116 StringList &Results) { in DoDirCompletions()
137 static std::vector<std::string> toVector(const StringList &SL) { in toVector()
154 StringList Results; in TEST_F()
189 StringList Results; in TEST_F()
240 StringList Results; in TEST_F()
/llvm-project/lldb/include/lldb/Core/
H A DIOHandler.h17 #include "lldb/Utility/StringList.h"
233 const StringList &lines, in IOHandlerFixIndentation()
266 StringList &lines) { in IOHandlerIsInputComplete()
307 StringList &lines) override { in IOHandlerIsInputComplete()
397 bool GetLines(StringList &lines, bool &interrupted);
405 StringList GetCurrentLines() const;
413 bool IsInputCompleteCallback(Editline *editline, StringList &lines);
415 int FixIndentationCallback(Editline *editline, const StringList &lines,
430 StringList *m_current_lines_ptr;
/llvm-project/llvm/unittests/DebugInfo/CodeView/
H A DTypeIndexDiscoveryTest.cpp178 StringListRecord Record{TypeRecordKind::StringList, Ids};
179 } StringList; variable
307 writeTypeRecords(StringList.Record); in TEST_F()
308 checkTypeReferences(0, StringList.Ids[0], StringList.Ids[1], in TEST_F()
309 StringList.Ids[2]); in TEST_F()
428 writeTypeRecords(FuncId, MemFuncId, StringId, StringList.Record, in TEST_F()
437 checkTypeReferences(3, StringList.Ids[0], StringList.Ids[1], in TEST_F()
438 StringList.Ids[2]); in TEST_F()
/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h55 ExportFunctionDefinitionToInterpreter(StringList &function_def) override;
57 bool GenerateTypeScriptFunction(StringList &input, std::string &output,
60 bool GenerateTypeSynthClass(StringList &input, std::string &output,
70 bool GenerateScriptAliasFunction(StringList &input,
177 Status GenerateFunction(const char *signature, const StringList &input,
180 Status GenerateBreakpointCommandCallbackData(StringList &input,
185 bool GenerateWatchpointCommandCallbackData(StringList &input,
/llvm-project/lldb/source/Core/
H A DIOHandler.cpp24 #include "lldb/Utility/StringList.h"
269 [this](Editline *editline, StringList &lines) { in IOHandlerEditline()
292 const StringList &lines, in IOHandlerEditline()
439 StringList &lines) {
444 const StringList &lines,
516 StringList IOHandlerEditline::GetCurrentLines() const { in GetCurrentLineIndex()
528 return StringList(); in GetCurrentLines()
531 bool IOHandlerEditline::GetLines(StringList &lines, bool &interrupted) { in GetCurrentLines()
578 StringList lines; in Run()
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dsl_add.cpp9 #include <stringlist.h>
14 StringList *sl = sl_init(); in main()
/llvm-project/lldb/include/lldb/Host/
H A DEditline.h53 #include "lldb/Utility/StringList.h"
94 llvm::unique_function<bool(Editline *, StringList &)>;
97 llvm::unique_function<int(Editline *, StringList &, int)>;
238 bool GetLines(int first_line_number, StringList &lines, bool &interrupted);
242 /// Convert the current input lines into a UTF8 StringList
243 StringList GetInputAsStringList(int line_count = UINT32_MAX);
/llvm-project/llvm/unittests/Support/
H A DScopedPrinterTest.cpp717 const std::vector<std::string> StringList = {"foo", "bar", "baz"}; in TEST_F() local
745 W.printList("StringList", StringList); in TEST_F()
759 StringList: [foo, bar, baz] in TEST_F()
774 "StringList": [ in TEST_F()
825 const std::string StringList[] = {"a", "ab", "abc"}; in TEST_F() local
826 W.printList("StringSizeList", StringList, in TEST_F()
903 ListScope L(W, "StringList"); in TEST_F()
910 StringList [ in TEST_F()
919 "StringList" in TEST_F()
[all...]

12345