• Home
  • Raw
  • Download

Lines Matching refs:table_size

112   int table_size;         /* size of current table */  in BrotliBuildCodeLengthsHuffmanTable()  local
141 table_size = 1 << BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH; in BrotliBuildCodeLengthsHuffmanTable()
146 for (key = 0; key < (brotli_reg_t)table_size; ++key) { in BrotliBuildCodeLengthsHuffmanTable()
161 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code); in BrotliBuildCodeLengthsHuffmanTable()
183 int table_size; /* size of current table */ in BrotliBuildHuffmanTable() local
198 table_size = 1 << table_bits; in BrotliBuildHuffmanTable()
199 total_size = table_size; in BrotliBuildHuffmanTable()
205 table_size = 1 << table_bits; in BrotliBuildHuffmanTable()
216 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code); in BrotliBuildHuffmanTable()
224 while (total_size != table_size) { in BrotliBuildHuffmanTable()
225 memcpy(&table[table_size], &table[0], in BrotliBuildHuffmanTable()
226 (size_t)table_size * sizeof(table[0])); in BrotliBuildHuffmanTable()
227 table_size <<= 1; in BrotliBuildHuffmanTable()
238 table += table_size; in BrotliBuildHuffmanTable()
240 table_size = 1 << table_bits; in BrotliBuildHuffmanTable()
241 total_size += table_size; in BrotliBuildHuffmanTable()
252 &table[BrotliReverseBits(sub_key)], step, table_size, code); in BrotliBuildHuffmanTable()
265 uint32_t table_size = 1; in BrotliBuildSimpleHuffmanTable() local
279 table_size = 2; in BrotliBuildSimpleHuffmanTable()
291 table_size = 4; in BrotliBuildSimpleHuffmanTable()
308 table_size = 4; in BrotliBuildSimpleHuffmanTable()
325 table_size = 8; in BrotliBuildSimpleHuffmanTable()
329 while (table_size != goal_size) { in BrotliBuildSimpleHuffmanTable()
330 memcpy(&table[table_size], &table[0], in BrotliBuildSimpleHuffmanTable()
331 (size_t)table_size * sizeof(table[0])); in BrotliBuildSimpleHuffmanTable()
332 table_size <<= 1; in BrotliBuildSimpleHuffmanTable()