Lines Matching refs:rest
155 SANE_Byte *rest;
587 if (scanner->rest != NULL)
589 free (scanner->rest);
590 scanner->rest = NULL;
618 scanner->rest = (SANE_Byte *) malloc (size * sizeof (SANE_Byte));
619 if (scanner->rest != NULL)
2485 SANE_Int chn_size, rest;
2488 rest = emul_maxlen % (3 * chn_size);
2490 if (rest != 0)
2491 emul_maxlen -= rest;
2530 memcpy (pbuffer, s->rest, bufflength);
2559 /* the rest will be copied to s->rest buffer */
2563 memcpy (s->rest, s->image + bufflength,
2626 SANE_Int rest = emul_len % 8;
2630 if (rest > 0)