Home
last modified time | relevance | path

Searched refs:dictID (Results 1 – 25 of 28) sorted by relevance

12

/external/zstd/lib/decompress/
Dzstd_ddict.c41 U32 dictID; member
63 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
93 ddict->dictID = 0; in ZSTD_loadEntropy_intoDDict()
109 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE); in ZSTD_loadEntropy_intoDDict()
Dzstd_decompress.c93 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getIndex() argument
94 const U64 hash = XXH64(&dictID, sizeof(U32), 0); in ZSTD_DDictHashSet_getIndex()
104 const U32 dictID = ZSTD_getDictID_fromDDict(ddict); in ZSTD_DDictHashSet_emplaceDDict() local
105 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_emplaceDDict()
108 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict()
111 if (ZSTD_getDictID_fromDDict(hashSet->ddictPtrTable[idx]) == dictID) { in ZSTD_DDictHashSet_emplaceDDict()
119 DEBUGLOG(4, "Final idx after probing for dictID %u is: %zu", dictID, idx); in ZSTD_DDictHashSet_emplaceDDict()
154 static const ZSTD_DDict* ZSTD_DDictHashSet_getDDict(ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getDDict() argument
155 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_getDDict()
157 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx); in ZSTD_DDictHashSet_getDDict()
[all …]
Dzstd_decompress_internal.h162 U32 dictID; member
/external/zstd/tests/
Ddecodecorpus.c233 U32 dictID; member
341 MEM_writeLE32(op + pos, (U32) info.dictID); in writeFrameHeader()
1251 static int genRandomDict(U32 dictID, U32 seed, size_t dictSize, BYTE* fullDict) in genRandomDict() argument
1290 zdictParams.dictID = dictID; in genRandomDict()
1313 static dictInfo initDictInfo(int useDict, size_t dictContentSize, BYTE* dictContent, U32 dictID){ in initDictInfo() argument
1320 dictOp.dictID = dictID; in initDictInfo()
1389 U32 const dictID = RAND(&seed); in testDecodeWithDict() local
1397 if (genRandomDict(dictID, seed, dictSize, fullDict)) { /* return 0 on success */ in testDecodeWithDict()
1412 info = initDictInfo(1, dictContentSize, dictContent, dictID); in testDecodeWithDict()
1634 U32 const dictID = RAND(&seed); in generateCorpusWithDict() local
[all …]
DplayTests.sh1015 zstd --train "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpDict1
1018 zstd --train "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID -o 1 tmpDict1 && die "wrong order : --dictID mus…
1026 zstd -f tmp -D tmpDict1 --no-dictID
1083 zstd --train-fastcover=k=46,d=8,f=15,split=80 "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpDict1
1127 zstd --train-legacy -s5 "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpDict1
1723 zstd --train-cover=steps=256,shrink "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpShrinkDict
1724 zstd --train-cover=steps=256,shrink=1 "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpShrinkDict1
1725 zstd --train-cover=steps=256,shrink=5 "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpShrinkDict2
1726 zstd --train-cover=shrink=5,steps=256 "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpShrinkDict3
1728 zstd --train-cover=k=46,d=8,split=80 "$TESTDIR"/*.c "$PRGDIR"/*.c --dictID=1 -o tmpDict1
Dfuzzer.c2071 U32 dictID; in basicUnitTests() local
2171 dictID = ZDICT_getDictID(dictBuffer, dictSize); in basicUnitTests()
2172 if (dictID==0) goto _output_error; in basicUnitTests()
2173 DISPLAYLEVEL(3, "OK : %u \n", (unsigned)dictID); in basicUnitTests()
2195 if (did != dictID) goto _output_error; /* non-conformant (content-only) dictionary */ in basicUnitTests()
2201 if (did != dictID) goto _output_error; /* non-conformant (content-only) dictionary */ in basicUnitTests()
2239 if (did != dictID) goto _output_error; /* non-conformant (content-only) dictionary */ in basicUnitTests()
2719 U32 dictID; in basicUnitTests() local
2739 dictID = ZDICT_getDictID(dictBuffer, dictSize); in basicUnitTests()
2740 if (dictID==0) goto _output_error; in basicUnitTests()
[all …]
Dzstreamtest.c283 unsigned dictID = 0; in basicUnitTests() local
301 dictID = ZDICT_getDictID(dictionary.start, dictionary.filled); in basicUnitTests()
965 if (dID != dictID) goto _output_error; in basicUnitTests()
/external/zstd/lib/dictBuilder/
Dzdict.c953 U32 const dictID = params.dictID ? params.dictID : compliantID; in ZDICT_finalizeDictionary() local
954 MEM_writeLE32(header+4, dictID); in ZDICT_finalizeDictionary()
1037 U32 const dictID = params.dictID ? params.dictID : compliantID; in ZDICT_addEntropyTablesFromBuffer_advanced() local
1038 MEM_writeLE32((char*)dictBuffer+4, dictID); in ZDICT_addEntropyTablesFromBuffer_advanced()
/external/zstd/lib/compress/
Dzstd_compress.c84 U32 dictID; member
1931 zc->dictID = 0; in ZSTD_resetCCtx_internal()
2092 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byAttachingCDict()
2171 cctx->dictID = cdict->dictID; in ZSTD_resetCCtx_byCopyingCDict()
2272 dstCCtx->dictID = srcCCtx->dictID; in ZSTD_copyCCtx_internal()
4013 const ZSTD_CCtx_params* params, U64 pledgedSrcSize, U32 dictID) in ZSTD_writeFrameHeader() argument
4015 U32 const dictIDSizeCodeLength = (dictID>0) + (dictID>=256) + (dictID>=65536); /* 0-3 */ in ZSTD_writeFrameHeader()
4030 !params->fParams.noDictIDFlag, (unsigned)dictID, (unsigned)dictIDSizeCode); in ZSTD_writeFrameHeader()
4043 case 1 : op[pos] = (BYTE)(dictID); pos++; break; in ZSTD_writeFrameHeader()
4044 case 2 : MEM_writeLE16(op+pos, (U16)dictID); pos+=2; break; in ZSTD_writeFrameHeader()
[all …]
Dzstd_compress_internal.h371 U32 dictID; member
/external/zstd/lib/legacy/
Dzstd_v07.h117 unsigned dictID; member
Dzstd_v07.c2948 U32 dictID; member
2972 dctx->dictID = 0; in ZSTDv07_decompressBegin()
3136 U32 const dictID= fhd & 3; in ZSTDv07_frameHeaderSize() local
3139 …return ZSTDv07_frameHeaderSize_min + !directMode + ZSTDv07_did_fieldSize[dictID] + ZSTDv07_fcs_fie… in ZSTDv07_frameHeaderSize()
3178 U32 dictID = 0; in ZSTDv07_getFrameParams() local
3195 case 1 : dictID = ip[pos]; pos++; break; in ZSTDv07_getFrameParams()
3196 case 2 : dictID = MEM_readLE16(ip+pos); pos+=2; break; in ZSTDv07_getFrameParams()
3197 case 3 : dictID = MEM_readLE32(ip+pos); pos+=4; break; in ZSTDv07_getFrameParams()
3212 fparamsPtr->dictID = dictID; in ZSTDv07_getFrameParams()
3241 …if (dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID)) return ERROR(dictionary_wrong); in ZSTDv07_decodeFrameHeader()
[all …]
/external/zstd/lib/
Dzdict.h206 unsigned dictID; /*< force dictID value; 0 means auto mode (32-bits random value) member
Dzstd.h2502 unsigned dictID; member
/external/lz4/tests/
Dframetest.c565 U32 const dictID = 0x99; in basicTests() local
572 prefs.frameInfo.dictID = dictID; in basicTests()
580 if (prefs.frameInfo.dictID != dictID) goto _output_error; in basicTests()
581 DISPLAYLEVEL(3, "%u \n", (U32)prefs.frameInfo.dictID); in basicTests()
/external/zstd/programs/
Dzstdcli.c830 unsigned dictID = 0; in main() local
988 if (longCommandWArg(&argument, "--dictID")) { NEXT_UINT32(dictID); continue; } in main()
1325 zParams.dictID = dictID; in main()
1344 …(void)dictCLevel; (void)dictSelect; (void)dictID; (void)maxDictSize; /* not used when ZSTD_NODICT… in main()
DREADME.md184 --no-dictID : don't write dictID into header (dictionary compression only)
205 --dictID=# : force dictionary ID to specified value (default: random)
Dzstd.1.md181 * `--no-dictID`:
338 * `--dictID=#`:
/external/lz4/lib/
Dlz4frame.h181 …unsigned dictID; /* Dictionary ID, sent by compressor to help decoder s… member
Dlz4frame.c764 + (cctxPtr->prefs.frameInfo.dictID > 0) ); in LZ4F_compressBegin_usingCDict()
774 if (cctxPtr->prefs.frameInfo.dictID) { in LZ4F_compressBegin_usingCDict()
775 LZ4F_writeLE32(dstPtr, cctxPtr->prefs.frameInfo.dictID); in LZ4F_compressBegin_usingCDict()
1375 dctx->frameInfo.dictID = LZ4F_readLE32(srcPtr + frameHeaderSize - 5); in LZ4F_decodeHeader()
/external/lz4/doc/
Dlz4_Frame_format.md233 It's presumed that the 32-bits dictID uniquely identifies a dictionary.
/external/zstd/
DCHANGELOG488 API : fix : ZSTD_initCStream_usingCDict() properly writes dictID into frame header, by Gregory Szor…
495 API : experimental : added : dictID retrieval functions, and ZSTD_initCStream_srcSize()
/external/zstd/doc/
Dzstd_compression_format.md1691 - 0.1.1 : reserved dictID ranges
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h90972 U32 dictID; member
91164 unsigned int dictID; member
91204 U32 dictID; member
91220 U32 dictID; member
Dvmlinux.h90972 U32 dictID; member
91164 unsigned int dictID; member
91204 U32 dictID; member
91220 U32 dictID; member

12