Searched refs:safe_atoi16 (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-parse-util.c | 505 TEST(safe_atoi16) { in TEST() argument 509 r = safe_atoi16("-12345", &l); in TEST() 513 r = safe_atoi16(" -12345", &l); in TEST() 517 r = safe_atoi16("32767", &l); in TEST() 521 r = safe_atoi16(" 32767", &l); in TEST() 525 r = safe_atoi16("0o11", &l); in TEST() 529 r = safe_atoi16("0B110", &l); in TEST() 533 r = safe_atoi16("36536", &l); in TEST() 536 r = safe_atoi16("-32769", &l); in TEST() 539 r = safe_atoi16("junk", &l); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | parse-util.h | 51 int safe_atoi16(const char *s, int16_t *ret);
|
D | parse-util.c | 545 int safe_atoi16(const char *s, int16_t *ret) { in safe_atoi16() function
|
/systemd-251/src/busctl/ |
D | busctl.c | 1464 r = safe_atoi16(v, &z); in message_append_cmdline()
|