Lines Matching refs:info
64 struct str_info *info; in str_to_int_convert() local
71 info = (struct str_info *)malloc(sizeof(struct str_info)); in str_to_int_convert()
72 if (!info) in str_to_int_convert()
144 info->any = any; in str_to_int_convert()
145 info->neg = neg; in str_to_int_convert()
146 info->acc = acc; in str_to_int_convert()
150 return info; in str_to_int_convert()
167 struct str_info *info; in strtoq() local
169 info = str_to_int_convert(&s, base, unsign); in strtoq()
170 if (!info) in strtoq()
173 acc = info->acc; in strtoq()
175 if (info->any < 0) in strtoq()
176 acc = info->neg ? LLONG_MIN : LLONG_MAX; in strtoq()
177 else if (info->neg) in strtoq()
180 *endptr = __DECONST(char *, info->any ? s - 1 : nptr); in strtoq()
182 free(info); in strtoq()
202 struct str_info *info; in strtouq() local
204 info = str_to_int_convert(&s, base, unsign); in strtouq()
205 if (!info) in strtouq()
208 acc = info->acc; in strtouq()
210 if (info->any < 0) in strtouq()
212 else if (info->neg) in strtouq()
215 *endptr = __DECONST(char *, info->any ? s - 1 : nptr); in strtouq()
217 free(info); in strtouq()