Lines Matching refs:dictPtr
4319 const BYTE* dictPtr = (const BYTE*)dict; /* skip magic num and dict ID */ in ZSTD_loadCEntropy() local
4320 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadCEntropy()
4321 dictPtr += 8; in ZSTD_loadCEntropy()
4326 …t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, dictPtr, in ZSTD_loadCEntropy()
4327 dictEnd-dictPtr, &hasZeroWeights); in ZSTD_loadCEntropy()
4336 dictPtr += hufHeaderSize; in ZSTD_loadCEntropy()
4340 …eaderSize = FSE_readNCount(offcodeNCount, &offcodeMaxValue, &offcodeLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4350 dictPtr += offcodeHeaderSize; in ZSTD_loadCEntropy()
4355 …FSE_readNCount(matchlengthNCount, &matchlengthMaxValue, &matchlengthLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4364 dictPtr += matchlengthHeaderSize; in ZSTD_loadCEntropy()
4369 …ize = FSE_readNCount(litlengthNCount, &litlengthMaxValue, &litlengthLog, dictPtr, dictEnd-dictPtr); in ZSTD_loadCEntropy()
4378 dictPtr += litlengthHeaderSize; in ZSTD_loadCEntropy()
4381 RETURN_ERROR_IF(dictPtr+12 > dictEnd, dictionary_corrupted, ""); in ZSTD_loadCEntropy()
4382 bs->rep[0] = MEM_readLE32(dictPtr+0); in ZSTD_loadCEntropy()
4383 bs->rep[1] = MEM_readLE32(dictPtr+4); in ZSTD_loadCEntropy()
4384 bs->rep[2] = MEM_readLE32(dictPtr+8); in ZSTD_loadCEntropy()
4385 dictPtr += 12; in ZSTD_loadCEntropy()
4387 { size_t const dictContentSize = (size_t)(dictEnd - dictPtr); in ZSTD_loadCEntropy()
4403 return dictPtr - (const BYTE*)dict; in ZSTD_loadCEntropy()
4423 const BYTE* dictPtr = (const BYTE*)dict; in ZSTD_loadZstdDictionary() local
4424 const BYTE* const dictEnd = dictPtr + dictSize; in ZSTD_loadZstdDictionary()
4429 assert(MEM_readLE32(dictPtr) == ZSTD_MAGIC_DICTIONARY); in ZSTD_loadZstdDictionary()
4431 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ ); in ZSTD_loadZstdDictionary()
4434 dictPtr += eSize; in ZSTD_loadZstdDictionary()
4437 size_t const dictContentSize = (size_t)(dictEnd - dictPtr); in ZSTD_loadZstdDictionary()
4439 ms, NULL, ws, params, dictPtr, dictContentSize, dtlm), ""); in ZSTD_loadZstdDictionary()