• Home
  • Raw
  • Download

Lines Matching refs:pd

38   PuffData pd;  in PuffDeflate()  local
89 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate()
90 pd.block_metadata[0] = block_header; in PuffDeflate()
91 pd.length = 1; in PuffDeflate()
92 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
95 pd.type = PuffData::Type::kLiterals; in PuffDeflate()
96 pd.length = len; in PuffDeflate()
97 TEST_AND_RETURN_FALSE(br->GetByteReaderFn(pd.length, &pd.read_fn)); in PuffDeflate()
98 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
100 pd.type = PuffData::Type::kEndOfBlock; in PuffDeflate()
101 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
114 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate()
115 pd.block_metadata[0] = block_header; in PuffDeflate()
116 pd.length = 1; in PuffDeflate()
117 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
121 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate()
122 pd.block_metadata[0] = block_header; in PuffDeflate()
123 pd.length = sizeof(pd.block_metadata) - 1; in PuffDeflate()
125 br, &pd.block_metadata[1], &pd.length)); in PuffDeflate()
126 pd.length += 1; // For the header. in PuffDeflate()
127 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
157 pd.type = PuffData::Type::kLiteral; in PuffDeflate()
158 pd.byte = lit_len_alphabet; in PuffDeflate()
159 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
162 pd.type = PuffData::Type::kEndOfBlock; in PuffDeflate()
163 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()
212 pd.type = PuffData::Type::kLenDist; in PuffDeflate()
213 pd.length = length; in PuffDeflate()
214 pd.distance = kDistanceBases[distance_alphabet] + extra_bits_value; in PuffDeflate()
215 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate()