Lines Matching refs:upper
47 setmsg(char *msg, long lower, long upper, int base) in setmsg() argument
50 (void) sprintf(msg, MESG10, lower, upper); in setmsg()
52 (void) sprintf(msg, MESG, base, lower, upper); in setmsg()
56 ckrange_err(long lower, long upper, int base, char *error) in ckrange_err() argument
60 setmsg(defmesg, lower, upper, base); in ckrange_err()
65 ckrange_hlp(long lower, long upper, int base, char *help) in ckrange_hlp() argument
69 setmsg(defmesg, lower, upper, base); in ckrange_hlp()
74 ckrange_val(long lower, long upper, int base, char *input) in ckrange_val() argument
80 if ((*ptr != '\0') || (value < lower) || (value > upper)) in ckrange_val()
86 ckrange(long *rngval, long lower, long upper, short base, char *defstr, in ckrange() argument
98 if (lower >= upper) in ckrange()
101 (void) sprintf(buffer, "%ld-%ld", lower, upper); in ckrange()
108 (void) sprintf(defpmpt, PROMPT10, lower, upper); in ckrange()
110 (void) sprintf(defpmpt, PROMPT, base, lower, upper); in ckrange()
114 setmsg(defmesg, lower, upper, base); in ckrange()
141 valid = ((value >= lower) && (value <= upper)); in ckrange()