Searched refs:ret_u (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/basic/ |
D | parse-util.h | 30 int safe_atou_full(const char *s, unsigned base, unsigned *ret_u); 32 static inline int safe_atou(const char *s, unsigned *ret_u) { in safe_atou() argument 33 return safe_atou_full(s, 0, ret_u); in safe_atou() 53 static inline int safe_atou32_full(const char *s, unsigned base, uint32_t *ret_u) { in safe_atou32_full() argument 55 return safe_atou_full(s, base, (unsigned*) ret_u); in safe_atou32_full() 58 static inline int safe_atou32(const char *s, uint32_t *ret_u) { in safe_atou32() argument 59 return safe_atou32_full(s, 0, (unsigned*) ret_u); in safe_atou32() 73 static inline int safe_atou64(const char *s, uint64_t *ret_u) { in safe_atou64() argument 75 return safe_atollu(s, (unsigned long long*) ret_u); in safe_atou64() 89 static inline int safe_atolu_full(const char *s, unsigned base, unsigned long *ret_u) { in safe_atolu_full() argument [all …]
|
D | parse-util.c | 342 int safe_atou_full(const char *s, unsigned base, unsigned *ret_u) { in safe_atou_full() argument 387 if (ret_u) in safe_atou_full() 388 *ret_u = (unsigned) l; in safe_atou_full()
|