Lines Matching refs:expected_bytes
115 size_t expected_bytes) { in ValidateEncoding() argument
116 ASSERT_EQ(expected_bytes, buffer_.size()); in ValidateEncoding()
117 if (expected_bytes > 1) { in ValidateEncoding()
120 size_t last = expected_bytes - 1; in ValidateEncoding()
127 if (expected_bytes < 11) { in ValidateEncoding()
137 if (expected_bytes == 2) { in ValidateEncoding()
143 if (expected_bytes < 11) { in ValidateEncoding()
158 size_t expected_bytes) { in EncodeAndDecodeValues() argument
168 ", expected_bytes=", expected_bytes, "\n", Http2HexDump(buffer_)); in EncodeAndDecodeValues()
177 ValidateEncoding(value, minimum, maximum, expected_bytes); in EncodeAndDecodeValues()
178 DecodeSeveralWays(value, expected_bytes); in EncodeAndDecodeValues()
183 DecodeSeveralWays(value, expected_bytes); in EncodeAndDecodeValues()
186 if (1 < expected_bytes) { in EncodeAndDecodeValues()
187 buffer_.resize(expected_bytes); in EncodeAndDecodeValues()
188 for (uint8_t total_bytes = expected_bytes + 1; total_bytes <= 6; in EncodeAndDecodeValues()
206 size_t expected_bytes) { in EncodeAndDecodeValuesInRange() argument
218 HTTP2_LOG(INFO) << "expected_bytes=" << expected_bytes; in EncodeAndDecodeValuesInRange()
220 if (expected_bytes < 11) { in EncodeAndDecodeValuesInRange()
223 EXPECT_EQ(expected_bytes + 1, buffer_.size()) << Http2HexDump(buffer_); in EncodeAndDecodeValuesInRange()
241 EncodeAndDecodeValues(values, prefix_length, expected_bytes); in EncodeAndDecodeValuesInRange()