Searched refs:safe_atou (Results 1 - 25 of 36) sorted by relevance

12

/systemd/src/basic/
H A Dparse-util.h43 int safe_atou(const char *s, unsigned *ret_u);
55 return safe_atou(s, (unsigned*) ret_u);
76 return safe_atou(s, (unsigned*) ret_u);
H A Dstring-table.h101 if (safe_atou(s, &u) >= 0 && u <= max) \
H A Dparse-util.c249 r = safe_atou(word, &l);
261 r = safe_atou(t, &u);
312 int safe_atou(const char *s, unsigned *ret_u) { function
H A Dsignal-util.c256 if (safe_atou(s, &u) >= 0) {
H A Dsocket-util.c77 r = safe_atou(e, &u);
116 r = safe_atou(e+1, &u);
155 r = safe_atou(s, &u);
/systemd/src/test/
H A Dtest-cap-list.c61 if (safe_atou(a, &u) >= 0)
/systemd/src/udev/
H A Dudevadm-settle.c67 r = safe_atou(optarg, &timeout);
/systemd/src/libsystemd-network/
H A Dtest-ipv4ll-manual.c74 assert_se(safe_atou(seed_str, &seed) >= 0);
H A Dnetwork-internal.c509 r = safe_atou(tok, &n);
/systemd/src/resolve/
H A Ddns-type.c50 if (safe_atou(s, &x) >= 0 &&
/systemd/src/backlight/
H A Dbacklight.c216 r = safe_atou(max_brightness_str, &max_brightness);
240 r = safe_atou(*value, &brightness);
/systemd/src/cryptsetup/
H A Dcryptsetup.c89 if (safe_atou(option+5, &arg_key_size) < 0) {
120 if (safe_atou(option+13, &arg_keyfile_size) < 0) {
127 if (safe_atou(option+15, &arg_keyfile_offset) < 0) {
161 if (safe_atou(option+6, &arg_tries) < 0) {
/systemd/src/journal/
H A Dtest-compress-benchmark.c161 assert_se(safe_atou(argv[1], &x) >= 0);
H A Dtest-journal-stream.c60 assert_se(safe_atou(k + 7, &u) >= 0);
/systemd/src/shared/
H A Dfstab-util.c197 r = safe_atou(opt, &pri);
H A Dconf-parser.c460 DEFINE_PARSER(unsigned, unsigned, safe_atou);
/systemd/src/udev/net/
H A Dlink-config.c310 r = safe_atou(s, &type);
327 r = safe_atou(s, &type);
/systemd/src/hostname/
H A Dhostnamed.c167 r = safe_atou(type, &t);
204 r = safe_atou(type, &t);
/systemd/src/core/
H A Dautomount.c837 if (safe_atou(value, &d) < 0)
844 if (safe_atou(value, &token) < 0)
860 if (safe_atou(value, &token) < 0)
/systemd/src/libsystemd/sd-device/
H A Dsd-device.c407 r = safe_atou(_devmode, &devmode);
430 r = safe_atou(major, &maj);
437 r = safe_atou(minor, &min);
H A Ddevice-private.c325 r = safe_atou(uid, &u);
360 r = safe_atou(gid, &g);
/systemd/src/cgtop/
H A Dcgtop.c719 r = safe_atou(optarg, &arg_depth);
737 r = safe_atou(optarg, &arg_iterations);
/systemd/src/login/
H A Dlogind-session.c388 safe_atou(vtnr, &s->vtnr);
406 safe_atou(position, &npos);
H A Dlogind-seat.c401 r = safe_atou(t+3, &vtnr);
/systemd/src/firstboot/
H A Dfirstboot.c172 r = safe_atou(p, &u);

Completed in 91 milliseconds

12