Searched refs:readBuf (Results 1 – 2 of 2) sorted by relevance
591 unsigned char* readBuf = (unsigned char*) malloc(kBufSize); in inflateToFile() local596 if (readBuf == NULL || writeBuf == NULL) in inflateToFile()635 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, readBuf, getSize)); in inflateToFile()644 zstream.next_in = readBuf; in inflateToFile()685 free(readBuf); in inflateToFile()
1518 unsigned char readBuf[8192]; in computeFileChecksum() local1531 size_t wanted = (length < sizeof(readBuf)) ? length : sizeof(readBuf); in computeFileChecksum()1532 actual = read(fd, readBuf, wanted); in computeFileChecksum()1539 adler = adler32(adler, readBuf, actual); in computeFileChecksum()