Searched refs:safe_atoi64 (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 639 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/ |
D | parse-util.h | 78 static inline int safe_atoi64(const char *s, int64_t *ret_i) { in safe_atoi64() function
|
/systemd-251/src/udev/ |
D | udev-builtin-blkid.c | 281 r = safe_atoi64(optarg, &offset); in builtin_blkid()
|
/systemd-251/src/journal-remote/ |
D | journal-gatewayd.c | 326 r = safe_atoi64(t, &m->n_skip); in request_parse_range()
|
/systemd-251/src/busctl/ |
D | busctl.c | 1508 r = safe_atoi64(v, &z); in message_append_cmdline()
|
/systemd-251/src/shared/ |
D | bus-unit-util.c | 137 DEFINE_BUS_APPEND_PARSE_PTR("x", int64_t, int64_t, safe_atoi64);
|