Lines Matching refs:ret_u
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
91 return safe_atou_full(s, base, (unsigned*) ret_u); in safe_atolu_full()
93 static inline int safe_atoli(const char *s, long int *ret_u) { in safe_atoli() argument
95 return safe_atoi(s, (int*) ret_u); in safe_atoli()
98 static inline int safe_atolu_full(const char *s, unsigned base, unsigned long *ret_u) { in safe_atolu_full() argument
100 return safe_atollu_full(s, base, (unsigned long long*) ret_u); in safe_atolu_full()
102 static inline int safe_atoli(const char *s, long int *ret_u) { in safe_atoli() argument
104 return safe_atolli(s, (long long int*) ret_u); in safe_atoli()
108 static inline int safe_atolu(const char *s, unsigned long *ret_u) { in safe_atolu() argument
109 return safe_atolu_full(s, 0, ret_u); in safe_atolu()
113 static inline int safe_atozu(const char *s, size_t *ret_u) { in safe_atozu() argument
115 return safe_atou(s, (unsigned *) ret_u); in safe_atozu()
118 static inline int safe_atozu(const char *s, size_t *ret_u) { in safe_atozu() argument
120 return safe_atolu(s, ret_u); in safe_atozu()