Searched refs:PuffData (Results 1 – 9 of 9) sorted by relevance
16 PuffData pd; in TestLiteralLength()20 pd.type = PuffData::Type::kBlockMetadata; in TestLiteralLength()26 ASSERT_EQ(pd.type, PuffData::Type::kBlockMetadata); in TestLiteralLength()30 pd.type = PuffData::Type::kLiterals; in TestLiteralLength()39 pd.type = PuffData::Type::kLenDist; in TestLiteralLength()47 ASSERT_EQ(pd.type, PuffData::Type::kLenDist); in TestLiteralLength()50 ASSERT_EQ(pd.type, PuffData::Type::kLiterals); in TestLiteralLength()70 PuffData pd; in TEST()71 pd.type = PuffData::Type::kBlockMetadata; in TEST()81 PuffData pd; in TEST()[all …]
30 PuffData pd; in HuffDeflate()37 TEST_AND_RETURN_FALSE(pd.type == PuffData::Type::kBlockMetadata); in HuffDeflate()51 TEST_AND_RETURN_FALSE(pd.type != PuffData::Type::kLiteral); in HuffDeflate()53 if (pd.type == PuffData::Type::kLiterals) { in HuffDeflate()59 TEST_AND_RETURN_FALSE(pd.type == PuffData::Type::kEndOfBlock); in HuffDeflate()60 } else if (pd.type == PuffData::Type::kEndOfBlock) { in HuffDeflate()93 case PuffData::Type::kLiteral: in HuffDeflate()94 case PuffData::Type::kLiterals: { in HuffDeflate()104 if (pd.type == PuffData::Type::kLiteral) { in HuffDeflate()116 case PuffData::Type::kLenDist: { in HuffDeflate()[all …]
27 bool BufferPuffWriter::Insert(const PuffData& pd) { in Insert()29 case PuffData::Type::kLiterals: in Insert()34 case PuffData::Type::kLiteral: { in Insert()36 size_t length = pd.type == PuffData::Type::kLiteral ? 1 : pd.length; in Insert()60 if (pd.type == PuffData::Type::kLiteral) { in Insert()65 } else if (pd.type == PuffData::Type::kLiterals) { in Insert()80 case PuffData::Type::kLenDist: in Insert()116 case PuffData::Type::kBlockMetadata: in Insert()137 case PuffData::Type::kEndOfBlock: in Insert()
38 PuffData pd; in PuffDeflate()89 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate()95 pd.type = PuffData::Type::kLiterals; in PuffDeflate()100 pd.type = PuffData::Type::kEndOfBlock; in PuffDeflate()114 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate()121 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate()157 pd.type = PuffData::Type::kLiteral; in PuffDeflate()162 pd.type = PuffData::Type::kEndOfBlock; in PuffDeflate()212 pd.type = PuffData::Type::kLenDist; in PuffDeflate()
23 bool BufferPuffReader::GetNext(PuffData* data) { in GetNext()24 PuffData& pd = *data; in GetNext()46 pd.type = PuffData::Type::kEndOfBlock; in GetNext()61 pd.type = PuffData::Type::kLenDist; in GetNext()83 pd.type = PuffData::Type::kLiterals; in GetNext()95 pd.type = PuffData::Type::kBlockMetadata; in GetNext()
50 PuffData pd; in DecompressPuff()54 case PuffData::Type::kLiteral: in DecompressPuff()59 case PuffData::Type::kLiterals: in DecompressPuff()64 case PuffData::Type::kLenDist: { in DecompressPuff()72 case PuffData::Type::kBlockMetadata: in DecompressPuff()75 case PuffData::Type::kEndOfBlock: in DecompressPuff()
28 virtual bool GetNext(PuffData* data) = 0;49 bool GetNext(PuffData* pd) override;
29 virtual bool Insert(const PuffData& pd) = 0;56 bool Insert(const PuffData& pd) override;
16 struct PuffData { struct