Home | History | Annotate | Download | only in C

Lines Matching defs:cur

731           UInt32 cur = p->blockHeaderSize - p->pos;

732 if (cur > srcRem)
733 cur = (UInt32)srcRem;
734 memcpy(p->buf + p->pos, src, cur);
735 p->pos += cur;
736 (*srcLen) += cur;
737 src += cur;
764 UInt32 cur = checkSize - p->pos;
765 if (cur != 0)
767 if (cur > srcRem)
768 cur = (UInt32)srcRem;
769 memcpy(p->buf + p->pos, src, cur);
770 p->pos += cur;
771 (*srcLen) += cur;
772 src += cur;
798 UInt64 cur = p->indexSize - p->indexPos;
799 if (srcRem > cur)
800 srcRem = (SizeT)cur;
850 UInt32 cur = XZ_STREAM_FOOTER_SIZE - p->pos;
851 if (cur > srcRem)
852 cur = (UInt32)srcRem;
853 memcpy(p->buf + p->pos, src, cur);
854 p->pos += cur;
855 (*srcLen) += cur;
856 src += cur;