Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libast/common/string/
H A Dstrtoi.h112 #define S2I_valid(s) ((s)<(z)) macro
114 #define S2I_valid(s) 1 macro
266 while (S2I_valid(s) && isspace(*s))
268 if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+')
275 if (S2I_valid(p) && (c = *p++) >= '0' && c <= '9')
278 if (S2I_valid(p) && (c = *p) >= '0' && c <= '9')
283 if (S2I_valid(p) && *p == '#')
293 else if (S2I_valid(s) && *s == '0' && S2I_valid(s + 1))
341 if (S2I_valid(s) && (c = *s++) >= '0' && c <= '9')
354 else if (p && (s - p) != (3 + S2I_valid(s)))
[all …]