Lines Matching defs:buf
1108 unsigned char buf[255];
1114 size = sizeof (buf);
1117 status = sanei_scsi_cmd2 (dev->sfd, cdb.data, cdb.len, NULL, 0, buf, &size);
1119 hexdump (DBG_info2, "sense", buf, size);
1403 * len in input is the maximum length available in buf, and, in
1404 * output, is the length written into buf.
1407 teco_copy_raw_to_frontend (Teco_Scanner * dev, SANE_Byte * buf, size_t * len)
1450 *buf = d;
1452 buf++;
1459 memcpy (buf, dev->image + dev->image_begin, size);
2085 sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
2091 int buf_offset; /* offset into buf */
2135 teco_copy_raw_to_frontend (dev, buf + buf_offset, &size);