Lines Matching defs:max
32 const char *max )
39 if (max && sscanf(max, "%d", &imax) == 1 && imax < i)
46 const char *max )
53 if (max && sscanf(max, "%f", &fmax) == 1 && fmax < f)
61 const char *max )
67 return validate_int( response, min, max );
69 return validate_float( response, min, max );
99 const char *max = opt->max;
114 /* make sure min and max are bracketed as well */
119 if (max) {
120 CRASSERT(*max == '['); /* error in <foo>spu_config.c code!!! */
121 max++;
127 if (!validate_one_option( opt, response, min, max ))
145 if (max)
147 while (*max != ' ' && *max)
148 max++;
149 while (*max == ' ')
150 max++;