nBitsToDecrease   332 lib/zstd/huf_compress.c 				U32 nBitsToDecrease = BIT_highbit32(totalCost) + 1;
nBitsToDecrease   333 lib/zstd/huf_compress.c 				for (; nBitsToDecrease > 1; nBitsToDecrease--) {
nBitsToDecrease   334 lib/zstd/huf_compress.c 					U32 highPos = rankLast[nBitsToDecrease];
nBitsToDecrease   335 lib/zstd/huf_compress.c 					U32 lowPos = rankLast[nBitsToDecrease - 1];
nBitsToDecrease   349 lib/zstd/huf_compress.c 				while ((nBitsToDecrease <= HUF_TABLELOG_MAX) && (rankLast[nBitsToDecrease] == noSymbol))
nBitsToDecrease   350 lib/zstd/huf_compress.c 					nBitsToDecrease++;
nBitsToDecrease   351 lib/zstd/huf_compress.c 				totalCost -= 1 << (nBitsToDecrease - 1);
nBitsToDecrease   352 lib/zstd/huf_compress.c 				if (rankLast[nBitsToDecrease - 1] == noSymbol)
nBitsToDecrease   353 lib/zstd/huf_compress.c 					rankLast[nBitsToDecrease - 1] = rankLast[nBitsToDecrease]; /* this rank is no longer empty */
nBitsToDecrease   354 lib/zstd/huf_compress.c 				huffNode[rankLast[nBitsToDecrease]].nbBits++;
nBitsToDecrease   355 lib/zstd/huf_compress.c 				if (rankLast[nBitsToDecrease] == 0) /* special case, reached largest symbol */
nBitsToDecrease   356 lib/zstd/huf_compress.c 					rankLast[nBitsToDecrease] = noSymbol;
nBitsToDecrease   358 lib/zstd/huf_compress.c 					rankLast[nBitsToDecrease]--;
nBitsToDecrease   359 lib/zstd/huf_compress.c 					if (huffNode[rankLast[nBitsToDecrease]].nbBits != maxNbBits - nBitsToDecrease)
nBitsToDecrease   360 lib/zstd/huf_compress.c 						rankLast[nBitsToDecrease] = noSymbol; /* this rank is now empty */