Lines Matching refs:rankPosition
439 rankPos rankPosition[RANK_POSITION_TABLE_SIZE]; member
547 …ort(nodeElt huffNode[], const unsigned count[], U32 const maxSymbolValue, rankPos rankPosition[]) { in HUF_sort() argument
557 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort()
561 rankPosition[lowerRank].base++; in HUF_sort()
564 assert(rankPosition[RANK_POSITION_TABLE_SIZE - 1].base == 0); in HUF_sort()
567 rankPosition[n-1].base += rankPosition[n].base; in HUF_sort()
568 rankPosition[n-1].curr = rankPosition[n-1].base; in HUF_sort()
575 U32 const pos = rankPosition[r].curr++; in HUF_sort()
583 U32 const bucketSize = rankPosition[n].curr-rankPosition[n].base; in HUF_sort()
584 U32 const bucketStartIdx = rankPosition[n].base; in HUF_sort()
693 HUF_sort(huffNode, count, maxSymbolValue, wksp_tables->rankPosition); in HUF_buildCTable_wksp()