Searched refs:safe_atolli (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 420 TEST(safe_atolli) { in TEST() argument 424 r = safe_atolli("12345", &l); in TEST() 428 r = safe_atolli(" 12345", &l); in TEST() 432 r = safe_atolli("-12345", &l); in TEST() 436 r = safe_atolli(" -12345", &l); in TEST() 440 r = safe_atolli("0x5", &l); in TEST() 444 r = safe_atolli("0o6", &l); in TEST() 448 r = safe_atolli("0B101", &l); in TEST() 452 r = safe_atolli("12345678901234567890", &l); in TEST() 455 r = safe_atolli("-12345678901234567890", &l); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | parse-util.h | 37 int safe_atolli(const char *s, long long int *ret_i); 80 return safe_atolli(s, (long long int*) ret_i); in safe_atoi64() 104 return safe_atolli(s, (long long int*) ret_u); in safe_atoli()
|
D | parse-util.c | 456 int safe_atolli(const char *s, long long int *ret_lli) { in safe_atolli() function
|