Home
last modified time | relevance | path

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

/external/rust/crates/libz-sys/src/zlib/examples/
Denough.c111 typedef unsigned long long code_t; /* type for bit pattern counting */ typedef
234 most = (((code_t)left << (max - len)) - syms) / in count()
235 (((code_t)1 << (max - len)) - 1); in count()
370 most = (((code_t)left << (max - len)) - syms) / in examine()
371 (((code_t)1 << (max - len)) - 1); in examine()
464 code_t word; /* for counting bits in code_t */ in main()
498 if (max > n || (code_t)(syms - 2) >= (((code_t)0 - 1) >> (max - 1))) { in main()
504 if ((code_t)(syms - 1) > ((code_t)1 << max) - 1) { in main()
564 if ((code_t)syms < ((code_t)1 << (root + 1))) in main()
/external/pdfium/third_party/libtiff/
Dtif_lzw.c124 } code_t; typedef
139 code_t* dec_codep; /* current recognized code */
140 code_t* dec_oldcodep; /* previously recognized code */
141 code_t* dec_free_entp; /* next free entry */
142 code_t* dec_maxcodep; /* max available entry */
143 code_t* dec_codetab; /* kept separate for small machines */
231 sp->dec_codetab = (code_t*)_TIFFmalloc(CSIZE*sizeof (code_t)); in LZWSetupDecode()
253 (CODE_FIRST - CODE_CLEAR) * sizeof (code_t)); in LZWSetupDecode()
334 _TIFFmemset(sp->dec_free_entp, 0, (CSIZE-CODE_FIRST)*sizeof (code_t)); in LZWPreDecode()
375 code_t *codep, *free_entp, *maxcodep, *oldcodep; in LZWDecode()
[all …]