Lines Matching refs:ftab
632 UInt32* ftab; member
2293 Int32 ftab[257]; in fallbackSort() local
2306 for (i = 0; i < 257; i++) ftab[i] = 0; in fallbackSort()
2307 for (i = 0; i < nblock; i++) ftab[eclass8[i]]++; in fallbackSort()
2308 for (i = 0; i < 256; i++) ftabCopy[i] = ftab[i]; in fallbackSort()
2309 for (i = 1; i < 257; i++) ftab[i] += ftab[i-1]; in fallbackSort()
2313 k = ftab[j] - 1; in fallbackSort()
2314 ftab[j] = k; in fallbackSort()
2320 for (i = 0; i < 256; i++) SET_BH(ftab[i]); in fallbackSort()
2819 #define BIGFREQ(b) (ftab[((b)+1) << 8] - ftab[(b) << 8])
2827 UInt32* ftab, in mainSort() argument
2843 for (i = 65536; i >= 0; i--) ftab[i] = 0; in mainSort()
2850 ftab[j]++; in mainSort()
2853 ftab[j]++; in mainSort()
2856 ftab[j]++; in mainSort()
2859 ftab[j]++; in mainSort()
2864 ftab[j]++; in mainSort()
2876 for (i = 1; i <= 65536; i++) ftab[i] += ftab[i-1]; in mainSort()
2882 j = ftab[s] -1; in mainSort()
2883 ftab[s] = j; in mainSort()
2886 j = ftab[s] -1; in mainSort()
2887 ftab[s] = j; in mainSort()
2890 j = ftab[s] -1; in mainSort()
2891 ftab[s] = j; in mainSort()
2894 j = ftab[s] -1; in mainSort()
2895 ftab[s] = j; in mainSort()
2900 j = ftab[s] -1; in mainSort()
2901 ftab[s] = j; in mainSort()
2962 if ( ! (ftab[sb] & SETMASK) ) { in mainSort()
2963 Int32 lo = ftab[sb] & CLEARMASK; in mainSort()
2964 Int32 hi = (ftab[sb+1] & CLEARMASK) - 1; in mainSort()
2978 ftab[sb] |= SETMASK; in mainSort()
2993 copyStart[j] = ftab[(j << 8) + ss] & CLEARMASK; in mainSort()
2994 copyEnd [j] = (ftab[(j << 8) + ss + 1] & CLEARMASK) - 1; in mainSort()
2996 for (j = ftab[ss << 8] & CLEARMASK; j < copyStart[ss]; j++) { in mainSort()
3003 for (j = (ftab[(ss+1) << 8] & CLEARMASK) - 1; j > copyEnd[ss]; j--) { in mainSort()
3020 for (j = 0; j <= 255; j++) ftab[(j << 8) + ss] |= SETMASK; in mainSort()
3064 Int32 bbStart = ftab[ss << 8] & CLEARMASK; in mainSort()
3065 Int32 bbSize = (ftab[(ss+1) << 8] & CLEARMASK) - bbStart; in mainSort()
3110 UInt32* ftab = s->ftab; in BZ2_blockSort() local
3120 fallbackSort ( s->arr1, s->arr2, ftab, nblock, verb ); in BZ2_blockSort()
3143 mainSort ( ptr, block, quadrant, ftab, nblock, verb, &budget ); in BZ2_blockSort()
3154 fallbackSort ( s->arr1, s->arr2, ftab, nblock, verb ); in BZ2_blockSort()
4578 s->ftab = NULL; in BZ_API()
4583 s->ftab = BZALLOC( 65537 * sizeof(UInt32) ); in BZ_API()
4585 if (s->arr1 == NULL || s->arr2 == NULL || s->ftab == NULL) { in BZ_API()
4588 if (s->ftab != NULL) BZFREE(s->ftab); in BZ_API()
4882 if (s->ftab != NULL) BZFREE(s->ftab); in BZ_API()