Lines Matching refs:ftab
601 UInt32* ftab; member
2264 Int32 ftab[257]; in fallbackSort() local
2277 for (i = 0; i < 257; i++) ftab[i] = 0; in fallbackSort()
2278 for (i = 0; i < nblock; i++) ftab[eclass8[i]]++; in fallbackSort()
2279 for (i = 0; i < 256; i++) ftabCopy[i] = ftab[i]; in fallbackSort()
2280 for (i = 1; i < 257; i++) ftab[i] += ftab[i-1]; in fallbackSort()
2284 k = ftab[j] - 1; in fallbackSort()
2285 ftab[j] = k; in fallbackSort()
2291 for (i = 0; i < 256; i++) SET_BH(ftab[i]); in fallbackSort()
2792 #define BIGFREQ(b) (ftab[((b)+1) << 8] - ftab[(b) << 8])
2800 UInt32* ftab, in mainSort() argument
2816 for (i = 65536; i >= 0; i--) ftab[i] = 0; in mainSort()
2823 ftab[j]++; in mainSort()
2826 ftab[j]++; in mainSort()
2829 ftab[j]++; in mainSort()
2832 ftab[j]++; in mainSort()
2837 ftab[j]++; in mainSort()
2849 for (i = 1; i <= 65536; i++) ftab[i] += ftab[i-1]; in mainSort()
2855 j = ftab[s] -1; in mainSort()
2856 ftab[s] = j; in mainSort()
2859 j = ftab[s] -1; in mainSort()
2860 ftab[s] = j; in mainSort()
2863 j = ftab[s] -1; in mainSort()
2864 ftab[s] = j; in mainSort()
2867 j = ftab[s] -1; in mainSort()
2868 ftab[s] = j; in mainSort()
2873 j = ftab[s] -1; in mainSort()
2874 ftab[s] = j; in mainSort()
2935 if ( ! (ftab[sb] & SETMASK) ) { in mainSort()
2936 Int32 lo = ftab[sb] & CLEARMASK; in mainSort()
2937 Int32 hi = (ftab[sb+1] & CLEARMASK) - 1; in mainSort()
2951 ftab[sb] |= SETMASK; in mainSort()
2966 copyStart[j] = ftab[(j << 8) + ss] & CLEARMASK; in mainSort()
2967 copyEnd [j] = (ftab[(j << 8) + ss + 1] & CLEARMASK) - 1; in mainSort()
2969 for (j = ftab[ss << 8] & CLEARMASK; j < copyStart[ss]; j++) { in mainSort()
2975 for (j = (ftab[(ss+1) << 8] & CLEARMASK) - 1; j > copyEnd[ss]; j--) { in mainSort()
2992 for (j = 0; j <= 255; j++) ftab[(j << 8) + ss] |= SETMASK; in mainSort()
3036 Int32 bbStart = ftab[ss << 8] & CLEARMASK; in mainSort()
3037 Int32 bbSize = (ftab[(ss+1) << 8] & CLEARMASK) - bbStart; in mainSort()
3081 UInt32* ftab = s->ftab; in BZ2_blockSort() local
3091 fallbackSort ( s->arr1, s->arr2, ftab, nblock, verb ); in BZ2_blockSort()
3114 mainSort ( ptr, block, quadrant, ftab, nblock, verb, &budget ); in BZ2_blockSort()
3125 fallbackSort ( s->arr1, s->arr2, ftab, nblock, verb ); in BZ2_blockSort()
4549 s->ftab = NULL; in BZ_API()
4554 s->ftab = BZALLOC( 65537 * sizeof(UInt32) ); in BZ_API()
4556 if (s->arr1 == NULL || s->arr2 == NULL || s->ftab == NULL) { in BZ_API()
4559 if (s->ftab != NULL) BZFREE(s->ftab); in BZ_API()
4853 if (s->ftab != NULL) BZFREE(s->ftab); in BZ_API()