Lines Matching refs:plen
163 SANE_Int *plen)
167 SANE_Int remaining = *plen;
200 *plen -= remaining;
244 static SANE_Status FDSource_get (Source *pself, SANE_Byte *pbuf, SANE_Int *plen)
248 SANE_Int remaining = *plen;
277 *plen -= remaining;
327 SANE_Int *plen)
331 SANE_Int to_move = MIN(*plen, pself->remaining(pself));
340 *plen = to_move;
460 static SANE_Status TxSource_get (Source *pself, SANE_Byte *pbuf, SANE_Int *plen)
463 return ps->psub->get(ps->psub, pbuf, plen);
533 static SANE_Status Expander_get (Source *pself, SANE_Byte *pbuf, SANE_Int *plen)
537 SANE_Int remaining = *plen;
586 *plen -= remaining;
702 static SANE_Status Deinterlacer_get (Source *pself, SANE_Byte *pbuf, SANE_Int *plen)
706 SANE_Int remaining = *plen;
707 SANE_Int org_len = *plen;
808 *plen -= remaining;
815 *plen,
950 SANE_Int *plen)
954 SANE_Int remaining = *plen;
959 SANE_Int org_len = *plen;
979 *plen -= remaining;
980 if ( *plen > 0 )
982 me, org_len, *plen);
1047 *plen -= remaining;
1053 *plen,
1156 static SANE_Status Inverter_get (Source *pself, SANE_Byte *pbuf, SANE_Int *plen)
1158 SANE_Status status = TxSource_get (pself, pbuf, plen);
1162 for (i = 0; i < *plen; i++)