Searched refs:first_word (Results 1 - 8 of 8) sorted by relevance
| /systemd/src/resolve/ |
| H A D | resolved-resolv-conf.c | 93 a = first_word(l, "nameserver"); 102 a = first_word(l, "domain"); 104 a = first_word(l, "search");
|
| /systemd/src/test/ |
| H A D | test-util.c | 201 assert_se(first_word("Hello", "")); 202 assert_se(first_word("Hello", "Hello")); 203 assert_se(first_word("Hello world", "Hello")); 204 assert_se(first_word("Hello\tworld", "Hello")); 205 assert_se(first_word("Hello\nworld", "Hello")); 206 assert_se(first_word("Hello\rworld", "Hello")); 207 assert_se(first_word("Hello ", "Hello")); 209 assert_se(!first_word("Hello", "Hellooo")); 210 assert_se(!first_word("Hello", "xxxxx")); 211 assert_se(!first_word("Helloo [all...] |
| /systemd/src/basic/ |
| H A D | string-util.h | 91 char *first_word(const char *s, const char *word) _pure_;
|
| H A D | string-util.c | 90 char* first_word(const char *s, const char *word) { function
|
| /systemd/src/locale/ |
| H A D | localed.c | 223 if (in_section && first_word(l, "Option")) { 249 } else if (!in_section && first_word(l, "Section")) { 259 } else if (in_section && first_word(l, "EndSection"))
|
| /systemd/src/cgtop/ |
| H A D | cgtop.c | 300 if (first_word(l, "Read")) { 303 } else if (first_word(l, "Write")) {
|
| /systemd/src/core/ |
| H A D | load-fragment.c | 1013 if (first_word(word, "keep-caps")) 1015 else if (first_word(word, "keep-caps-locked")) 1017 else if (first_word(word, "no-setuid-fixup")) 1019 else if (first_word(word, "no-setuid-fixup-locked")) 1021 else if (first_word(word, "noroot")) 1023 else if (first_word(word, "noroot-locked"))
|
| /systemd/src/shared/ |
| H A D | install.c | 2132 parameter = first_word(l, "enable"); 2142 parameter = first_word(l, "disable");
|
Completed in 58 milliseconds