Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c2712 int i, maxbits = 0, ptn, tbl_size, w; in lzh_make_huffman_table() local
2718 ptn = 0; in lzh_make_huffman_table()
2720 bitptn[i] = ptn; in lzh_make_huffman_table()
2723 ptn += hf->freq[i] * w; in lzh_make_huffman_table()
2781 ptn = bitptn[len]; in lzh_make_huffman_table()
2785 if ((bitptn[len] = ptn + cnt) > tbl_size) in lzh_make_huffman_table()
2788 p = &(tbl[ptn]); in lzh_make_huffman_table()
2830 bitptn[len] = ptn + cnt; in lzh_make_huffman_table()
2834 p = &(tbl[ptn >> diffbits]); in lzh_make_huffman_table()
2849 if (ptn & bit) { in lzh_make_huffman_table()
[all …]
H A Darchive_read_support_format_cab.c3156 int i, maxbits = 0, ptn, tbl_size, w; in lzx_make_huffman_table() local
3162 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()
/freebsd/sys/netgraph/
H A Dng_pppoe.c344 const char *ptn; in get_tag() local
353 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() local
2184 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()