Lines Matching refs:ftab
578 UInt32* ftab; member
2240 Int32 ftab[257]; in fallbackSort() local
2253 for (i = 0; i < 257; i++) ftab[i] = 0; in fallbackSort()
2254 for (i = 0; i < nblock; i++) ftab[eclass8[i]]++; in fallbackSort()
2255 for (i = 0; i < 256; i++) ftabCopy[i] = ftab[i]; in fallbackSort()
2256 for (i = 1; i < 257; i++) ftab[i] += ftab[i-1]; in fallbackSort()
2260 k = ftab[j] - 1; in fallbackSort()
2261 ftab[j] = k; in fallbackSort()
2267 for (i = 0; i < 256; i++) SET_BH(ftab[i]); in fallbackSort()
2768 #define BIGFREQ(b) (ftab[((b)+1) << 8] - ftab[(b) << 8])
2776 UInt32* ftab, in mainSort() argument
2792 for (i = 65536; i >= 0; i--) ftab[i] = 0; in mainSort()
2799 ftab[j]++; in mainSort()
2802 ftab[j]++; in mainSort()
2805 ftab[j]++; in mainSort()
2808 ftab[j]++; in mainSort()
2813 ftab[j]++; in mainSort()
2825 for (i = 1; i <= 65536; i++) ftab[i] += ftab[i-1]; in mainSort()
2831 j = ftab[s] -1; in mainSort()
2832 ftab[s] = j; in mainSort()
2835 j = ftab[s] -1; in mainSort()
2836 ftab[s] = j; in mainSort()
2839 j = ftab[s] -1; in mainSort()
2840 ftab[s] = j; in mainSort()
2843 j = ftab[s] -1; in mainSort()
2844 ftab[s] = j; in mainSort()
2849 j = ftab[s] -1; in mainSort()
2850 ftab[s] = j; in mainSort()
2911 if ( ! (ftab[sb] & SETMASK) ) { in mainSort()
2912 Int32 lo = ftab[sb] & CLEARMASK; in mainSort()
2913 Int32 hi = (ftab[sb+1] & CLEARMASK) - 1; in mainSort()
2927 ftab[sb] |= SETMASK; in mainSort()
2942 copyStart[j] = ftab[(j << 8) + ss] & CLEARMASK; in mainSort()
2943 copyEnd [j] = (ftab[(j << 8) + ss + 1] & CLEARMASK) - 1; in mainSort()
2945 for (j = ftab[ss << 8] & CLEARMASK; j < copyStart[ss]; j++) { in mainSort()
2951 for (j = (ftab[(ss+1) << 8] & CLEARMASK) - 1; j > copyEnd[ss]; j--) { in mainSort()
2968 for (j = 0; j <= 255; j++) ftab[(j << 8) + ss] |= SETMASK; in mainSort()
3012 Int32 bbStart = ftab[ss << 8] & CLEARMASK; in mainSort()
3013 Int32 bbSize = (ftab[(ss+1) << 8] & CLEARMASK) - bbStart; in mainSort()
3057 UInt32* ftab = s->ftab; in BZ2_blockSort() local
3067 fallbackSort ( s->arr1, s->arr2, ftab, nblock, verb ); in BZ2_blockSort()
3090 mainSort ( ptr, block, quadrant, ftab, nblock, verb, &budget ); in BZ2_blockSort()
3101 fallbackSort ( s->arr1, s->arr2, ftab, nblock, verb ); in BZ2_blockSort()
4525 s->ftab = NULL; in BZ_API()
4530 s->ftab = BZALLOC( 65537 * sizeof(UInt32) ); in BZ_API()
4532 if (s->arr1 == NULL || s->arr2 == NULL || s->ftab == NULL) { in BZ_API()
4535 if (s->ftab != NULL) BZFREE(s->ftab); in BZ_API()
4829 if (s->ftab != NULL) BZFREE(s->ftab); in BZ_API()