Searched refs:ConsumeBits (Results 1 – 5 of 5) sorted by relevance
19 TEST(BitBufferTest, ConsumeBits) { in TEST() argument24 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()27 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()30 EXPECT_TRUE(buffer.ConsumeBits(15)); in TEST()33 EXPECT_TRUE(buffer.ConsumeBits(37)); in TEST()37 EXPECT_FALSE(buffer.ConsumeBits(32 * 8)); in TEST()64 EXPECT_TRUE(buffer.ConsumeBits(4)); in TEST()99 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()284 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()320 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()
141 return PeekBits(val, bit_count) && ConsumeBits(bit_count); in ReadBits()145 return ConsumeBits(byte_count * 8); in ConsumeBytes()148 bool BitBuffer::ConsumeBits(size_t bit_count) { in ConsumeBits() function in rtc::BitBuffer172 ConsumeBits(1); in ReadExponentialGolomb()258 return ConsumeBits(total_bits); in WriteBits()279 return ConsumeBits(total_bits); in WriteBits()
73 bool ConsumeBits(size_t bit_count);
105 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()139 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()156 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()175 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()178 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()
430 RETURN_FALSE_ON_ERROR(parser->ConsumeBits(3)); in ParseSsData()451 RETURN_FALSE_ON_ERROR(parser->ConsumeBits(2)); in ParseSsData()685 RETURN_FALSE_ON_ERROR(parser.ConsumeBits(1)); in Parse()