/external/zstd/lib/decompress/ |
D | zstd_ddict.c | 41 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()
|
D | zstd_decompress.c | 93 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 …]
|
D | zstd_decompress_internal.h | 162 U32 dictID; member
|
/external/zstd/tests/ |
D | decodecorpus.c | 233 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 …]
|
D | playTests.sh | 1015 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
|
D | fuzzer.c | 2071 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 …]
|
D | zstreamtest.c | 283 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/ |
D | zdict.c | 953 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/ |
D | zstd_compress.c | 84 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 …]
|
D | zstd_compress_internal.h | 371 U32 dictID; member
|
/external/zstd/lib/legacy/ |
D | zstd_v07.h | 117 unsigned dictID; member
|
D | zstd_v07.c | 2948 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/ |
D | zdict.h | 206 unsigned dictID; /*< force dictID value; 0 means auto mode (32-bits random value) member
|
D | zstd.h | 2502 unsigned dictID; member
|
/external/lz4/tests/ |
D | frametest.c | 565 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/ |
D | zstdcli.c | 830 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()
|
D | README.md | 184 --no-dictID : don't write dictID into header (dictionary compression only) 205 --dictID=# : force dictionary ID to specified value (default: random)
|
D | zstd.1.md | 181 * `--no-dictID`: 338 * `--dictID=#`:
|
/external/lz4/lib/ |
D | lz4frame.h | 181 …unsigned dictID; /* Dictionary ID, sent by compressor to help decoder s… member
|
D | lz4frame.c | 764 + (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/ |
D | lz4_Frame_format.md | 233 It's presumed that the 32-bits dictID uniquely identifies a dictionary.
|
/external/zstd/ |
D | CHANGELOG | 488 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/ |
D | zstd_compression_format.md | 1691 - 0.1.1 : reserved dictID ranges
|
/external/bcc/libbpf-tools/powerpc/ |
D | vmlinux_510.h | 90972 U32 dictID; member 91164 unsigned int dictID; member 91204 U32 dictID; member 91220 U32 dictID; member
|
D | vmlinux.h | 90972 U32 dictID; member 91164 unsigned int dictID; member 91204 U32 dictID; member 91220 U32 dictID; member
|