Lines Matching refs:endptr
199 char* endptr; in parse_uint() local
200 *retval = strtol(arg, &endptr, 0); in parse_uint()
201 if (*endptr != '\0' || *retval < 0) in parse_uint()
209 char* endptr; in parse_int() local
210 *retval = strtol(arg, &endptr, 0); in parse_int()
211 if (*endptr != '\0') in parse_int()
219 char* endptr; in parse_uint64() local
220 *retval = strtoull(arg, &endptr, 0); in parse_uint64()
221 if (*endptr != '\0') in parse_uint64()
229 char* endptr; in parse_double() local
230 *retval = strtod(arg, &endptr); in parse_double()
231 if (*endptr != '\0') in parse_double()
240 char* endptr; in parse_percent() local
241 *retval = strtod(arg, &endptr) / 100.0; in parse_percent()
242 if (*endptr != '\0') in parse_percent()