Home | History | Annotate | Download | only in minzip

Lines Matching refs:dataLen

624 static bool crcProcessFunction(const unsigned char *data, int dataLen,
627 *(unsigned long *)crc = crc32(*(unsigned long *)crc, data, dataLen);
636 static bool copyProcessFunction(const unsigned char *data, int dataLen,
640 if (dataLen <= args->bufLen) {
641 memcpy(args->buf, data, dataLen);
642 args->buf += dataLen;
643 args->bufLen -= dataLen;
669 static bool writeProcessFunction(const unsigned char *data, int dataLen,
673 if (dataLen == 0) {
678 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data+soFar, dataLen-soFar));
681 dataLen-soFar, data+soFar, strerror(errno));
685 if (soFar == dataLen) return true;
686 if (soFar > dataLen) {
688 soFar, dataLen);
715 static bool bufferProcessFunction(const unsigned char *data, int dataLen,
719 memmove(bec->buffer, data, dataLen);
720 bec->buffer += dataLen;
721 bec->len -= dataLen;