Lines Matching defs:bytes
364 /* output 'size' bytes stored in 'source' on given port */
380 /* input 'size' bytes from given port and store them in 'dest' */
2953 /* reading trailing bytes */
3396 /* sends 4 bytes of data */
3881 /* read up to size bytes, returns bytes read */
3944 3 bytes, pausing on ERROR bit of STATUS */
4081 /* read up to size bytes, returns bytes read */
4117 3 bytes, pausing on ERROR bit of STATUS */
4900 /* sends len bytes to scanner */
5008 /* send bytes */
5036 DBG (0, "sendLength failed: sent only %d bytes out of %d (%s:%d)\n", i,
5063 /* sends data bytes to scanner */
5105 DBG (0, "sendData610p failed: sent only %d bytes out of %d (%s:%d)\n",
5113 /* sends data bytes to scanner */
5128 /* send bytes */
5164 DBG (0, "sendData failed: sent only %d bytes out of %d (%s:%d)\n", i,
5187 /* receive data bytes from scanner */
5230 "pausedBufferRead(%d,dest) failed, only got %d bytes (%s:%d)\n",
5243 /* receive data bytes from scanner */
5274 "receiveData610p failed: received only %d bytes out of %d (%s:%d)\n",
5281 /* receive data bytes from scanner */
5293 /* send bytes */
5314 "receiveData failed: received only %d bytes out of %d (%s:%d)\n",
5443 int cmd1[] = { 0x00, 0x00, 0x22, 0x88, -1 }; /* 34 bytes write on channel 8 */
5449 int cmd3[] = { 0x00, 0x08, 0x00, 0x84, -1 }; /* 2048 bytes size write on channel 4 (data) */
5450 int cmd4[] = { 0x00, 0x08, 0x00, 0xC4, -1 }; /* 2048 bytes size read on channel 4 (data) */
5455 /* set block length to 34 bytes on 'channel 8' */
6961 g67E = 4; /* bytes to read */
6968 g67E = 0; /* bytes to read */
7853 /* blank useless extra bytes */
7962 /* blank useless extra bytes */
8183 /* model revision 0x07 uses 35 bytes buffers */
8641 DBG (64, "cmdGetBuffer only got %d bytes out of %d ...(%s:%d)\n",
8647 "cmdGetBuffer got all %d bytes out of %d , read=%d...(%s:%d)\n",
8651 DBG (16, "Read %d bytes out of %d (last block is %d bytes) (%s:%d)\n",
8837 /* numbers of bytes read, else 0 (failed) */
8944 /* add bytes read */
8948 DBG (16, "Read %d bytes out of %d (last block is %d bytes) (%s:%d)\n",
9075 * bytes is on aoverride for bpl, since it sin't clear today when
9079 encodeWX (int width, int xstart, int dpi, int color, int *ccd, int bytes)
9112 /* now bytes per line */
9127 if (bytes > 0)
9128 bpl = bytes;
9133 /* cropping coefficient: last 2 bytes gives the coefficient applied */
9312 DBG (0, "\t->bytes/line=0x%X (%d)\n", bpl, bpl);
10153 /* returns number of bytes read or 0 on failure */
10293 /* blocksize must be multiple of the number of bytes per line */
10329 DBG (0, "Failed to allocate %ld bytes, giving up....\n",
10410 DBG (8, "Read %ld bytes out of %ld ...\n", read, somme);
10421 /* don't forget remaining bytes from previous block */
10491 DBG (8, "%ld bytes transferred in %f seconds ( %.2f Kb/s)\n", somme,
10670 DBG (0, "Failed to allocate 2096100 bytes... (%s:%d)\n", __FILE__,
10804 /* with length not multiple of four bytes, so we enlarge */
11559 /* offset calibration, scan 24 bytes of black in each color */
12526 "shadingCalibration610p: trying to read 0x%06X bytes ... (%s:%d)\n",
12764 "leftShadingCalibration610p: trying to read 0x%06X bytes ... (%s:%d)\n",