Searched refs:DecodeResult (Results 1 – 3 of 3) sorted by relevance
32 enum class DecodeResult { enum57 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()[all …]
317 DecodeResult result = decoder->Decode(&output); in handle_send_file_data()318 if (result == DecodeResult::Error) { in handle_send_file_data()331 if (result == DecodeResult::NeedInput) { in handle_send_file_data()333 } else if (result == DecodeResult::MoreOutput) { in handle_send_file_data()335 } else if (result == DecodeResult::Done) { in handle_send_file_data()
1213 DecodeResult result = decoder->Decode(&output); in sync_recv_v2()1215 if (result == DecodeResult::Error) { in sync_recv_v2()1233 if (result == DecodeResult::NeedInput) { in sync_recv_v2()1235 } else if (result == DecodeResult::MoreOutput) { in sync_recv_v2()1237 } else if (result == DecodeResult::Done) { in sync_recv_v2()