Home
last modified time | relevance | path

Searched refs:numstr (Results 1 – 5 of 5) sorted by relevance

/busybox-1.35.0/libbb/
Dxatonum_template.c19 unsigned type FAST_FUNC xstrtou(_range_sfx)(const char *numstr, int base, in xstrtou()
29 if (*numstr == '-' || *numstr == '+' || isspace(*numstr)) in xstrtou()
37 r = XSTR_STRTOU(numstr, &e, base); in xstrtou()
41 if (errno || numstr == e) in xstrtou()
71 numstr, (unsigned long long)lower, in xstrtou()
74 bb_error_msg_and_die("invalid number '%s'", numstr); in xstrtou()
77 unsigned type FAST_FUNC xstrtou(_range)(const char *numstr, int base, in xstrtou()
81 return xstrtou(_range_sfx)(numstr, base, lower, upper, NULL); in xstrtou()
84 unsigned type FAST_FUNC xstrtou(_sfx)(const char *numstr, int base, in xstrtou()
87 return xstrtou(_range_sfx)(numstr, base, 0, XSTR_UTYPE_MAX, suffixes); in xstrtou()
[all …]
Dxatonum.c61 int FAST_FUNC xatoi_positive(const char *numstr) in xatoi_positive() argument
63 return xatou_range(numstr, 0, INT_MAX); in xatoi_positive()
66 uint16_t FAST_FUNC xatou16(const char *numstr) in xatou16() argument
68 return xatou_range(numstr, 0, 0xffff); in xatou16()
/busybox-1.35.0/coreutils/
Dfactor.c220 static void factorize_numstr(const char *numstr) in factorize_numstr() argument
225 if (*numstr == '+') in factorize_numstr()
226 numstr++; in factorize_numstr()
227 N = bb_strtoull(numstr, NULL, 10); in factorize_numstr()
248 char *numstr, *line; in factor_main() local
252 numstr = line; in factor_main()
255 numstr = skip_whitespace(numstr); in factor_main()
256 if (!numstr[0]) in factor_main()
258 end = skip_non_whitespace(numstr); in factor_main()
261 factorize_numstr(numstr); in factor_main()
[all …]
/busybox-1.35.0/include/
Dxatonum.h105 static ALWAYS_INLINE uint32_t xatou32(const char *numstr) in xatou32() argument
108 return xatou(numstr); in xatou32()
110 return xatoul(numstr); in xatou32()
Dlibbb.h1132 int xatoi_positive(const char *numstr) FAST_FUNC;
1135 uint16_t xatou16(const char *numstr) FAST_FUNC;