Home
last modified time | relevance | path

Searched refs:StringList (Results 1 – 25 of 99) sorted by relevance

1234

/external/llvm-project/lldb/source/Utility/
DStringList.cpp22 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()
52 void StringList::AppendString(llvm::StringRef str) { in AppendString()
56 void StringList::AppendList(const char **strv, int strc) { in AppendList()
[all …]
/external/llvm-project/lldb/unittests/Utility/
DStringListTest.cpp17 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()
119 StringList s; in TEST()
[all …]
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()
/external/python/pybind11/tests/
Dtest_opaque_types.cpp21 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()
44 m.def("print_opaque_list", [](const StringList &l) { in TEST_SUBMODULE()
62 m.def("return_unique_ptr", []() -> std::unique_ptr<StringList> { in TEST_SUBMODULE()
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DStringList.h25 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);
108 StringList &operator=(const std::vector<std::string> &rhs);
[all …]
DCompletionRequest.h83 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.cpp21 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/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.h271 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;
594 void FindCommandsForApropos(llvm::StringRef word, StringList &commands_found,
[all …]
DCommandObject.h37 StringList &matches, StringList *descriptions = nullptr) {
158 StringList *matches = nullptr) {
163 StringList *matches = nullptr) {
169 StringList &commands_found, in AproposAllSubCommands()
170 StringList &commands_help) {} in AproposAllSubCommands()
DScriptInterpreter.h148 ExportFunctionDefinitionToInterpreter(StringList &function_def) { in ExportFunctionDefinitionToInterpreter()
155 StringList &input, in GenerateBreakpointCommandCallbackData()
163 virtual bool GenerateWatchpointCommandCallbackData(StringList &input, in GenerateWatchpointCommandCallbackData()
174 virtual bool GenerateTypeScriptFunction(StringList &input,
180 virtual bool GenerateScriptAliasFunction(StringList &input, in GenerateScriptAliasFunction()
185 virtual bool GenerateTypeSynthClass(StringList &input, std::string &output,
330 const StringList &input) { in GenerateFunction()
/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.h127 class StringList
139 StringList(UErrorCode &status);
144 ~StringList();
242 const StringList *getStringList(int32_t ce) const;
/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/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/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/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/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/include/lldb/Core/
DIOHandler.h239 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.cpp78 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()
/external/llvm-project/lldb/unittests/Interpreter/
DTestCompletion.cpp106 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/Host/
DEditline.h95 StringList &lines, void *baton);
98 const StringList &lines,
211 bool GetLines(int first_line_number, StringList &lines, bool &interrupted);
271 StringList GetInputAsStringList(int line_count = UINT32_MAX);
/external/llvm-project/llvm/unittests/DebugInfo/CodeView/
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()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPythonImpl.h52 ExportFunctionDefinitionToInterpreter(StringList &function_def) override;
54 bool GenerateTypeScriptFunction(StringList &input, std::string &output,
57 bool GenerateTypeSynthClass(StringList &input, std::string &output,
67 bool GenerateScriptAliasFunction(StringList &input,
186 const StringList &input) override;
189 StringList &input,
193 bool GenerateWatchpointCommandCallbackData(StringList &input,

1234