Searched refs:ptn (Results 1 – 3 of 3) sorted by relevance
2711 int i, maxbits = 0, ptn, tbl_size, w; in lzh_make_huffman_table() local2717 ptn = 0; in lzh_make_huffman_table()2719 bitptn[i] = ptn; in lzh_make_huffman_table()2722 ptn += hf->freq[i] * w; in lzh_make_huffman_table()2726 if (ptn != 0x10000 || maxbits > hf->tbl_bits) in lzh_make_huffman_table()2780 ptn = bitptn[len]; in lzh_make_huffman_table()2784 if ((bitptn[len] = ptn + cnt) > tbl_size) in lzh_make_huffman_table()2787 p = &(tbl[ptn]); in lzh_make_huffman_table()2829 bitptn[len] = ptn + cnt; in lzh_make_huffman_table()2833 p = &(tbl[ptn >> diffbits]); in lzh_make_huffman_table()[all …]
3156 int i, maxbits = 0, ptn, tbl_size, w; in lzx_make_huffman_table() local3162 ptn = 0; in lzx_make_huffman_table()3164 bitptn[i] = ptn; in lzx_make_huffman_table()3167 ptn += hf->freq[i] * w; in lzx_make_huffman_table()3171 if ((ptn & 0xffff) != 0 || maxbits > hf->tbl_bits) in lzx_make_huffman_table()3207 ptn = bitptn[len]; in lzx_make_huffman_table()3210 if ((bitptn[len] = ptn + cnt) > tbl_size) in lzx_make_huffman_table()3213 p = &(tbl[ptn]); in lzx_make_huffman_table()
344 const char *ptn; in get_tag() local353 ptn = (((const char *)(pt + 1)) + ntohs(pt->tag_len)); in get_tag()354 if (ptn > end) { in get_tag()364 pt = (const struct pppoe_tag*)ptn; in get_tag()2172 const char *ptn; in scan_tags() local2184 ptn = (((const char *)(pt + 1)) + ntohs(pt->tag_len)); in scan_tags()2185 if(ptn > end) in scan_tags()2207 pt = (const struct pppoe_tag*)ptn; in scan_tags()