Lines Matching defs:count
833 int count, from;
841 for (count = 0, from = 0; count < len; count++, from += 3)
843 data[count] = tmp_buf[from]; /* R byte */
844 data[count + len] = tmp_buf[from + 1]; /* G byte */
845 data[count + (len * 2)] = tmp_buf[from + 2]; /* B byte */
856 int count, to;
864 for (count = 0, to = 0; count < len; count++, to += 3)
866 data[to] = tmp_buf[count]; /* R byte */
867 data[to + 1] = tmp_buf[count + len]; /* G byte */
868 data[to + 2] = tmp_buf[count + (len * 2)]; /* B byte */
890 int count;
922 for (count = 0; count < r_buf_lines; count++)
924 line_buffer[count] = malloc ((*len) * sizeof (SANE_Byte));
925 if (line_buffer[count] == NULL)
928 count);
962 for (count = 0; count < width; count++)
974 for (count = 0; count < (r_buf_lines - 1); count++)
976 line_buffer[count] = line_buffer[count + 1];
1008 for (count = 0; count < width; count++)
1033 int count;
1040 for (count = 0; count < r_buf_lines; count++)
1042 free (line_buffer[count]);
1291 /* actual SCSI command data byte count */
1406 data[55] = 0x00; /* buffer full line count */
1407 data[56] = 0x00; /* buffer full line count */
1408 data[57] = 0x00; /* buffer full line count */
1409 data[58] = 0x0a; /* buffer full line count */
1412 data[59] = 0x00; /* access line count */
1413 data[60] = 0x00; /* access line count */
1414 data[61] = 0x00; /* access line count */
1415 data[62] = 0x0a; /* access line count */
1507 /* skip ever 3rd byte, -= causes us to go down in count */