Lines Matching defs:buf
113 // buf -- buffer to store data in
122 SANE_Byte *buf, size_t maxlen, size_t *len)
141 status = sanei_scsi_cmd(fd, readCmd, sizeof(readCmd), buf, len);
153 // buf -- buffer to store data in
161 SANE_Byte *buf, size_t maxlen)
179 memcpy(writeCmd+10, buf, maxlen);
700 // buf -- where to put output.
707 // two "super-resolution" output lines in "buf"
710 DMCReadTwoSuperResolutionLines(DMC_Camera *c, SANE_Byte *buf, int lastLine)
739 output = buf;
757 memcpy(buf+BYTES_PER_RAW_LINE*3, buf, BYTES_PER_RAW_LINE*3);
764 prev = buf;
1283 // buf -- destination for data
1292 sane_read(SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len, SANE_Int *len)
1326 status = DMCReadTwoSuperResolutionLines(c, buf+i,
1342 status = DMCRead(c->fd, 0x00, c->imageMode, buf, max_len, &size);
1350 memcpy(buf, c->readPtr, max_len);
1368 memcpy(buf, c->readPtr, max_len);