Lines Matching refs:v
38 static unsigned long long handle_errors(unsigned long long v, char **endp) in handle_errors() argument
50 return v; in handle_errors()
56 unsigned long long v; in bb_strtoull() local
68 v = strtoull(arg, endp, base); in bb_strtoull()
69 return handle_errors(v, endp); in bb_strtoull()
74 unsigned long long v; in bb_strtoll() local
88 v = strtoll(arg, endp, base); in bb_strtoll()
89 return handle_errors(v, endp); in bb_strtoll()
95 unsigned long v; in bb_strtoul() local
103 v = strtoul(arg, endp, base); in bb_strtoul()
104 return handle_errors(v, endp); in bb_strtoul()
109 long v; in bb_strtol() local
120 v = strtol(arg, endp, base); in bb_strtol()
121 return handle_errors(v, endp); in bb_strtol()
128 unsigned long v; in bb_strtou() local
136 v = strtoul(arg, endp, base); in bb_strtou()
137 if (v > UINT_MAX) return ret_ERANGE(); in bb_strtou()
138 return handle_errors(v, endp); in bb_strtou()
143 long v; in bb_strtoi() local
154 v = strtol(arg, endp, base); in bb_strtoi()
155 if (v > INT_MAX) return ret_ERANGE(); in bb_strtoi()
156 if (v < INT_MIN) return ret_ERANGE(); in bb_strtoi()
157 return handle_errors(v, endp); in bb_strtoi()