Home
last modified time | relevance | path

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

/external/bzip2/
Ddecompress.c502 s->cftab[0] = 0; in BZ2_decompress()
503 for (i = 1; i <= 256; i++) s->cftab[i] = s->unzftab[i-1]; in BZ2_decompress()
504 for (i = 1; i <= 256; i++) s->cftab[i] += s->cftab[i-1]; in BZ2_decompress()
507 if (s->cftab[i] < 0 || s->cftab[i] > nblock) { in BZ2_decompress()
514 if (s->cftab[i-1] > s->cftab[i]) { in BZ2_decompress()
528 for (i = 0; i <= 256; i++) s->cftabCopy[i] = s->cftab[i]; in BZ2_decompress()
563 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress()
564 s->cftab[uc]++; in BZ2_decompress()
Dbzlib_private.h377 Int32 cftab[257]; member
478 cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \
Dbzlib.c687 __inline__ Int32 BZ2_indexIntoF ( Int32 indx, Int32 *cftab ) in BZ2_indexIntoF() argument
694 if (indx >= cftab[mid]) nb = mid; else na = mid; in BZ2_indexIntoF()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorInputStream.java746 final int[] cftab = this.data.cftab;
750 cftab[0] = 0;
751 System.arraycopy(this.data.unzftab, 0, cftab, 1, 256);
753 for (int i = 1, c = cftab[0]; i <= 256; i++) {
754 c += cftab[i];
755 cftab[i] = c;
759 final int tmp = cftab[ll8[i] & 0xff]++;
913 final int[] cftab = new int[257]; // 1028 byte
/external/u-boot/lib/bzip2/
Dbzlib_decompress.c543 s->cftab[0] = 0; in BZ2_decompress()
544 for (i = 1; i <= 256; i++) s->cftab[i] = s->unzftab[i-1]; in BZ2_decompress()
545 for (i = 1; i <= 256; i++) s->cftab[i] += s->cftab[i-1]; in BZ2_decompress()
550 for (i = 0; i <= 256; i++) s->cftabCopy[i] = s->cftab[i]; in BZ2_decompress()
591 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress()
592 s->cftab[uc]++; in BZ2_decompress()
Dbzlib_private.h405 Int32 cftab[257]; member
499 cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \
Dbzlib.c725 __inline__ Int32 BZ2_indexIntoF ( Int32 indx, Int32 *cftab ) in BZ2_indexIntoF() argument
732 if (indx >= cftab[mid]) nb = mid; else na = mid; in BZ2_indexIntoF()