Lines Matching defs:size
54 SANE_Byte * buffer, SANE_Int size,
57 SANE_Byte * buffer, SANE_Int size,
69 SANE_Byte * buffer, SANE_Int size,
79 SANE_Byte * buffer, SANE_Int size,
89 SANE_Byte * buffer, SANE_Int size);
91 size_t size);
98 SANE_Byte * buffer, SANE_Int size);
100 SANE_Int size);
103 SANE_Int size);
162 SANE_Int size, SANE_Int index)
166 if (!((buffer == NULL) && (size > 0)))
167 if (usb_ctl_write (usb_handle, address, buffer, size, index) == size)
231 SANE_Int size, SANE_Int index)
236 if (usb_ctl_read (usb_handle, address, buffer, size, index) == size)
261 SANE_Int size)
263 return IWrite_Buffer (usb_handle, address, buffer, size, 0);
286 SANE_Int size)
288 return IRead_Buffer (usb_handle, address, buffer, size, 0x100);
292 Write_Bulk (USB_Handle usb_handle, SANE_Byte * buffer, SANE_Int size)
299 DBG (DBG_CTL, "%06i BLK DO: %i. bytes\n", dataline_count, size);
300 show_buffer (4, buffer, size);
305 (usb_handle, BLK_WRITE_EP, (char *) buffer, size,
306 TIMEOUT) == size)
311 size_t mysize = size;
326 Read_Bulk (USB_Handle usb_handle, SANE_Byte * buffer, size_t size)
334 dataline_count, (u_long) size);
339 usb_bulk_read (usb_handle, BLK_READ_EP, (char *) buffer, size,
343 if (sanei_usb_read_bulk (usb_handle, buffer, &size) ==
345 rst = size;
359 SANE_Int size, SANE_Int index)
365 dataline_count, address & 0xffff, index, size);
366 show_buffer (DBG_CTL, buffer, size);
375 size, /* Size */
384 size, /* Size */
387 rst = size;
401 SANE_Int size, SANE_Int index)
409 dataline_count, address & 0xffff, index, size);
418 size, /* Size */
427 size, /* Size */
430 rst = size;
445 show_buffer (SANE_Int level, SANE_Byte * buffer, SANE_Int size)
453 if ((size > 0) && (buffer != NULL))
462 for (cont = 0; cont < size; cont++)