Searched refs:ERANGE (Results 1 - 25 of 175) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dstrtonum.c43 { "too small", ERANGE },
44 { "too large", ERANGE },
55 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval)
57 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_strtonum.c50 { "too small", ERANGE },
51 { "too large", ERANGE },
62 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval)
64 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dldexp.c42 * the external int "errno" is set to ERANGE. Note that errno is
45 * other than ERANGE first (zero is a reasonable value to use).
71 errno = ERANGE;
82 errno = ERANGE;
H A Dstrtod.c53 errno = ERANGE;
56 errno = ERANGE;
H A Dgetcwd.c75 errno = ERANGE;
/illumos-gate/usr/src/lib/libm/common/C/
H A D_SVID_error.c196 errno = ERANGE;
198 errno = ERANGE;
210 errno = ERANGE;
212 errno = ERANGE;
224 errno = ERANGE;
226 errno = ERANGE;
235 errno = ERANGE;
237 errno = ERANGE;
357 errno = ERANGE;
359 errno = ERANGE;
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetwd.c52 else if (errno == ERANGE)
H A Dstrtod.c71 errno = ERANGE;
102 errno = ERANGE;
137 errno = ERANGE;
H A Dstrerror.c81 ret = errno = ERANGE;
H A Dgetgrnam.c91 if (ret == NULL && errno == ERANGE) {
110 if (ret == NULL && errno == ERANGE && nam != NULL) {
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dgetwd.c51 else if (errno == ERANGE)
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Datanh.c82 return(copysign(1.0,z)*infnan(ERANGE)); /* sign(x)*INF */
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dldexp.c53 errno = ERANGE;
/illumos-gate/usr/src/lib/libast/common/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);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfstrtof.h156 #if !defined(ERANGE)
157 #define ERANGE EINVAL macro
313 ERR(ERANGE);
320 ERR(ERANGE);
497 ERR(ERANGE);
505 ERR(ERANGE);
523 ERR(ERANGE);
537 ERR(ERANGE);
542 ERR(ERANGE);
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.l173 if (errno == EINVAL || errno == ERANGE) {
183 if (errno == EINVAL || errno == ERANGE) {
214 if (errno == EINVAL || errno == ERANGE) {
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c111 if (errno == ERANGE || (width != 0 && (val < desc->td_min ||
113 return (inj_set_errno(ERANGE));
140 if (errno == ERANGE || (width != 0 && val > desc->td_max))
141 return (inj_set_errno(ERANGE));
/illumos-gate/usr/src/uts/common/syscall/
H A Dgetcwd.c50 * normal path), and only increase it if we fail with ERANGE.
66 * For some reason, getcwd() uses ERANGE for this case.
69 err = ERANGE;
/illumos-gate/usr/src/common/util/
H A Dstrtol.c143 return (ERANGE);
145 errno = ERANGE;
H A Dstrtoll.c138 return (ERANGE);
140 errno = ERANGE;
H A Dstrtoul.c131 return (ERANGE);
133 errno = ERANGE;
H A Dstrtoull.c131 return (ERANGE);
133 errno = ERANGE;
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrto.c138 errno = ERANGE;
153 errno = ERANGE;
242 errno = ERANGE;
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dgetcwd.c42 #ifndef ERANGE
43 #define ERANGE E2BIG
152 if (len < namlen) ERROR(ERANGE);
191 if (!(dirstk = pushdir(dirstk, dots, p, buf + len - 1))) ERROR(ERANGE);
250 if (namlen >= PATH_MAX || !(dirstk = pushdir(dirstk, dots + 3, p, buf + len - 1))) ERROR(ERANGE);
261 if (extra < 0 || !(buf = newof(buf, char, len += PATH_MAX, extra))) ERROR(ERANGE);
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_tunables.c66 return (ERANGE);
84 return (ERANGE);

Completed in 128 milliseconds

1234567