Lines Matching refs:sectnum
1275 SANE_Int sectnum = itemtype - BH_SCSI_READ_TYPE_FRONT;
1277 format = s->sections[sectnum - 1].format;
1279 width = s->sections[sectnum - 1].width * res / 1000.0;
1280 length = s->sections[sectnum - 1].length * res / 1000.0;
1286 SANE_Int sectnum = itemtype - BH_SCSI_READ_TYPE_BACK;
1288 format = s->sections[sectnum - 1].format;
1290 width = s->sections[sectnum - 1].width * res / 1000.0;
1291 length = s->sections[sectnum - 1].length * res / 1000.0;
1500 SANE_Int sectnum = 0;
1516 while (section != NULL && sectnum < NUM_SECTIONS)
1524 status = section_parse(section, &s->sections[sectnum],
1534 sectnum++;
1542 s->num_sections = sectnum;