Lines Matching refs:bufSize
941 constexpr size_t bufSize = 64*1024; in dumpTrace() local
942 std::unique_ptr<uint8_t> in(new uint8_t[bufSize]); in dumpTrace()
943 std::unique_ptr<uint8_t> out(new uint8_t[bufSize]); in dumpTrace()
953 zs.avail_out = bufSize; in dumpTrace()
959 result = read(traceFD, in.get(), bufSize); in dumpTrace()
975 result = write(outFd, out.get(), bufSize); in dumpTrace()
976 if ((size_t)result < bufSize) { in dumpTrace()
980 zs.avail_out = bufSize; // skip the final write in dumpTrace()
984 zs.avail_out = bufSize; in dumpTrace()
993 if (zs.avail_out < bufSize) { in dumpTrace()
994 size_t bytes = bufSize - zs.avail_out; in dumpTrace()