Home
last modified time | relevance | path

Searched refs:ERANGE (Results 1 – 25 of 192) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libm/common/C/
H A D_SVID_error.c196 errno = ERANGE; in _SVID_libm_err()
198 errno = ERANGE; in _SVID_libm_err()
210 errno = ERANGE; in _SVID_libm_err()
212 errno = ERANGE; in _SVID_libm_err()
224 errno = ERANGE; in _SVID_libm_err()
226 errno = ERANGE; in _SVID_libm_err()
235 errno = ERANGE; in _SVID_libm_err()
237 errno = ERANGE; in _SVID_libm_err()
357 errno = ERANGE; in _SVID_libm_err()
359 errno = ERANGE; in _SVID_libm_err()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtonum.c46 { "too small", ERANGE }, in strtonumx()
47 { "too large", ERANGE }, in strtonumx()
61 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) in strtonumx()
63 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) in strtonumx()
H A Dstrtod.c69 errno = ERANGE; in strtod()
100 errno = ERANGE; in strtof()
135 errno = ERANGE; in strtold()
H A Dgetgrnam.c89 if (ret == NULL && errno == ERANGE) { in getgrgid()
108 if (ret == NULL && errno == ERANGE && nam != NULL) { in getgrnam()
/illumos-gate/usr/src/contrib/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); in getpreroot()
143 if ((d - dots) > (PATH_MAX - 1 - namlen)) ERROR(ERANGE); in getpreroot()
149 if ((p -= namlen) <= (path + 1)) ERROR(ERANGE); in getpreroot()
/illumos-gate/usr/src/uts/common/syscall/
H A Dgetcwd.c50 return (set_errno(ERANGE)); in getcwd()
81 if (err == ENAMETOOLONG || err == ERANGE) { in getcwd()
83 err = ERANGE; in getcwd()
/illumos-gate/usr/src/contrib/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);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dgetcwd.c67 if (errno != ERANGE)
84 #ifndef ERANGE
85 #define ERANGE E2BIG
194 if (len < namlen) ERROR(ERANGE);
233 if (!(dirstk = pushdir(dirstk, dots, p, buf + len - 1))) ERROR(ERANGE);
292 … if (namlen >= PATH_MAX || !(dirstk = pushdir(dirstk, dots + 3, p, buf + len - 1))) ERROR(ERANGE);
303 if (extra < 0 || !(buf = newof(buf, char, len += PATH_MAX, extra))) ERROR(ERANGE);
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c109 if (errno == ERANGE || (width != 0 && (val < desc->td_min || in inj_strtoll()
111 return (inj_set_errno(ERANGE)); in inj_strtoll()
138 if (errno == ERANGE || (width != 0 && val > desc->td_max)) in inj_strtoull()
139 return (inj_set_errno(ERANGE)); in inj_strtoull()
/illumos-gate/usr/src/lib/lib9p/common/
H A Drfuncs.c264 } while (error == ERANGE); in r_getpwuid()
281 } while (error == ERANGE); in r_getgrgid()
299 } while (error == ERANGE); in r_cap_getpwuid()
316 } while (error == ERANGE); in r_cap_getgrgid()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c433 krb5_set_error_message(context, ERANGE, in krb5_pac_parse()
436 return ERANGE; in krb5_pac_parse()
455 krb5_set_error_message(context, ERANGE, in krb5_pac_parse()
458 return ERANGE; in krb5_pac_parse()
496 krb5_set_error_message(context, ERANGE, in krb5_pac_parse()
498 return ERANGE; in krb5_pac_parse()
526 return ERANGE; in k5_time_to_seconds_since_1970()
568 krb5_set_error_message(context, ERANGE, in k5_pac_validate_client()
571 return ERANGE; in k5_pac_validate_client()
587 krb5_set_error_message(context, ERANGE, in k5_pac_validate_client()
[all …]
/illumos-gate/usr/src/contrib/bhyve/lib/libutil/
H A Dexpand_number.c51 errno = ERANGE; in expand_number()
89 errno = ERANGE; in expand_number()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrto.c136 errno = ERANGE;
151 errno = ERANGE;
240 errno = ERANGE;
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.l172 if (errno == EINVAL || errno == ERANGE) {
183 if (errno == EINVAL || errno == ERANGE) {
216 if (errno == EINVAL || errno == ERANGE) {
/illumos-gate/usr/src/test/libc-tests/tests/threads/
H A Dthread_name.c81 if (rc != ERANGE) in main()
124 if (rc != ERANGE) in main()
148 if (rc != ERANGE) in main()
163 if (rc != ERANGE) in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrtoi.h95 #ifndef ERANGE
96 #define ERANGE EINVAL macro
372 errno = ERANGE;
632 errno = ERANGE;
636 errno = ERANGE;
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dptsname.c241 if (!ptsname_r_err("ptsname: length 0", mngr, buf, 0, ERANGE)) { in main()
246 strlen(pts_base), ERANGE)) { in main()
251 ERANGE)) { in main()
/illumos-gate/usr/src/cmd/printf/
H A Dprintf.c547 warnx3("%s: %s", *gargv, strerror(ERANGE)); in getint()
584 if (errno == ERANGE) { in getnum()
585 warnx3("%s: %s", *gargv, strerror(ERANGE)); in getnum()
619 if (errno == ERANGE) { in getfloating()
620 warnx3("%s: %s", *gargv, strerror(ERANGE)); in getfloating()
/illumos-gate/usr/src/common/util/
H A Dstrtoul.c142 return (ERANGE); in ddi_strtoul()
144 errno = ERANGE; in ddi_strtoul()
H A Dstrtoull.c144 return (ERANGE); in ddi_strtoull()
146 errno = ERANGE; in ddi_strtoull()
H A Dstrtol.c154 return (ERANGE); in ddi_strtol()
156 errno = ERANGE; in ddi_strtol()
H A Dstrtoll.c151 return (ERANGE); in ddi_strtoll()
153 errno = ERANGE; in ddi_strtoll()
/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c430 if (id == ULONG_MAX && errno == ERANGE) { in main()
443 (p == ULONG_MAX && errno == ERANGE)) in main()
461 (pset == ULONG_MAX && errno == ERANGE)) in main()
530 if (g_sleeptime == LONG_MAX && errno == ERANGE) in main()
540 (iter == LONG_MAX && errno == ERANGE)) in main()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq.h143 -ERANGE, /* I40E_AQ_RC_ERANGE */ in i40e_aq_rc_to_posix()
155 return -ERANGE; in i40e_aq_rc_to_posix()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_tunables.c66 return (ERANGE); in udp_smallest_anon_set()
84 return (ERANGE); in udp_largest_anon_set()

12345678