Lines Matching refs:endptr
1119 char *endptr;
1122 num = strtoull(arg, &endptr, 0);
1123 if (endptr == arg) {
1127 if (*endptr == 'k' || *endptr == 'K') {
1132 endptr++;
1133 } else if (*endptr == 'm' || *endptr == 'M') {
1138 endptr++;
1139 } else if (*endptr == 'g' || *endptr == 'G') {
1144 endptr++;
1147 if (*endptr != '\0') {
1307 char *endptr = nullptr;
1310 val = strtoul(optarg, &endptr, 0);
1311 if (!endptr || *endptr != '\0' || (val & ~0xffff))