Lines Matching full:zstd
24 #include <zstd.h>
37 case compression::Format::Zstd: in getReasonIfUnsupported()
38 if (zstd::isAvailable()) in getReasonIfUnsupported()
40 return "LLVM was not built with LLVM_ENABLE_ZSTD or did not find zstd at " in getReasonIfUnsupported()
52 case compression::Format::Zstd: in compress()
53 zstd::compress(Input, Output, P.level, P.zstdEnableLdm); in compress()
63 case compression::Format::Zstd: in decompress()
64 return zstd::decompress(Input, Output, UncompressedSize); in decompress()
75 case compression::Format::Zstd: in decompress()
76 return zstd::decompress(Input, Output, UncompressedSize); in decompress()
164 bool zstd::isAvailable() { return true; } in isAvailable()
166 #include <zstd.h> // Ensure ZSTD library is included
168 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
204 Error zstd::decompress(ArrayRef<uint8_t> Input, uint8_t *Output, in decompress()
209 // Tell MemorySanitizer that zstd output buffer is fully initialized. in decompress()
217 Error zstd::decompress(ArrayRef<uint8_t> Input, in decompress()
221 Error E = zstd::decompress(Input, Output.data(), UncompressedSize); in decompress()
228 bool zstd::isAvailable() { return false; } in isAvailable()
229 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
232 llvm_unreachable("zstd::compress is unavailable"); in compress()
234 Error zstd::decompress(ArrayRef<uint8_t> Input, uint8_t *Output, in decompress()
236 llvm_unreachable("zstd::decompress is unavailable"); in decompress()
238 Error zstd::decompress(ArrayRef<uint8_t> Input, in decompress()
241 llvm_unreachable("zstd::decompress is unavailable"); in decompress()