/systemd-251/src/basic/ |
D | extract-word.c | 20 int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags) { in extract_first_word() argument 37 if (!separators) in extract_first_word() 38 separators = WHITESPACE; in extract_first_word() 52 else if (strchr(separators, c)) { in extract_first_word() 107 (strchr(separators, **p) || **p == '\\')) in extract_first_word() 155 } else if (strchr(separators, c)) { in extract_first_word() 166 if (!strchr(separators, c)) in extract_first_word() 203 const char *separators, in extract_first_word_and_warn() argument 218 r = extract_first_word(p, ret, separators, flags); in extract_first_word_and_warn() 226 r = extract_first_word(p, ret, separators, flags|EXTRACT_UNESCAPE_RELAX); in extract_first_word_and_warn() [all …]
|
D | extract-word.h | 20 int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags); 21 int extract_first_word_and_warn(const char **p, char **ret, const char *separators, ExtractFlags fl… 22 int extract_many_words(const char **p, const char *separators, unsigned flags, ...) _sentinel_;
|
D | strv.h | 76 int strv_split_full(char ***t, const char *s, const char *separators, ExtractFlags flags); 77 static inline char** strv_split(const char *s, const char *separators) { in strv_split() argument 80 if (strv_split_full(&ret, s, separators, EXTRACT_RETAIN_ESCAPE) < 0) in strv_split() 86 int strv_split_and_extend_full(char ***t, const char *s, const char *separators, bool filter_duplic…
|
D | string-util.h | 230 int string_contains_word_strv(const char *string, const char *separators, char **words, const char … 231 static inline int string_contains_word(const char *string, const char *separators, const char *word… in string_contains_word() argument 232 return string_contains_word_strv(string, separators, STRV_MAKE(word), NULL); in string_contains_word()
|
D | strv.c | 249 int strv_split_full(char ***t, const char *s, const char *separators, ExtractFlags flags) { in strv_split_full() argument 260 r = extract_first_word(&s, &word, separators, flags); in strv_split_full() 284 int strv_split_and_extend_full(char ***t, const char *s, const char *separators, bool filter_duplic… in strv_split_and_extend_full() argument 291 r = strv_split_full(&l, s, separators, flags); in strv_split_and_extend_full()
|
D | string-util.c | 1123 int string_contains_word_strv(const char *string, const char *separators, char **words, const char … in string_contains_word_strv() argument 1126 const ExtractFlags flags = separators ? EXTRACT_DONT_COALESCE_SEPARATORS : 0; in string_contains_word_strv() 1134 r = extract_first_word(&p, &w, separators, flags); in string_contains_word_strv()
|
D | set.h | 137 int set_put_strsplit(Set *s, const char *v, const char *separators, ExtractFlags flags);
|
D | hashmap.c | 1882 int set_put_strsplit(Set *s, const char *v, const char *separators, ExtractFlags flags) { in set_put_strsplit() argument 1892 r = extract_first_word(&p, &word, separators, flags); in set_put_strsplit()
|
/systemd-251/docs/ |
D | DISCOVERABLE_PARTITIONS.md | 279 separators or such).
|
D | USER_RECORD.md | 240 as record separators in classic `/etc/passwd` files and similar formats.
|