Home | History | Annotate | Download | only in minzip

Lines Matching refs:dataLen

703 static bool crcProcessFunction(const unsigned char *data, int dataLen,
706 *(unsigned long *)crc = crc32(*(unsigned long *)crc, data, dataLen);
739 static bool copyProcessFunction(const unsigned char *data, int dataLen,
743 if (dataLen <= args->bufLen) {
744 memcpy(args->buf, data, dataLen);
745 args->buf += dataLen;
746 args->bufLen -= dataLen;
772 static bool writeProcessFunction(const unsigned char *data, int dataLen,
779 ssize_t n = write(fd, data+soFar, dataLen-soFar);
782 dataLen-soFar, data+soFar, strerror(errno));
788 if (soFar == dataLen) return true;
789 if (soFar > dataLen) {
791 soFar, dataLen);
818 static bool bufferProcessFunction(const unsigned char *data, int dataLen,
822 memmove(bec->buffer, data, dataLen);
823 bec->buffer += dataLen;
824 bec->len -= dataLen;