/src/common/lib/libc/stdlib/ |
_strtoi.h | 55 __TYPE lo, __TYPE hi, int * rstatus) 65 __TYPE lo, __TYPE hi, int * rstatus, locale_t loc) 83 if (rstatus == NULL) 84 rstatus = &rep; 86 *rstatus = 0; /* assume there will be no errors */ 90 *rstatus = EINVAL; 115 *rstatus = errno; 120 if (*rstatus == 0 && nptr == *endptr) 121 *rstatus = ECANCELED; 124 if (*rstatus == 0 [all...] |
/src/tests/lib/libc/stdlib/ |
t_strtoi.c | 54 int rstatus; member in struct:test 60 check(struct test *t, intmax_t rv, char *end, int rstatus) 65 "&rstatus) failed (rv = %jd)", t->str, t->base, 68 if (rstatus != t->rstatus) { 71 if (rstatus != 0) { 72 emsg = strerror(rstatus); 83 atf_tc_fail_nonfatal("strtoi(\"%s\", &end, %d, %jd, %jd, &rstatus)" 84 " failed (rstatus: %d %s%s%sexpected %d%s%s%s)", 85 t->str, t->base, t->lo, t->hi, rstatus, rstatus ? "('" : "" [all...] |
/src/usr.sbin/inetd/ |
parse_v2.c | 785 int rstatus, count; local in function:size_to_bytes 787 count = (int)strtoi(arg, &tail, 10, 0, INT_MAX, &rstatus); 789 if (rstatus != 0 && rstatus != ENOTSUP) { 790 ERR("Invalid buffer size '%s': %s", arg, strerror(rstatus)); 936 int rstatus; local in function:service_max_handler 951 SERVTAB_COUNT_MAX, &rstatus); 953 if (rstatus != 0) { 955 strerror(rstatus)); 973 int rstatus; local in function:ip_max_handler [all...] |
parse.c | 711 int rstatus; local in function:getconfigent 714 SERVTAB_COUNT_MAX, &rstatus); 716 if (rstatus != 0) { 717 if (rstatus != ERANGE) { 726 strerror(rstatus));
|
/src/usr.sbin/mlxctl/ |
cmds.c | 87 static int rstatus; variable in typeref:typename:int 126 if (!rstatus) 127 rstatus = 1; 132 rstatus = 2; 174 return (rstatus);
|
/src/sbin/efi/ |
bootvar.c | 266 int rstatus; local in function:find_new_bootvar 275 &rstatus); 276 if (rstatus != 0)
|
utils.c | 371 int rstatus; local in function:strtous 373 val = strtou(str, endptr, base, 0, USHRT_MAX, &rstatus); 375 switch (rstatus) {
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | 7835 INTMAX_T low, INTMAX_T high, int *rstatus) { 7837 COMMON_INTERCEPTOR_ENTER(ctx, strtoi, nptr, endptr, base, low, high, rstatus); 7839 INTMAX_T ret = REAL(strtoi)(nptr, &real_endptr, base, low, high, rstatus); 7841 if (rstatus) 7842 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rstatus, sizeof(*rstatus)); 7847 UINTMAX_T low, UINTMAX_T high, int *rstatus) { 7849 COMMON_INTERCEPTOR_ENTER(ctx, strtou, nptr, endptr, base, low, high, rstatus); 7851 UINTMAX_T ret = REAL(strtou)(nptr, &real_endptr, base, low, high, rstatus); 7853 if (rstatus) [all...] |