Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_common/miniz/
Dminiz.c760 …mz_uint rev_code = 0, l, cur_code, code_size = pTable->m_code_size[sym_index]; if (!code_size) con… in tinfl_decompress() local
761 …ode[code_size]++; for (l = code_size; l > 0; l--, cur_code >>= 1) rev_code = (rev_code << 1) | (cu… in tinfl_decompress()
762 …code_size << 9) | sym_index); while (rev_code < TINFL_FAST_LOOKUP_SIZE) { pTable->m_look_up[rev_co… in tinfl_decompress()
763 …if (0 == (tree_cur = pTable->m_look_up[rev_code & (TINFL_FAST_LOOKUP_SIZE - 1)])) { pTable->m_look… in tinfl_decompress()
764 rev_code >>= (TINFL_FAST_LOOKUP_BITS - 1); in tinfl_decompress()
767 tree_cur -= ((rev_code >>= 1) & 1); in tinfl_decompress()
770 tree_cur -= ((rev_code >>= 1) & 1); pTable->m_tree[-tree_cur - 1] = (mz_int16)sym_index; in tinfl_decompress()
1139 …mz_uint rev_code = 0, code, code_size; if ((code_size = d->m_huff_code_sizes[table_num][i]) == 0) … in tdefl_optimize_huffman_table() local
1140 …code = next_code[code_size]++; for (l = code_size; l > 0; l--, code >>= 1) rev_code = (rev_code <<… in tdefl_optimize_huffman_table()
1141 d->m_huff_codes[table_num][i] = (mz_uint16)rev_code; in tdefl_optimize_huffman_table()