Searched refs:safe_atou16 (Results 1 – 13 of 13) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 471 TEST(safe_atou16) { in TEST() argument 475 r = safe_atou16("12345", &l); in TEST() 479 r = safe_atou16(" 12345", &l); in TEST() 483 r = safe_atou16("123456", &l); in TEST() 486 r = safe_atou16("-1", &l); in TEST() 489 r = safe_atou16(" -1", &l); in TEST() 492 r = safe_atou16("junk", &l); in TEST() 495 r = safe_atou16("123x", &l); in TEST() 498 r = safe_atou16("12.3", &l); in TEST() 501 r = safe_atou16("", &l); in TEST()
|
/systemd-251/src/shared/ |
D | vlan-util.c | 15 r = safe_atou16(p, &id); in parse_vlanid()
|
D | conf-parser.c | 765 DEFINE_PARSER(uint16, uint16_t, safe_atou16);
|
/systemd-251/src/network/netdev/ |
D | bond.c | 315 r = safe_atou16(rvalue, &v); in config_parse_ad_actor_sys_prio() 354 r = safe_atou16(rvalue, &v); in config_parse_ad_user_port_key()
|
D | ipoib.c | 135 r = safe_atou16(rvalue, &u); in config_parse_ipoib_pkey()
|
D | bridge.c | 246 r = safe_atou16(rvalue, &i); in config_parse_bridge_port_priority()
|
D | wireguard.c | 865 r = safe_atou16(rvalue, &keepalive); in config_parse_wireguard_keepalive()
|
/systemd-251/src/basic/ |
D | parse-util.h | 43 static inline int safe_atou16(const char *s, uint16_t *ret) { in safe_atou16() function
|
/systemd-251/src/resolve/ |
D | resolved-dns-trust-anchor.c | 254 r = safe_atou16(key_tag, &kt); in dns_trust_anchor_load_positive() 311 r = safe_atou16(flags, &f); in dns_trust_anchor_load_positive()
|
/systemd-251/src/network/ |
D | networkd-can.c | 326 r = safe_atou16(rvalue, &network->can_termination); in config_parse_can_termination()
|
D | networkd-dhcp-common.c | 738 r = safe_atou16(word, &u16); in config_parse_dhcp_send_option() 796 r = safe_atou16(p, &k); in config_parse_dhcp_send_option()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-lease.c | 1330 r = safe_atou16(mtu, &lease->mtu); in dhcp_lease_load()
|
/systemd-251/src/busctl/ |
D | busctl.c | 1475 r = safe_atou16(v, &z); in message_append_cmdline()
|