Lines Matching refs:DecodeResult
32 enum class DecodeResult { enum
57 virtual DecodeResult Decode(std::span<char>* output) = 0;
93 DecodeResult Decode(std::span<char>* output) final { in Decode()
104 return finished_ ? DecodeResult::Done : DecodeResult::NeedInput; in Decode()
106 return DecodeResult::MoreOutput; in Decode()
142 DecodeResult Decode(std::span<char>* output) final { in Decode()
161 return finished_ ? DecodeResult::Done : DecodeResult::NeedInput; in Decode()
163 return DecodeResult::Error; in Decode()
168 return DecodeResult::NeedInput; in Decode()
170 return DecodeResult::MoreOutput; in Decode()
246 DecodeResult Decode(std::span<char>* output) final { in Decode()
257 return DecodeResult::Error; in Decode()
265 return DecodeResult::Error; in Decode()
273 return input_buffer_.empty() && lz4_done_ ? DecodeResult::Done in Decode()
274 : DecodeResult::MoreOutput; in Decode()
277 return DecodeResult::NeedInput; in Decode()
394 DecodeResult Decode(std::span<char>* output) final { in Decode()
410 return DecodeResult::Error; in Decode()
417 return DecodeResult::Error; in Decode()
425 return input_buffer_.empty() && zstd_done_ ? DecodeResult::Done in Decode()
426 : DecodeResult::MoreOutput; in Decode()
428 return DecodeResult::NeedInput; in Decode()