Searched refs:first_word (Results 1 - 8 of 8) sorted by relevance

/systemd/src/resolve/
H A Dresolved-resolv-conf.c93 a = first_word(l, "nameserver");
102 a = first_word(l, "domain");
104 a = first_word(l, "search");
/systemd/src/test/
H A Dtest-util.c201 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 Dstring-util.h91 char *first_word(const char *s, const char *word) _pure_;
H A Dstring-util.c90 char* first_word(const char *s, const char *word) { function
/systemd/src/locale/
H A Dlocaled.c223 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 Dcgtop.c300 if (first_word(l, "Read")) {
303 } else if (first_word(l, "Write")) {
/systemd/src/core/
H A Dload-fragment.c1013 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 Dinstall.c2132 parameter = first_word(l, "enable");
2142 parameter = first_word(l, "disable");

Completed in 58 milliseconds