Lines Matching refs:ConstructHuffmanCode
145 code = ConstructHuffmanCode(0, (uint16_t)sorted[0]); in BrotliBuildCodeLengthsHuffmanTable()
160 code = ConstructHuffmanCode((uint8_t)bits, (uint16_t)sorted[symbol++]); in BrotliBuildCodeLengthsHuffmanTable()
215 code = ConstructHuffmanCode((uint8_t)bits, (uint16_t)symbol); in BrotliBuildHuffmanTable()
244 root_table[sub_key] = ConstructHuffmanCode( in BrotliBuildHuffmanTable()
250 code = ConstructHuffmanCode((uint8_t)(len - root_bits), (uint16_t)symbol); in BrotliBuildHuffmanTable()
269 table[0] = ConstructHuffmanCode(0, val[0]); in BrotliBuildSimpleHuffmanTable()
273 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
274 table[1] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable()
276 table[0] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable()
277 table[1] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
282 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
283 table[2] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
285 table[1] = ConstructHuffmanCode(2, val[1]); in BrotliBuildSimpleHuffmanTable()
286 table[3] = ConstructHuffmanCode(2, val[2]); in BrotliBuildSimpleHuffmanTable()
288 table[1] = ConstructHuffmanCode(2, val[2]); in BrotliBuildSimpleHuffmanTable()
289 table[3] = ConstructHuffmanCode(2, val[1]); in BrotliBuildSimpleHuffmanTable()
304 table[0] = ConstructHuffmanCode(2, val[0]); in BrotliBuildSimpleHuffmanTable()
305 table[2] = ConstructHuffmanCode(2, val[1]); in BrotliBuildSimpleHuffmanTable()
306 table[1] = ConstructHuffmanCode(2, val[2]); in BrotliBuildSimpleHuffmanTable()
307 table[3] = ConstructHuffmanCode(2, val[3]); in BrotliBuildSimpleHuffmanTable()
317 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
318 table[1] = ConstructHuffmanCode(2, val[1]); in BrotliBuildSimpleHuffmanTable()
319 table[2] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
320 table[3] = ConstructHuffmanCode(3, val[2]); in BrotliBuildSimpleHuffmanTable()
321 table[4] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
322 table[5] = ConstructHuffmanCode(2, val[1]); in BrotliBuildSimpleHuffmanTable()
323 table[6] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable()
324 table[7] = ConstructHuffmanCode(3, val[3]); in BrotliBuildSimpleHuffmanTable()