Lines Matching refs:endptr
114 char *endptr; in scaledtouint64() local
138 *uint64out = strtoull(scaledin, &endptr, 16); in scaledtouint64()
145 if (*endptr != '\0') in scaledtouint64()
159 value = strtod(scaledin, &endptr); in scaledtouint64()
167 if (endptr == scaledin) in scaledtouint64()
179 *widthout = (int)(endptr - scaledin); in scaledtouint64()
182 if (*endptr != '\0') { in scaledtouint64()
186 cmp = strncasecmp(modifiers[index], endptr, in scaledtouint64()
189 cmp = strncmp(modifiers[index], endptr, in scaledtouint64()
195 endptr += strlen(modifiers[index]); in scaledtouint64()
211 *uint64out = strtoull(scaledin, &endptr, 0); in scaledtouint64()
218 if (endptr == scaledin) in scaledtouint64()
223 if ((unit == NULL || *unit == '\0') && (*endptr != '\0')) in scaledtouint64()
229 (*endptr == '\0')) in scaledtouint64()
237 (*endptr == '\0')) in scaledtouint64()
241 cmp = strncasecmp(unit, endptr, strlen(unit)); in scaledtouint64()
243 cmp = strncmp(unit, endptr, strlen(unit)); in scaledtouint64()
248 if (*(endptr + strlen(unit)) != '\0') in scaledtouint64()