Lines Matching refs:countLit
640 …unsigned* countLit, unsigned* offsetcodeCount, unsigned* matchlengthCount, unsigned* litlengthCoun… in ZDICT_countEStats() argument
661 countLit[*bytePtr]++; in ZDICT_countEStats()
722 static void ZDICT_flatLit(unsigned* countLit) in ZDICT_flatLit() argument
725 for (u=1; u<256; u++) countLit[u] = 2; in ZDICT_flatLit()
726 countLit[0] = 4; in ZDICT_flatLit()
727 countLit[253] = 1; in ZDICT_flatLit()
728 countLit[254] = 1; in ZDICT_flatLit()
738 unsigned countLit[256]; in ZDICT_analyzeEntropy() local
761 for (u=0; u<256; u++) countLit[u] = 1; /* any character must be described */ in ZDICT_analyzeEntropy()
783 countLit, offcodeCount, matchLengthCount, litLengthCount, repOffset, in ZDICT_analyzeEntropy()
797 { size_t maxNbBits = HUF_buildCTable (hufTable, countLit, 255, huffLog); in ZDICT_analyzeEntropy()
805 …ZDICT_flatLit(countLit); /* replace distribution by a fake "mostly flat but still compressible" d… in ZDICT_analyzeEntropy()
806 maxNbBits = HUF_buildCTable (hufTable, countLit, 255, huffLog); in ZDICT_analyzeEntropy()