Home
last modified time | relevance | path

Searched refs:read_bit (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dhuffman_codec.cpp166 auto read_bit = [&bit_reader](bool* bit) { in TEST() local
172 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
175 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
178 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
181 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
184 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
187 ASSERT_FALSE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
195 auto read_bit = [&bit_reader](bool* bit) { in TEST() local
201 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
204 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dhuffman_codec.h160 bool DecodeFromStream(const std::function<bool(bool*)>& read_bit, Val* val) { in DecodeFromStream() argument
171 if (!read_bit(&go_right)) in DecodeFromStream()