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

/systemd/src/test/
H A Dtest-parse-util.c170 assert_se(parse_range("111", &lower, &upper) == 0);
174 assert_se(parse_range("111-123", &lower, &upper) == 0);
178 assert_se(parse_range("123-111", &lower, &upper) == 0);
182 assert_se(parse_range("123-123", &lower, &upper) == 0);
186 assert_se(parse_range("0", &lower, &upper) == 0);
190 assert_se(parse_range("0-15", &lower, &upper) == 0);
194 assert_se(parse_range("15-0", &lower, &upper) == 0);
198 assert_se(parse_range("128-65535", &lower, &upper) == 0);
202 assert_se(parse_range("1024-4294967295", &lower, &upper) == 0);
207 assert_se(parse_range(" 11
[all...]
/systemd/src/basic/
H A Dparse-util.h38 int parse_range(const char *t, unsigned *lower, unsigned *upper);
H A Dcpu-set-util.c94 r = parse_range(word, &cpu_lower, &cpu_upper);
H A Dparse-util.c234 int parse_range(const char *t, unsigned *lower, unsigned *upper) { function
/systemd/src/network/
H A Dnetworkd-netdev-vxlan.c202 r = parse_range(word, &low, &high);

Completed in 272 milliseconds