Home
last modified time | relevance | path

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

1234567

/external/llvm-project/lldb/source/Utility/
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() {} in ~StringList()
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) { m_strings.push_back(s); } in AppendString()
47 void StringList::AppendString(const char *str, size_t str_len) { in AppendString()
[all …]
/external/llvm-project/lldb/unittests/Utility/
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 …]
/external/python/pybind11/tests/
Dtest_opaque_types.cpp16 // This also deliberately doesn't use the below StringList type alias to test
21 using StringList = std::vector<std::string, std::allocator<std::string>>; typedef
25 py::class_<StringList>(m, "StringList") in TEST_SUBMODULE()
27 .def("pop_back", &StringList::pop_back) in TEST_SUBMODULE()
29 .def("push_back", (void (StringList::*)(const std::string &)) &StringList::push_back) in TEST_SUBMODULE()
30 .def("back", (std::string &(StringList::*)()) &StringList::back) in TEST_SUBMODULE()
31 .def("__len__", [](const StringList &v) { return v.size(); }) in TEST_SUBMODULE()
32 .def("__iter__", [](StringList &v) { in TEST_SUBMODULE()
38 StringList stringList; in TEST_SUBMODULE() member in TEST_SUBMODULE::ClassWithSTLVecProperty
42 .def_readwrite("stringList", &ClassWithSTLVecProperty::stringList); in TEST_SUBMODULE()
[all …]
Dtest_opaque_types.py8 lst = m.StringList()
20 assert m.print_opaque_list(cvp.stringList) == "Opaque list: []"
22 cvp.stringList = lst
23 cvp.stringList.push_back("Element 3")
24 assert m.print_opaque_list(cvp.stringList) == "Opaque list: [Element 1, Element 3]"
49 assert "StringList" in repr(ptr)
/external/llvm-project/lldb/include/lldb/Utility/
DStringList.h1 //===-- StringList.h --------------------------------------------*- C++ -*-===//
25 class StringList {
29 StringList();
31 explicit StringList(const char *str);
33 StringList(const char **strv, int strc);
35 virtual ~StringList();
49 void AppendList(StringList strings);
101 StringList &operator<<(const char *str);
103 StringList &operator<<(const std::string &s);
105 StringList &operator<<(const StringList &strings);
[all …]
DCompletionRequest.h14 #include "lldb/Utility/StringList.h"
83 void GetMatches(StringList &matches) const;
88 void GetDescriptions(StringList &descriptions) const;
196 void AddCompletions(const StringList &completions) { in AddCompletions()
209 void AddCompletions(const StringList &completions, in AddCompletions()
210 const StringList &descriptions) { in AddCompletions()
/external/libchrome/base/trace_event/
Dtrace_config_category_filter.h21 using StringList = std::vector<std::string>;
58 const StringList& included_categories() const { return included_categories_; } in included_categories()
59 const StringList& excluded_categories() const { return excluded_categories_; } in excluded_categories()
65 void AddCategoriesToDict(const StringList& categories,
69 void WriteCategoryFilterString(const StringList& values,
73 StringList included_categories_;
74 StringList disabled_categories_;
75 StringList excluded_categories_;
/external/llvm-project/lldb/source/API/
DSBStringList.cpp12 #include "lldb/Utility/StringList.h"
21 SBStringList::SBStringList(const lldb_private::StringList *lldb_strings_ptr) in SBStringList()
24 m_opaque_up = std::make_unique<StringList>(*lldb_strings_ptr); in SBStringList()
44 const lldb_private::StringList *SBStringList::operator->() const { in operator ->()
48 const lldb_private::StringList &SBStringList::operator*() const { in operator *()
69 m_opaque_up = std::make_unique<lldb_private::StringList>(str); in AppendString()
81 m_opaque_up = std::make_unique<lldb_private::StringList>(strv, strc); in AppendList()
91 m_opaque_up = std::make_unique<lldb_private::StringList>(); in AppendList()
96 void SBStringList::AppendList(const StringList &strings) { in AppendList()
98 m_opaque_up = std::make_unique<lldb_private::StringList>(); in AppendList()
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp169 StringList::StringList(UErrorCode &status) in StringList() function in StringList
184 StringList::~StringList() in ~StringList()
189 void StringList::add(const UnicodeString *string, UErrorCode &status) in add()
215 void StringList::add(const UChar *chars, int32_t count, UErrorCode &status) in add()
222 const UnicodeString *StringList::get(int32_t index) const in get()
231 int32_t StringList::size() const in size()
241 StringList *strings = (StringList *) obj; in deleteStringList()
254 StringList *getStringList(uint32_t ce) const;
257 void putStringList(uint32_t ce, StringList *stringList, UErrorCode &status);
286 StringList *strings = getStringList(ce); in put()
[all …]
Dcolldata.h45 * The size of the initial list in a <code>StringList</code> object.
123 * StringList
127 class StringList
131 * Construct an empty <code>StringList</code>
139 StringList(UErrorCode &status);
144 ~StringList();
238 * return a <code>StringList</code> object containing all
242 const StringList *getStringList(int32_t ce) const;
/external/llvm-project/lldb/include/lldb/Interpreter/
DCommandObjectMultiword.h41 StringList *matches = nullptr) override;
44 StringList *matches = nullptr) override;
48 StringList &commands_found,
49 StringList &commands_help) override;
100 StringList *matches = nullptr) override;
103 StringList *matches = nullptr) override;
107 StringList &commands_found,
108 StringList &commands_help) override;
DCommandInterpreter.h24 #include "lldb/Utility/StringList.h"
271 StringList *matches = nullptr,
272 StringList *descriptions = nullptr) const;
327 void HandleCommands(const StringList &commands, ExecutionContext *context,
367 StringList &matches,
368 StringList &descriptions);
440 void FindCommandsForApropos(llvm::StringRef word, StringList &commands_found,
441 StringList &commands_help,
580 StringList *matches = nullptr,
581 StringList *descriptions = nullptr) const;
[all …]
/external/icu/icu4c/source/python/icutools/databuilder/
Dfiltration_schema.json95 "whitelist": { "$ref": "#/definitions/stringList" }
105 "blacklist": { "$ref": "#/definitions/stringList" }
115 "includelist": { "$ref": "#/definitions/stringList" }
125 "excludelist": { "$ref": "#/definitions/stringList" }
152 "whitelist": { "$ref": "#/definitions/stringList" }
169 "includelist": { "$ref": "#/definitions/stringList" }
197 "stringList": { object
/external/llvm-project/lldb/source/Commands/
DCommandObjectMultiword.cpp30 StringList *matches) { in GetSubcommandSP()
42 StringList local_matches; in GetSubcommandSP()
64 StringList *matches) { in GetSubcommandObject()
113 StringList matches; in Execute()
185 StringList new_matches, descriptions; in HandleCompletion()
193 StringList temp_matches; in HandleCompletion()
206 StringList new_matches; in HandleCompletion()
234 StringList &commands_found, in AproposAllSubCommands()
235 StringList &commands_help) { in AproposAllSubCommands()
324 StringList *matches) { in GetSubcommandSP()
[all …]
/external/llvm-project/lldb/include/lldb/API/
DSBStringList.h51 SBStringList(const lldb_private::StringList *lldb_strings);
53 void AppendList(const lldb_private::StringList &strings);
55 const lldb_private::StringList *operator->() const;
57 const lldb_private::StringList &operator*() const;
60 std::unique_ptr<lldb_private::StringList> m_opaque_up;
/external/boringssl/src/crypto/err/
Derr_data_generate.go70 // stringList is a map from uint32 -> string which can output data for a sorted
72 type stringList struct { struct
84 func newStringList() *stringList {
85 return &stringList{
94 func (st *stringList) Add(key uint32, value string) error { argument
102 return errors.New("stringList overflow")
133 func (st *stringList) buildList() []uint32 { argument
143 func (st *stringList) WriteTo(out stringWriter, name string) { argument
170 reasons *stringList
/external/slf4j/integration/src/test/java/org/slf4j/
DStringPrintStream.java35 List<String> stringList = new ArrayList<String>(); field in StringPrintStream
44 stringList.add(s); in print()
49 stringList.add(s); in println()
54 stringList.add(o.toString()); in println()
DMissingSingletonMethodAssertionTest.java61 int lineCount = sps.stringList.size(); in test()
70 String s = (String) sps.stringList.get(0); in test()
74 String s = (String) sps.stringList.get(1); in test()
78 String s = (String) sps.stringList.get(2); in test()
DVersionMismatchAssertionTest.java57 String s0 = (String) sps.stringList.get(0); in test()
60 String s1 = (String) sps.stringList.get(1); in test()
63 String s2 = (String) sps.stringList.get(2); in test()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java49 static class StringList extends ArrayList<String> { } class in GenericMetadataSupportTest
63 assertThat(inferFrom(StringList.class).rawType()).isEqualTo(StringList.class); in can_get_raw_type_from_Class()
71 …assertThat(inferFrom(StringList.class.getGenericSuperclass()).rawType()).isEqualTo(ArrayList.class… in can_get_raw_type_from_ParameterizedType()
81 assertThat(inferFrom(StringList.class).actualTypeArguments().keySet()).isEmpty(); in can_get_type_variables_from_Class()
97 assertThat(inferFrom(StringList.class).actualTypeArguments().keySet()).isEmpty(); in can_get_type_variables_from_ParameterizedType()
102 …upport genericMetadata = inferFrom(StringList.class).resolveGenericReturnType(firstNamedMethod("it… in typeVariable_return_type_of____iterator____resolved_to_Iterator_and_type_argument_to_String()
/external/llvm-project/lldb/include/lldb/Expression/
DREPL.h98 StringList &lines) override;
100 int IOHandlerFixIndentation(IOHandler &io_handler, const StringList &lines,
110 static int CalculateActualIndentation(const StringList &lines);
123 const StringList &lines, int cursor_position,
149 StringList m_code; // All accumulated REPL statements are saved here
/external/llvm-project/llvm/test/TableGen/
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"]), " & ");
/external/llvm-project/lldb/unittests/Interpreter/
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()
/external/llvm-project/lldb/include/lldb/Core/
DIOHandler.h19 #include "lldb/Utility/StringList.h"
239 const StringList &lines, in IOHandlerFixIndentation()
272 StringList &lines) { in IOHandlerIsInputComplete()
316 StringList &lines) override { in IOHandlerIsInputComplete()
406 bool GetLines(StringList &lines, bool &interrupted);
414 const StringList *GetCurrentLines() const { return m_current_lines_ptr; } in GetCurrentLines()
422 static bool IsInputCompleteCallback(Editline *editline, StringList &lines,
425 static int FixIndentationCallback(Editline *editline, const StringList &lines,
441 StringList *m_current_lines_ptr;
/external/llvm-project/lldb/unittests/Editline/
DEditlineTest.cpp29 #include "lldb/Utility/StringList.h"
78 bool GetLines(lldb_private::StringList &lines, bool &interrupted,
85 lldb_private::StringList &lines, void *baton);
175 bool EditlineAdapter::GetLines(lldb_private::StringList &lines, in GetLines()
186 lldb_private::StringList &lines, in IsInputComplete()
294 lldb_private::StringList el_reported_lines; in TEST_F()

1234567