Home
last modified time | relevance | path

Searched refs:safe_atou64 (Results 1 – 25 of 57) sorted by relevance

123

/systemd-251/src/test/
Dtest-parse-util.c597 TEST(safe_atou64) { in TEST() argument
601 r = safe_atou64("12345", &l); in TEST()
605 r = safe_atou64(" 12345", &l); in TEST()
609 r = safe_atou64("0o11", &l); in TEST()
613 r = safe_atou64("0b11", &l); in TEST()
617 r = safe_atou64("18446744073709551617", &l); in TEST()
620 r = safe_atou64("-1", &l); in TEST()
623 r = safe_atou64(" -1", &l); in TEST()
626 r = safe_atou64("junk", &l); in TEST()
629 r = safe_atou64("123x", &l); in TEST()
[all …]
/systemd-251/src/basic/
Dprocfs-util.c26 return safe_atou64(value, ret); in procfs_get_pid_max()
39 return safe_atou64(value, ret); in procfs_get_threads_max()
113 return safe_atou64(nr, ret); in procfs_tasks_get_current()
208 r = safe_atou64(digits, &v); in convert_meminfo_value_to_uint64_bytes()
Drlimit-util.c93 r = safe_atou64(val, &u); in rlimit_parse_u64()
193 r = safe_atou64(val + 1, &rl); in rlimit_parse_nice()
205 r = safe_atou64(val + 1, &rl); in rlimit_parse_nice()
216 r = safe_atou64(val, &rl); in rlimit_parse_nice()
Dlimits-util.c66 r = safe_atou64(value, &lim); in physical_memory()
Dparse-util.h73 static inline int safe_atou64(const char *s, uint64_t *ret_u) { in safe_atou64() function
Dlog.c246 if (safe_atou64(w, &dev) < 0) in stderr_is_journal()
248 if (safe_atou64(e, &ino) < 0) in stderr_is_journal()
/systemd-251/src/core/
Dunit-serialize.c356 … else if (MATCH_DESERIALIZE_IMMEDIATE("cpu-usage-base", l, v, safe_atou64, u->cpu_usage_base) || in unit_deserialize()
357 … MATCH_DESERIALIZE_IMMEDIATE("cpuacct-usage-base", l, v, safe_atou64, u->cpu_usage_base)) in unit_deserialize()
360 … else if (MATCH_DESERIALIZE_IMMEDIATE("cpu-usage-last", l, v, safe_atou64, u->cpu_usage_last)) in unit_deserialize()
363 …else if (MATCH_DESERIALIZE_IMMEDIATE("managed-oom-kill-last", l, v, safe_atou64, u->managed_oom_ki… in unit_deserialize()
366 … else if (MATCH_DESERIALIZE_IMMEDIATE("oom-kill-last", l, v, safe_atou64, u->oom_kill_last)) in unit_deserialize()
493 r = safe_atou64(v, &c); in unit_deserialize()
505 r = safe_atou64(v, &c); in unit_deserialize()
517 r = safe_atou64(v, &c); in unit_deserialize()
/systemd-251/src/sysupdate/
Dsysupdate-pattern.c276 if (safe_atou64(t, &v) < 0) in pattern_match()
305 r = safe_atou64(t, &u); in pattern_match()
319 r = safe_atou64(t, &u); in pattern_match()
333 r = safe_atou64(t, &u); in pattern_match()
/systemd-251/src/shared/
Defi-loader.c25 r = safe_atou64(j, &x); in read_usec()
213 r = safe_atou64(v, &sec); in efi_loader_get_config_timeout_one_shot()
Dfind-esp.c112 r = safe_atou64(v, &pstart); in verify_esp_blkid()
120 r = safe_atou64(v, &psize); in verify_esp_blkid()
202 r = safe_atou64(v, &pstart); in verify_esp_udev()
209 r = safe_atou64(v, &psize); in verify_esp_udev()
Dcgroup-setup.c165 r = safe_atou64(s, &u); in cg_weight_parse()
185 r = safe_atou64(s, &u); in cg_cpu_shares_parse()
205 r = safe_atou64(s, &u); in cg_blkio_weight_parse()
Dpsi-util.c90 r = safe_atou64(v, &rp.total); in read_resource_pressure()
Dloop-util.c66 r = safe_atou64(strstrip(p), ret); in get_current_uevent_seqnum()
849 r = safe_atou64(buffer, &partno); in resize_partition()
859 r = safe_atou64(buffer, &current_offset); in resize_partition()
Djournal-importer.c229 r = safe_atou64(value, &x); in process_special_field()
246 r = safe_atou64(value, &x); in process_special_field()
Dserialize.c138 r = safe_atou64(value, ret); in deserialize_usec()
Dlogs-show.c331 r = safe_atou64(monotonic, &t); in output_timestamp_monotonic()
350 r = safe_atou64(realtime, &x); in output_timestamp_realtime()
666 r = safe_atou64(value, &realtime); in output_verbose()
/systemd-251/src/cgtop/
Dcgtop.c235 r = safe_atou64(v, &g->n_tasks); in process()
265 r = safe_atou64(v, &g->memory); in process()
328 r = safe_atou64(l, &k); in process()
387 r = safe_atou64(val, &new_usage); in process()
406 r = safe_atou64(v, &new_usage); in process()
/systemd-251/src/boot/
Dbless-boot.c172 r = safe_atou64(z, &left); in parse_counter()
188 r = safe_atou64(z, &done); in parse_counter()
/systemd-251/src/systemctl/
Dsystemctl-sysv-compat.c69 if (safe_atou64(t, &u) < 0) in parse_shutdown_time_spec()
/systemd-251/src/oom/
Doomd-util.c45 r = safe_atou64(value, &curr_count); in increment_oomd_xattr()
404 r = safe_atou64(val, &ctx->pgscan); in oomd_cgroup_context_acquire()
/systemd-251/src/libsystemd/sd-device/
Ddevice-private.c243 r = safe_atou64(str, &seqnum); in device_set_seqnum()
289 r = safe_atou64(value, &t); in device_amend()
/systemd-251/src/journal/
Djournald-kmsg.c138 r = safe_atou64(p, &serial); in dev_kmsg_record()
/systemd-251/src/import/
Dimport.c395 r = safe_atou64(optarg, &u); in parse_argv()
/systemd-251/src/shutdown/
Dshutdown.c325 r = safe_atou64(s, &usec); in init_watchdog()
/systemd-251/src/cryptsetup/
Dcryptsetup.c191 r = safe_atou64(val, &arg_keyfile_offset); in parse_one_option()
296 r = safe_atou64(val, &arg_offset); in parse_one_option()
302 r = safe_atou64(val, &arg_skip); in parse_one_option()

123