Searched refs:split_pair (Results 1 - 5 of 5) sorted by relevance

/systemd/src/basic/
H A Dstring-util.h163 int split_pair(const char *s, const char *sep, char **l, char **r);
H A Dstring-util.c751 int split_pair(const char *s, const char *sep, char **l, char **r) { function
/systemd/src/test/
H A Dtest-util.c900 assert_se(split_pair("", "", &a, &b) == -EINVAL);
901 assert_se(split_pair("foo=bar", "", &a, &b) == -EINVAL);
902 assert_se(split_pair("", "=", &a, &b) == -EINVAL);
903 assert_se(split_pair("foo=bar", "=", &a, &b) >= 0);
908 assert_se(split_pair("==", "==", &a, &b) >= 0);
914 assert_se(split_pair("===", "==", &a, &b) >= 0);
/systemd/src/network/
H A Dnetworkctl.c955 r = split_pair(word, "=", &a, &b);
/systemd/src/tmpfiles/
H A Dtmpfiles.c693 r = split_pair(xattr_replaced, "=", &name, &value);

Completed in 844 milliseconds