Searched refs:parse_range (Results 1 - 5 of 5) sorted by relevance
/systemd/src/test/ |
H A D | test-parse-util.c | 170 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 D | parse-util.h | 38 int parse_range(const char *t, unsigned *lower, unsigned *upper);
|
H A D | cpu-set-util.c | 94 r = parse_range(word, &cpu_lower, &cpu_upper);
|
H A D | parse-util.c | 234 int parse_range(const char *t, unsigned *lower, unsigned *upper) { function
|
/systemd/src/network/ |
H A D | networkd-netdev-vxlan.c | 202 r = parse_range(word, &low, &high);
|
Completed in 272 milliseconds