Lines Matching refs:lencopy
316 int linesdone, currlinedone, offset, lencopy, remain; in au0828_copy_video() local
338 lencopy = bytesperline - currlinedone; in au0828_copy_video()
339 lencopy = lencopy > remain ? remain : lencopy; in au0828_copy_video()
341 if ((char *)startwrite + lencopy > (char *)outp + buf->length) { in au0828_copy_video()
343 ((char *)startwrite + lencopy) - in au0828_copy_video()
346 lencopy = remain; in au0828_copy_video()
348 if (lencopy <= 0) in au0828_copy_video()
350 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
352 remain -= lencopy; in au0828_copy_video()
355 startwrite += lencopy + bytesperline; in au0828_copy_video()
356 startread += lencopy; in au0828_copy_video()
358 lencopy = remain; in au0828_copy_video()
360 lencopy = bytesperline; in au0828_copy_video()
362 if ((char *)startwrite + lencopy > (char *)outp + in au0828_copy_video()
365 ((char *)startwrite + lencopy) - in au0828_copy_video()
367 lencopy = remain = (char *)outp + buf->length - in au0828_copy_video()
370 if (lencopy <= 0) in au0828_copy_video()
373 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
375 remain -= lencopy; in au0828_copy_video()
502 unsigned int remain, lencopy; in au0828_isoc_copy() local
607 lencopy = len; in au0828_isoc_copy()
609 lencopy = remain; in au0828_isoc_copy()
615 len -= lencopy; in au0828_isoc_copy()
616 p += lencopy; in au0828_isoc_copy()
617 dev->vbi_read += lencopy; in au0828_isoc_copy()