Home
last modified time | relevance | path

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

/external/zlib/src/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.c126 } code_t; typedef
140 code_t* dec_codep; /* current recognized code */
141 code_t* dec_oldcodep; /* previously recognized code */
142 code_t* dec_free_entp; /* next free entry */
143 code_t* dec_maxcodep; /* max available entry */
144 code_t* dec_codetab; /* kept separate for small machines */
232 sp->dec_codetab = (code_t*)_TIFFmalloc(CSIZE*sizeof (code_t)); in LZWSetupDecode()
252 (CODE_FIRST - CODE_CLEAR) * sizeof (code_t)); in LZWSetupDecode()
331 _TIFFmemset(sp->dec_free_entp, 0, (CSIZE-CODE_FIRST)*sizeof (code_t)); in LZWPreDecode()
372 code_t *codep, *free_entp, *maxcodep, *oldcodep; in LZWDecode()
[all …]