Searched refs:read_bit (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | huffman_codec.cpp | 163 auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); }; in TEST() local 167 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 170 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 173 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 176 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 179 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 182 ASSERT_FALSE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 196 auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); }; in TEST() local 200 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 203 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | huffman_codec.cpp | 163 auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); }; in TEST() local 167 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 170 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 173 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 176 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 179 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 182 ASSERT_FALSE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 196 auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); }; in TEST() local 200 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() 203 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); in TEST() [all …]
|
/external/strace/ |
D | mmap_cache.c | 126 char read_bit; in mmap_cache_rebuild_if_invalid() local 135 &read_bit, &write_bit, &exec_bit, &shared_bit, in mmap_cache_rebuild_if_invalid() 142 if (!(read_bit == '-' || read_bit == 'r')) in mmap_cache_rebuild_if_invalid() 190 | ((read_bit == 'r')? MMAP_CACHE_PROT_READABLE : 0) in mmap_cache_rebuild_if_invalid()
|
/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | huffman_codec.h | 223 bool DecodeFromStream(const std::function<bool(bool*)>& read_bit, in DecodeFromStream() argument 235 if (!read_bit(&go_right)) return false; in DecodeFromStream()
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | huffman_codec.h | 223 bool DecodeFromStream(const std::function<bool(bool*)>& read_bit, in DecodeFromStream() argument 235 if (!read_bit(&go_right)) return false; in DecodeFromStream()
|