Home
last modified time | relevance | path

Searched refs:kBufSize (Results 1 – 1 of 1) sorted by relevance

/build/tools/zipalign/
DZipFile.cpp747 const size_t kBufSize = 32768; in compressFpToFp() local
758 inBuf = new unsigned char[kBufSize]; in compressFpToFp()
759 outBuf = new unsigned char[kBufSize]; in compressFpToFp()
775 zstream.avail_out = kBufSize; in compressFpToFp()
802 ALOGV("+++ reading %d bytes\n", (int)kBufSize); in compressFpToFp()
804 getSize = size > kBufSize ? kBufSize : size; in compressFpToFp()
809 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp()
815 if (getSize < kBufSize) { in compressFpToFp()
841 (zerr == Z_STREAM_END && zstream.avail_out != (uInt) kBufSize)) in compressFpToFp()
853 zstream.avail_out = kBufSize; in compressFpToFp()