Home
last modified time | relevance | path

Searched refs:safe_atou16 (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/test/ !
Dtest-parse-util.c471 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/ !
Dvlan-util.c15 r = safe_atou16(p, &id); in parse_vlanid()
Dconf-parser.c765 DEFINE_PARSER(uint16, uint16_t, safe_atou16);
/systemd-251/src/network/netdev/ !
Dbond.c315 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()
Dipoib.c135 r = safe_atou16(rvalue, &u); in config_parse_ipoib_pkey()
Dbridge.c246 r = safe_atou16(rvalue, &i); in config_parse_bridge_port_priority()
Dwireguard.c865 r = safe_atou16(rvalue, &keepalive); in config_parse_wireguard_keepalive()
/systemd-251/src/basic/ !
Dparse-util.h43 static inline int safe_atou16(const char *s, uint16_t *ret) { in safe_atou16() function
/systemd-251/src/resolve/ !
Dresolved-dns-trust-anchor.c254 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/ !
Dnetworkd-can.c326 r = safe_atou16(rvalue, &network->can_termination); in config_parse_can_termination()
Dnetworkd-dhcp-common.c738 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/ !
Dsd-dhcp-lease.c1330 r = safe_atou16(mtu, &lease->mtu); in dhcp_lease_load()
/systemd-251/src/busctl/ !
Dbusctl.c1475 r = safe_atou16(v, &z); in message_append_cmdline()