Searched defs:ERANGE (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/tests/
H A Dstrtof.c47 #ifndef ERANGE
48 #define ERANGE EINVAL macro
141 printf("strtod \"%s\" \"%s\" %.*e %s\n", s, p, DBL_DIG - 1, d, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
145 printf("strtold \"%s\" \"%s\" %.*Le %s\n", s, p, LDBL_DIG - 1, ld, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
151 printf("strntod %2d \"%-.*s\" \"%s\" %.*e %s\n", n, n, s, p, DBL_DIG - 1, d, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
155 printf("strntod %2d \"%-.*s\" \"%s\" %.*e %s\n", n - 1, n - 1, s, p, DBL_DIG - 1, d, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE"
[all...]
H A Dstrtoi.c45 #ifndef ERANGE
46 #define ERANGE EINVAL macro
140 printf("strtol \"%s\" \"%s\" %ld %s\n", s, p, l, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
145 printf("strton \"%s\" \"%s\" %ld %s %d\n", s, p, l, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR", b);
149 printf("strtoul \"%s\" \"%s\" %lu %s\n", s, p, l, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE" : errno == EINVAL ? "EINVAL" : "ERROR");
153 printf("strtoll \"%s\" \"%s\" %lld %s\n", s, p, ll, errno == 0 ? "OK" : errno == ERANGE ? "ERANGE"
[all...]
/ast/src/lib/libast/preroot/
H A Dgetpreroot.c39 #ifndef ERANGE
40 #define ERANGE E2BIG macro
98 if ((d - dots) > (PATH_MAX - 4)) ERROR(ERANGE);
143 if ((d - dots) > (PATH_MAX - 1 - namlen)) ERROR(ERANGE);
149 if ((p -= namlen) <= (path + 1)) ERROR(ERANGE);
/ast/src/lib/libast/string/
H A Dstrtoi.h45 * errno=ERANGE on overflow (LONG_MAX) or underflow (LONG_MIN)
95 #ifndef ERANGE
96 #define ERANGE EINVAL macro
372 errno = ERANGE;
632 errno = ERANGE;
636 errno = ERANGE;
/ast/src/lib/libast/sfio/
H A Dsfstrtof.h156 #if !defined(ERANGE)
157 #define ERANGE EINVAL macro
315 ERR(ERANGE);
322 ERR(ERANGE);
514 ERR(ERANGE);
522 ERR(ERANGE);
540 ERR(ERANGE);
554 ERR(ERANGE);
559 ERR(ERANGE);
/ast/src/lib/libtksh/tcl/
H A DtclExpr.c44 #define ERANGE 34 macro
365 if (errno == ERANGE) {
476 if (errno == ERANGE) {
1847 } else if ((errno == ERANGE) || IS_INF(value)) {

Completed in 52 milliseconds