Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A 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() = 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()
54 void StringList::AppendString(llvm::StringRef str) { in AppendString()
58 void StringList::AppendString(const llvm::Twine &str) { in AppendString()
[all …]
H A DCompletionRequest.cpp71 void CompletionResult::GetMatches(StringList &matches) const { in GetMatches()
77 void CompletionResult::GetDescriptions(StringList &descriptions) const { in GetDescriptions()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringList.h26 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);
111 StringList &operator=(const std::vector<std::string> &rhs);
[all …]
H A 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()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBStringList.cpp19 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()
97 void SBStringList::AppendList(const StringList &strings) { in AppendList()
[all …]
/freebsd/contrib/mandoc/
H A Dcompat_stringlist.h42 } StringList; typedef
44 StringList *sl_init(void);
45 int sl_add(StringList *, char *);
46 void sl_free(StringList *, int);
47 char *sl_find(StringList *, const char *);
48 int sl_delete(StringList *, const char *, int);
H A Dcompat_stringlist.c43 StringList *
46 StringList *sl; in sl_init()
48 sl = malloc(sizeof(StringList)); in sl_init()
67 sl_add(StringList *sl, char *name) in sl_add()
88 sl_free(StringList *sl, int all) in sl_free()
108 sl_find(StringList *sl, const char *name) in sl_find()
120 sl_delete(StringList *sl, const char *name, int all) in sl_delete()
/freebsd/usr.sbin/services_mkdb/
H A Dservices_mkdb.c58 static void add(DB *, StringList *, size_t, const char *, size_t *, int);
59 static StringList ***parseservices(const char *, StringList *);
64 static size_t getprotoindex(StringList *, const char *);
65 static const char *getprotostr(StringList *, size_t);
66 static const char *mkaliases(StringList *, char *, size_t);
91 StringList *sl, ***svc; in main()
153 StringList *s; in main()
189 add(DB *db, StringList *sl, size_t port, const char *proto, size_t *cnt, in add()
234 static StringList ***
235 parseservices(const char *fname, StringList *sl) in parseservices()
[all …]
/freebsd/include/
H A Dstringlist.h43 } StringList; typedef
46 StringList *sl_init(void);
47 int sl_add(StringList *, char *);
48 void sl_free(StringList *, int);
49 char *sl_find(StringList *, const char *);
/freebsd/contrib/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;
/freebsd/lib/libc/gen/
H A Dstringlist.c44 StringList *
47 StringList *sl; in sl_init()
49 sl = malloc(sizeof(StringList)); in sl_init()
66 sl_add(StringList *sl, char *name) in sl_add()
83 sl_free(StringList *sl, int all) in sl_free()
103 sl_find(StringList *sl, const char *name) in sl_find()
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandInterpreter.h291 StringList *matches = nullptr,
292 StringList *descriptions = nullptr) const;
295 StringList *matches = nullptr,
296 StringList *descriptions = nullptr) const;
390 void HandleCommands(const StringList &commands,
395 void HandleCommands(const StringList &commands,
437 StringList &matches,
438 StringList &descriptions);
508 void FindCommandsForApropos(llvm::StringRef word, StringList &commands_found,
509 StringList &commands_help,
[all …]
H A DCommandObjectMultiword.h48 StringList *matches = nullptr) override;
53 StringList *matches = nullptr) override;
104 StringList *matches = nullptr) override;
107 StringList *matches = nullptr) override;
H A DScriptInterpreter.h185 ExportFunctionDefinitionToInterpreter(StringList &function_def) { in ExportFunctionDefinitionToInterpreter()
191 virtual Status GenerateBreakpointCommandCallbackData(StringList &input, in GenerateBreakpointCommandCallbackData()
200 virtual bool GenerateWatchpointCommandCallbackData(StringList &input, in GenerateWatchpointCommandCallbackData()
212 virtual bool GenerateTypeScriptFunction(StringList &input,
218 virtual bool GenerateScriptAliasFunction(StringList &input, in GenerateScriptAliasFunction()
223 virtual bool GenerateTypeSynthClass(StringList &input, std::string &output,
304 const StringList &input, in GenerateFunction()
/freebsd/contrib/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
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectMultiword.cpp43 StringList *matches) { in GetSubcommandSP()
56 StringList local_matches; in GetSubcommandSP()
77 StringList *matches) { in GetSubcommandObject()
183 StringList matches; in Execute()
253 StringList new_matches, descriptions; in HandleCompletion()
261 StringList temp_matches; in HandleCompletion()
274 StringList new_matches; in HandleCompletion()
368 StringList *matches) { in GetSubcommandSP()
376 StringList *matches) { in GetSubcommandObject()
H A DCommandObjectApropos.cpp37 StringList commands_found; in DoExecute()
38 StringList commands_help; in DoExecute()
/freebsd/contrib/tnftp/src/
H A Dcomplete.c62 static unsigned char complete_ambiguous (char *, int, StringList *);
86 complete_ambiguous(char *word, int list, StringList *words) in complete_ambiguous()
142 StringList *words; in complete_command()
171 StringList *words; in complete_local()
254 StringList *words; in complete_option()
283 static StringList *dirlist; in complete_remote()
285 StringList *words; in complete_remote()
H A Dextern.h151 void list_vertical(StringList *);
250 StringList *ftp_sl_init(void);
251 void ftp_sl_add(StringList *, char *);
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DIOHandler.h18 #include "lldb/Utility/StringList.h"
234 const StringList &lines, in IOHandlerFixIndentation()
267 StringList &lines) { in IOHandlerIsInputComplete()
308 StringList &lines) override { in IOHandlerIsInputComplete()
398 bool GetLines(StringList &lines, bool &interrupted);
406 StringList GetCurrentLines() const; in GetCurrentLines()
414 bool IsInputCompleteCallback(Editline *editline, StringList &lines);
416 int FixIndentationCallback(Editline *editline, const StringList &lines,
431 StringList *m_current_lines_ptr;
/freebsd/contrib/tnftp/
H A Dtnftp.h180 } StringList; typedef
182 StringList *sl_init(void);
183 int sl_add(StringList *, char *);
184 void sl_free(StringList *, int);
185 char *sl_find(StringList *, char *);
/freebsd/contrib/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,
173 Status GenerateFunction(const char *signature, const StringList &input,
176 Status GenerateBreakpointCommandCallbackData(StringList &input,
181 bool GenerateWatchpointCommandCallbackData(StringList &input,
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h97 llvm::unique_function<bool(Editline *, StringList &)>;
100 llvm::unique_function<int(Editline *, StringList &, int)>;
237 bool GetLines(int first_line_number, StringList &lines, bool &interrupted);
242 StringList GetInputAsStringList(int line_count = UINT32_MAX);
/freebsd/contrib/bmake/
H A Dmake.h419 typedef struct List StringList; typedef
524 StringList commands;
737 StringList makefiles;
781 StringList variables;
799 StringList create;
943 void Targ_FindList(GNodeList *, StringList *);
1087 void AppendWords(StringList *, char *);
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DBreakpointOptions.h48 CommandData(const StringList &user_source, lldb::ScriptLanguage interp) in CommandData()
61 StringList user_source;
199 bool GetCommandLineCallbacks(StringList &command_list);

1234