Lines Matching refs:wksp

75     HUF_CompressWeightsWksp* wksp = (HUF_CompressWeightsWksp*)workspace;  in HUF_compressWeights()  local
83 …{ unsigned const maxCount = HIST_count_simple(wksp->count, &maxSymbolValue, weightTable, wtSize)… in HUF_compressWeights()
89 …CHECK_F( FSE_normalizeCount(wksp->norm, tableLog, wksp->count, wtSize, maxSymbolValue, /* useLowPr… in HUF_compressWeights()
92 …{ CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), wksp->norm, maxSymbolValue, tableLog) … in HUF_compressWeights()
97 …CHECK_F( FSE_buildCTable_wksp(wksp->CTable, wksp->norm, maxSymbolValue, tableLog, wksp->scratchBuf… in HUF_compressWeights()
98 …_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, wksp->CTable) ); in HUF_compressWeights()
108 HUF_CompressWeightsWksp wksp; member
119 HUF_WriteCTableWksp* wksp = (HUF_WriteCTableWksp*)workspace; in HUF_writeCTable_wksp() local
126 wksp->bitsToWeight[0] = 0; in HUF_writeCTable_wksp()
128 wksp->bitsToWeight[n] = (BYTE)(huffLog + 1 - n); in HUF_writeCTable_wksp()
130 wksp->huffWeight[n] = wksp->bitsToWeight[CTable[n].nbBits]; in HUF_writeCTable_wksp()
133 …ze, HUF_compressWeights(op+1, maxDstSize-1, wksp->huffWeight, maxSymbolValue, &wksp->wksp, sizeof( in HUF_writeCTable_wksp()
143wksp->huffWeight[maxSymbolValue] = 0; /* to be sure it doesn't cause msan issue in final combina… in HUF_writeCTable_wksp()
145 op[(n/2)+1] = (BYTE)((wksp->huffWeight[n] << 4) + wksp->huffWeight[n+1]); in HUF_writeCTable_wksp()
155 HUF_WriteCTableWksp wksp; in HUF_writeCTable() local
156 …return HUF_writeCTable_wksp(dst, maxDstSize, CTable, maxSymbolValue, huffLog, &wksp, sizeof(wksp)); in HUF_writeCTable()