Lines Matching refs:dictPtr

4228     const BYTE* dictPtr = (const BYTE*)dict;    /* skip magic num and dict ID */  in ZSTD_loadCEntropy()  local
4229 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadCEntropy()
4230 dictPtr += 8; in ZSTD_loadCEntropy()
4235 …t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, dictPtr, in ZSTD_loadCEntropy()
4236 dictEnd-dictPtr, &hasZeroWeights); in ZSTD_loadCEntropy()
4245 dictPtr += hufHeaderSize; in ZSTD_loadCEntropy()
4249 …eaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4259 dictPtr += offcodeHeaderSize; in ZSTD_loadCEntropy()
4264 …FSE_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4273 dictPtr += matchlengthHeaderSize; in ZSTD_loadCEntropy()
4278 …ize = FSE_readNCount(litlengthNCount, &litlengthMaxValue, &litlengthLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4287 dictPtr += litlengthHeaderSize; in ZSTD_loadCEntropy()
4290 RETURN_ERROR_IF(dictPtr+12 > dictEnd, dictionary_corrupted, ""); in ZSTD_loadCEntropy()
4291 bs->rep[0] = MEM_readLE32(dictPtr+0); in ZSTD_loadCEntropy()
4292 bs->rep[1] = MEM_readLE32(dictPtr+4); in ZSTD_loadCEntropy()
4293 bs->rep[2] = MEM_readLE32(dictPtr+8); in ZSTD_loadCEntropy()
4294 dictPtr += 12; in ZSTD_loadCEntropy()
4296 { size_t const dictContentSize = (size_t)(dictEnd - dictPtr); in ZSTD_loadCEntropy()
4312 return dictPtr - (const BYTE*)dict; in ZSTD_loadCEntropy()
4332 const BYTE* dictPtr = (const BYTE*)dict; in ZSTD_loadZstdDictionary() local
4333 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadZstdDictionary()
4338 assert(MEM_readLE32(dictPtr) == ZSTD_MAGIC_DICTIONARY); in ZSTD_loadZstdDictionary()
4340 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ ); in ZSTD_loadZstdDictionary()
4343 dictPtr += eSize; in ZSTD_loadZstdDictionary()
4346 size_t const dictContentSize = (size_t)(dictEnd - dictPtr); in ZSTD_loadZstdDictionary()
4348 ms, NULL, ws, params, dictPtr, dictContentSize, dtlm), ""); in ZSTD_loadZstdDictionary()