Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp108 SmallVectorImpl<uint8_t> &CompressedBuffer, int Level) { in compress() argument
110 CompressedBuffer.resize_for_overwrite(CompressedSize); in compress()
111 int Res = ::compress2((Bytef *)CompressedBuffer.data(), &CompressedSize, in compress()
118 __msan_unpoison(CompressedBuffer.data(), CompressedSize); in compress()
119 if (CompressedSize < CompressedBuffer.size()) in compress()
120 CompressedBuffer.truncate(CompressedSize); in compress()
148 SmallVectorImpl<uint8_t> &CompressedBuffer, int Level) { in compress() argument
169 SmallVectorImpl<uint8_t> &CompressedBuffer, int Level, in compress() argument
188 CompressedBuffer.resize_for_overwrite(CompressedBufferSize); in compress()
191 ZSTD_compress2(Cctx, CompressedBuffer.data(), CompressedBufferSize, in compress()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DCompression.h44 SmallVectorImpl<uint8_t> &CompressedBuffer,
65 SmallVectorImpl<uint8_t> &CompressedBuffer,
/src/contrib/llvm-project/clang/lib/Driver/
H A DOffloadBundler.cpp1002 SmallVector<uint8_t, 0> CompressedBuffer; in compress() local
1011 llvm::compression::compress(P, BufferUint8, CompressedBuffer); in compress()
1020 CompressedBuffer.size(); in compress()
1034 OS.write(reinterpret_cast<const char *>(CompressedBuffer.data()), in compress()
1035 CompressedBuffer.size()); in compress()
1041 static_cast<double>(UncompressedSize) / CompressedBuffer.size(); in compress()
1054 << formatWithCommas(CompressedBuffer.size()) << " bytes\n" in compress()
1368 SmallVector<char, 0> CompressedBuffer; in BundleFiles() local
1381 CompressedBuffer.assign(CompressedMemBuffer->getBufferStart(), in BundleFiles()
1384 CompressedBuffer = Buffer; in BundleFiles()
[all …]
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2225 SmallVector<uint8_t, 0> CompressedBuffer; in emitBlob() local
2228 llvm::arrayRefFromStringRef(Blob.drop_back(1)), CompressedBuffer, 9); in emitBlob()
2231 llvm::toStringRef(CompressedBuffer)); in emitBlob()
2236 llvm::arrayRefFromStringRef(Blob.drop_back(1)), CompressedBuffer); in emitBlob()
2239 llvm::toStringRef(CompressedBuffer)); in emitBlob()