Home
last modified time | relevance | path

Searched refs:safe_atou (Results 1 – 25 of 65) sorted by relevance

123

/systemd-251/src/udev/
Dtest-udev-netlink.c26 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
29 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
35 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
38 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
65 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
68 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
74 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
77 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
83 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
86 assert_se(safe_atou(s, &u) >= 0); in test_link_info_one()
[all …]
Dudevadm-control.c144 r = safe_atou(optarg, &i); in control_main()
/systemd-251/src/backlight/
Dbacklight.c240 r = safe_atou(s, ret); in get_max_brightness()
326 r = safe_atou(value, &brightness); in read_brightness()
349 r = safe_atou(value, &brightness); in read_brightness()
461 r = safe_atou(value, &brightness); in run()
/systemd-251/src/basic/
Ddevnum-util.c27 r = safe_atou(major, &x); in parse_devnum()
31 r = safe_atou(s + n + 1, &y); in parse_devnum()
Dparse-util.h32 static inline int safe_atou(const char *s, unsigned *ret_u) { in safe_atou() function
115 return safe_atou(s, (unsigned *) ret_u); in safe_atozu()
Dparse-util.c274 r = safe_atou(word, &l); in parse_range()
286 r = safe_atou(t, &u); in parse_range()
683 r = safe_atou(s, &l); in parse_ip_prefix_length()
Drandom-util.c223 r = safe_atou(s, &sz); in random_pool_size()
Dstring-table.h67 if (safe_atou(s, &u) < 0) \
/systemd-251/src/shared/
Dsocket-netlink.c49 r = safe_atou(e+1, &port); in socket_address_parse()
60 r = safe_atou(n, &cid); in socket_address_parse()
177 r = safe_atou(s, &group); in socket_address_parse_netlink()
Dudev-util.c83 r = safe_atou(children_max, ret_children_max); in udev_parse_config_full()
704 r = safe_atou(val, &v); in on_ac_power()
/systemd-251/src/test/
Dtest-daemon.c19 assert_se(safe_atou(argv[1], &x) >= 0); in main()
Dtest-loop-block.c134 r = safe_atou(argv[1], &arg_n_threads); in run()
142 r = safe_atou(argv[2], &arg_n_iterations); in run()
Dtest-cap-list.c46 if (safe_atou(a, &u) >= 0) in TEST()
Dtest-compress-benchmark.c150 assert_se(safe_atou(argv[1], &x) >= 0); in main()
/systemd-251/src/fuzz/
Dfuzz-main.c31 r = safe_atou(v, &number_of_runs); in main()
/systemd-251/src/network/tc/
Dteql.c66 r = safe_atou(rvalue, &id); in config_parse_trivial_link_equalizer_id()
Dnetem.c214 r = safe_atou(rvalue, &ne->limit); in config_parse_network_emulator_packet_limit()
/systemd-251/src/analyze/
Danalyze.c424 r = safe_atou(optarg, &arg_threshold); in parse_argv()
443 r = safe_atou(optarg, &arg_iterations); in parse_argv()
/systemd-251/src/libsystemd-network/
Dtest-ipv4ll-manual.c58 assert_se(safe_atou(seed_str, &seed) >= 0); in client_run()
Dnetwork-internal.c206 r = safe_atou(tok, &n); in deserialize_dhcp_routes()
/systemd-251/src/cryptenroll/
Dcryptenroll-list.c80 r = safe_atou(json_variant_string(z), &u); in list_enrolled()
/systemd-251/src/network/
Dnetworkd-route-util.c28 if (safe_atou(s4, &val4) >= 0 && val4 == 2147483647U) in routes_max()
33 (void) safe_atou(s6, &val6); in routes_max()
/systemd-251/src/core/
Dbpf-devices.c431 if (safe_atou(name, &maj) >= 0 && DEVICE_MAJOR_VALID(maj)) in bpf_devices_allow_list_major()
478 r = safe_atou(p, &maj); in bpf_devices_allow_list_major()
/systemd-251/src/network/netdev/
Dvxlan.c333 r = safe_atou(rvalue, &f); in config_parse_flow_label()
374 r = safe_atou(rvalue, &f); in config_parse_vxlan_ttl()
/systemd-251/src/resolve/
Ddns-type.c34 if (safe_atou(s, &x) >= 0 && in dns_type_from_string()

123