Searched refs:safe_atoi (Results 1 - 25 of 33) sorted by relevance

12

/systemd/src/basic/
H A Dparse-util.h44 int safe_atoi(const char *s, int *ret_i);
60 return safe_atoi(s, (int*) ret_i);
80 return safe_atoi(s, (int*) ret_u);
H A Dcap-list.c52 r = safe_atoi(name, &i);
H A Dparse-util.c96 r = safe_atoi(s, &ifi);
344 int safe_atoi(const char *s, int *ret_i) { function
H A Dfd-util.c235 if (safe_atoi(de->d_name, &fd) < 0)
H A Dfdset.c170 r = safe_atoi(de->d_name, &fd);
H A Dmount-util.c75 return safe_atoi(p, mnt_id);
H A Dterminal-util.c668 r = safe_atoi(tty+3, &i);
754 (void) safe_atoi(e, &c);
788 (void) safe_atoi(e, &l);
/systemd/src/journal/
H A Dtest-journal-init.c35 r = safe_atoi(argv[1], &I);
H A Djournald-kmsg.c134 r = safe_atoi(p, &priority);
H A Dtest-journal-interleaving.c96 assert_se(safe_atoi(k + 7, &x) >= 0);
H A Djournalctl.c260 r = safe_atoi(x, &off);
265 r = safe_atoi(x, &off);
506 r = safe_atoi(optarg, &arg_lines);
525 } else if (safe_atoi(argv[optind], &n) >= 0 && n >= 0) {
H A Djournald-stream.c324 r = safe_atoi(p, &s->priority);
/systemd/src/bootchart/
H A Dstore.c175 r = safe_atoi((const char*)(key+3), &c);
429 r = safe_atoi(ent->d_name, &tid);
H A Dbootchart.c203 r = safe_atoi(optarg, &arg_samples_len);
/systemd/src/udev/
H A Dudev-builtin-keyboard.c172 r = safe_atoi(value, &val_i);
H A Dudevd.c1390 r = safe_atoi(value, &arg_exec_delay);
1454 r = safe_atoi(optarg, &arg_exec_delay);
/systemd/src/core/
H A Dservice.c2260 if (safe_atoi(value, &fd) < 0 || fd < 0 || !fdset_contains(fds, fd))
2269 if (safe_atoi(value, &fd) < 0 || fd < 0 || !fdset_contains(fds, fd))
2283 if (safe_atoi(fdv, &fd) < 0 || fd < 0 || !fdset_contains(fds, fd))
2310 if (safe_atoi(value, &i) < 0)
2317 if (safe_atoi(value, &i) < 0)
2338 if (safe_atoi(value, &fd) < 0 || fd < 0 || !fdset_contains(fds, fd))
2348 if (safe_atoi(value, &fd) < 0 || fd < 0 || !fdset_contains(fds, fd))
2358 if (safe_atoi(value, &fd) < 0 || fd < 0 || !fdset_contains(fds, fd))
3059 if (safe_atoi(e, &status_errno) < 0 || status_errno < 0)
H A Dmain.c283 if (safe_atoi(value, &arg_crash_chvt) >= 0)
965 r = safe_atoi(optarg, &fd);
/systemd/src/libsystemd/sd-daemon/
H A Dsd-daemon.c84 r = safe_atoi(e, &n);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.c106 r = safe_atoi(value, &device->devlink_priority);
124 r = safe_atoi(value, &device->watch_handle);
H A Dsd-device.c1172 r = safe_atoi(value, &device->devlink_priority);
1178 r = safe_atoi(value, &device->watch_handle);
/systemd/src/coredump/
H A Dcoredumpctl.c448 if (safe_atoi(sgnl, &sig) >= 0)
/systemd/src/cryptsetup/
H A Dcryptsetup.c104 if (safe_atoi(option+9, &arg_key_slot) < 0) {
/systemd/src/network/
H A Dnetworkd-netdev-tunnel.c476 r = safe_atoi(rvalue, &k);
/systemd/src/shared/
H A Dconf-parser.c456 DEFINE_PARSER(int, int, safe_atoi);

Completed in 93 milliseconds

12