Lines Matching defs:val
43 register long val;
59 val = ch - '0';
63 val *= 10;
64 val += ch - '0';
66 *result = val;
87 long val;
96 while (read_text_integer(fp, &val, &termchar)) { /* read 1st element of table */
102 table[0] = (unsigned int) val;
104 if (! read_text_integer(fp, &val, &termchar)) {
109 table[i] = (unsigned int) val;
177 long val;
189 while (read_scan_integer(fp, &val, &termchar)) {
195 scanptr->component_index[0] = (int) val;
204 if (! read_scan_integer(fp, &val, &termchar))
206 scanptr->component_index[ncomps] = (int) val;
211 if (! read_scan_integer(fp, &val, &termchar) || termchar != ' ')
213 scanptr->Ss = (int) val;
214 if (! read_scan_integer(fp, &val, &termchar) || termchar != ' ')
216 scanptr->Se = (int) val;
217 if (! read_scan_integer(fp, &val, &termchar) || termchar != ' ')
219 scanptr->Ah = (int) val;
220 if (! read_scan_integer(fp, &val, &termchar))
222 scanptr->Al = (int) val;
272 int val = 0; /* default table # */
279 if (sscanf(arg, "%d%c", &val, &ch) < 1)
283 if (val < 0 || val >= NUM_QUANT_TBLS) {
288 cinfo->comp_info[ci].quant_tbl_no = val;
293 cinfo->comp_info[ci].quant_tbl_no = val;