Lines Matching refs:ret_u
96 int safe_atou(const char *s, unsigned *ret_u);
99 int safe_atollu(const char *s, unsigned long long *ret_u);
104 static inline int safe_atolu(const char *s, unsigned long *ret_u) {
106 return safe_atou(s, (unsigned*) ret_u);
108 static inline int safe_atoli(const char *s, long int *ret_u) {
110 return safe_atoi(s, (int*) ret_u);
113 static inline int safe_atolu(const char *s, unsigned long *ret_u) {
115 return safe_atollu(s, (unsigned long long*) ret_u);
117 static inline int safe_atoli(const char *s, long int *ret_u) {
119 return safe_atolli(s, (long long int*) ret_u);
123 static inline int safe_atou64(const char *s, uint64_t *ret_u) {
125 return safe_atollu(s, (unsigned long long*) ret_u);