Lines Matching defs:len
114 // len -- set to actual length of data
122 SANE_Byte *buf, size_t maxlen, size_t *len)
140 *len = maxlen;
141 status = sanei_scsi_cmd(fd, readCmd, sizeof(readCmd), buf, len);
142 DBG(3, "DMCRead: Read %lu bytes\n", (u_long) *len);
613 size_t len;
624 sizeof(exposureCalculationResults), &len);
626 if (len < sizeof(exposureCalculationResults)) return SANE_STATUS_IO_ERROR;
649 size_t len;
653 sizeof(userInterfaceSettings), &len);
655 if (len < sizeof(userInterfaceSettings)) return SANE_STATUS_IO_ERROR;
678 size_t len;
685 sizeof(exposureCalculationResults), &len);
687 if (len < sizeof(exposureCalculationResults)) return SANE_STATUS_IO_ERROR;
713 size_t len;
724 c->currentRawLine, BYTES_PER_RAW_LINE, &len);
729 c->nextRawLine, BYTES_PER_RAW_LINE, &len);
812 size_t len;
836 len = strlen (dev_name);
838 if (!len) continue; /* ignore empty lines */
1285 // len -- set to actual amount of data stored.
1292 sane_read(SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len, SANE_Int *len)
1330 *len = max_len;
1343 *len = size;
1349 *len = max_len;
1362 *len = size;
1364 if ((unsigned int) *len != c->bytes_to_read) return SANE_STATUS_IO_ERROR;
1367 *len = max_len;