HomeSort by: relevance | last modified time | path
    Searched defs:dictID (Results 1 - 15 of 15) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v07.h 117 unsigned dictID;
zstd_v07.c 2893 U32 dictID;
2917 dctx->dictID = 0;
2980 bit 0-1 : dictID (0, 1, 2 or 4 bytes)
2992 Optional : dictID (0, 1, 2 or 4 bytes)
2994 0 : no dictID
3081 U32 const dictID= fhd & 3;
3084 return ZSTDv07_frameHeaderSize_min + !directMode + ZSTDv07_did_fieldSize[dictID] + ZSTDv07_fcs_fieldSize[fcsId]
3123 U32 dictID = 0;
3140 case 1 : dictID = ip[pos]; pos++; break;
3141 case 2 : dictID = MEM_readLE16(ip+pos); pos+=2; break
    [all...]
  /src/external/bsd/zstd/dist/lib/decompress/
zstd_ddict.c 41 U32 dictID;
63 dctx->dictID = ddict->dictID;
93 ddict->dictID = 0;
109 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE);
237 * Provides the dictID of the dictionary loaded into `ddict`.
243 return ddict->dictID;
zstd_decompress_internal.h 164 U32 dictID;
zstd_decompress.c 95 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) {
96 const U64 hash = XXH64(&dictID, sizeof(U32), 0);
102 * If inserting a DDict with a dictID that already exists in the set, replaces the one in the set.
106 const U32 dictID = ZSTD_getDictID_fromDDict(ddict);
107 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID);
110 DEBUGLOG(4, "Hashed index: for dictID: %u is %zu", dictID, idx);
112 /* Replace existing ddict if inserting ddict with same dictID */
113 if (ZSTD_getDictID_fromDDict(hashSet->ddictPtrTable[idx]) == dictID) {
114 DEBUGLOG(4, "DictID already exists, replacing rather than adding")
    [all...]
  /src/external/bsd/zstd/dist/lib/
zdict.h 217 unsigned dictID; /**< force dictID value; 0 means auto mode (32-bits random value)
269 ZDICTLIB_API unsigned ZDICT_getDictID(const void* dictBuffer, size_t dictSize); /**< extracts dictID; @return zero if error (not a valid dictionary) */
zstd.h 982 * and frame parameters are hardcoded (dictID=yes, contentSize=yes, checksum=no) */
1015 * Provides the dictID stored within dictionary.
1021 * Provides the dictID of the dictionary loaded into `cdict`.
1027 * Provides the dictID of the dictionary loaded into `ddict`.
1033 * Provides the dictID required to decompressed the frame stored within `src`.
1034 * If @return == 0, the dictID could not be decoded.
1037 * - The frame was built with dictID intentionally removed. Whatever dictionary is necessary is a hidden piece of information.
1328 int noDictIDFlag; /**< 1: no dictID will be saved into frame header (dictID is only useful for dictionary compression) */
1479 unsigned dictID;
    [all...]
  /src/external/bsd/zstd/dist/lib/dictBuilder/
zdict.c 881 U32 const dictID = params.dictID ? params.dictID : compliantID;
882 MEM_writeLE32(header+4, dictID);
965 U32 const dictID = params.dictID ? params.dictID : compliantID;
966 MEM_writeLE32((char*)dictBuffer+4, dictID);
  /src/external/bsd/zstd/dist/programs/
zstdcli.c 250 DISPLAYOUT(" --no-dictID Don't write `dictID` into the header (dictionary compression only).\n");
303 DISPLAYOUT(" --dictID=# Force dictionary ID to #. [Default: Random]\n");
882 unsigned dictID = 0;
977 if (!strcmp(argument, "--no-dictID")) { FIO_setDictIDFlag(prefs, 0); continue; }
1059 if (longCommandWArg(&argument, "--dictID")) { NEXT_UINT32(dictID); continue; }
1429 zParams.dictID = dictID;
1448 (void)dictCLevel; (void)dictSelect; (void)dictID; (void)maxDictSize; /* not used when ZSTD_NODICT set *
    [all...]
fileio.c 2120 DISPLAY("%s", prefs->dictIDFlag ? "" : " --no-dictID");
3166 unsigned dictID;
3221 if (info->dictID != 0 && info->dictID != header.dictID) {
3222 DISPLAY("WARNING: File contains multiple frames with different dictionary IDs. Showing dictID 0 instead");
3223 info->dictID = 0;
3225 info->dictID = header.dictID;
3340 DISPLAYOUT("DictID: %u\n", info->dictID)
    [all...]
  /src/external/bsd/zstd/dist/tests/
decodecorpus.c 236 U32 dictID;
348 MEM_writeLE32(op + pos, (U32) info.dictID);
1258 static int genRandomDict(U32 dictID, U32 seed, size_t dictSize, BYTE* fullDict)
1297 zdictParams.dictID = dictID;
1320 static dictInfo initDictInfo(int useDict, size_t dictContentSize, BYTE* dictContent, U32 dictID){
1327 dictOp.dictID = dictID;
1396 U32 const dictID = RAND(&seed);
1404 if (genRandomDict(dictID, seed, dictSize, fullDict)) { /* return 0 on success *
    [all...]
zstreamtest.c 284 unsigned dictID = 0;
302 dictID = ZDICT_getDictID(dictionary.start, dictionary.filled);
1114 if (dID != dictID) goto _output_error;
1343 DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_usingCDict_advanced with masked dictID : ", testNb++);
1364 DISPLAYLEVEL(3, "test%3i : try retrieving dictID from frame : ", testNb++);
fuzzer.c 2553 U32 dictID;
2652 DISPLAYLEVEL(3, "test%3i : check dictID : ", testNb++);
2653 dictID = ZDICT_getDictID(dictBuffer, dictSize);
2654 if (dictID==0) goto _output_error;
2655 DISPLAYLEVEL(3, "OK : %u \n", (unsigned)dictID);
2675 DISPLAYLEVEL(3, "test%3i : retrieve dictID from dictionary : ", testNb++);
2677 if (did != dictID) goto _output_error; /* non-conformant (content-only) dictionary */
2681 DISPLAYLEVEL(3, "test%3i : retrieve dictID from frame : ", testNb++);
2683 if (did != dictID) goto _output_error; /* non-conformant (content-only) dictionary */
2719 DISPLAYLEVEL(3, "test%3i : retrieve dictID from frame : ", testNb++)
    [all...]
  /src/external/bsd/zstd/dist/lib/compress/
zstd_compress_internal.h 413 U32 dictID;
zstd_compress.c 88 U32 dictID;
843 case ZSTD_c_dictIDFlag : /* When applicable, dictionary's dictID is provided in frame header (default:1) */
2194 zc->dictID = 0;
2366 cctx->dictID = cdict->dictID;
2463 cctx->dictID = cdict->dictID;
2565 dstCCtx->dictID = srcCCtx->dictID;
4576 const ZSTD_CCtx_params* params, U64 pledgedSrcSize, U32 dictID)
    [all...]

Completed in 128 milliseconds