Searched refs:parse_range (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 237 TEST(parse_range) { in TEST() argument 241 assert_se(parse_range("111", &lower, &upper) == 0); in TEST() 245 assert_se(parse_range("111-123", &lower, &upper) == 0); in TEST() 249 assert_se(parse_range("123-111", &lower, &upper) == 0); in TEST() 253 assert_se(parse_range("123-123", &lower, &upper) == 0); in TEST() 257 assert_se(parse_range("0", &lower, &upper) == 0); in TEST() 261 assert_se(parse_range("0-15", &lower, &upper) == 0); in TEST() 265 assert_se(parse_range("15-0", &lower, &upper) == 0); in TEST() 269 assert_se(parse_range("128-65535", &lower, &upper) == 0); in TEST() 273 assert_se(parse_range("1024-4294967295", &lower, &upper) == 0); in TEST() [all …]
|
/systemd-251/src/shared/ |
D | vlan-util.c | 29 r = parse_range(p, &lower, &upper); in parse_vid_range()
|
D | cpu-set-util.c | 164 r = parse_range(word, &cpu_lower, &cpu_upper); in parse_cpu_set_full()
|
/systemd-251/src/basic/ |
D | parse-util.c | 259 int parse_range(const char *t, unsigned *lower, unsigned *upper) { in parse_range() function 663 r = parse_range(s, &l, &h); in parse_ip_port_range()
|
D | parse-util.h | 21 int parse_range(const char *t, unsigned *lower, unsigned *upper);
|
/systemd-251/src/network/netdev/ |
D | vlan.c | 163 r = parse_range(w, &m->from, &m->to); in config_parse_vlan_qos_maps()
|