Home
last modified time | relevance | path

Searched refs:safe_atoi64 (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-parse-util.c639 TEST(safe_atoi64) { in TEST() argument
643 r = safe_atoi64("-12345", &l); in TEST()
647 r = safe_atoi64(" -12345", &l); in TEST()
651 r = safe_atoi64("32767", &l); in TEST()
655 r = safe_atoi64(" 32767", &l); in TEST()
659 r = safe_atoi64(" 0o20", &l); in TEST()
663 r = safe_atoi64(" 0b01010", &l); in TEST()
667 r = safe_atoi64("9223372036854775813", &l); in TEST()
670 r = safe_atoi64("-9223372036854775813", &l); in TEST()
673 r = safe_atoi64("junk", &l); in TEST()
[all …]
/systemd-251/src/basic/
Dparse-util.h78 static inline int safe_atoi64(const char *s, int64_t *ret_i) { in safe_atoi64() function
/systemd-251/src/udev/
Dudev-builtin-blkid.c281 r = safe_atoi64(optarg, &offset); in builtin_blkid()
/systemd-251/src/journal-remote/
Djournal-gatewayd.c326 r = safe_atoi64(t, &m->n_skip); in request_parse_range()
/systemd-251/src/busctl/
Dbusctl.c1508 r = safe_atoi64(v, &z); in message_append_cmdline()
/systemd-251/src/shared/
Dbus-unit-util.c137 DEFINE_BUS_APPEND_PARSE_PTR("x", int64_t, int64_t, safe_atoi64);