Lines Matching refs:DTable
63 const HUF_DTable* DTable) \
65 return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
71 const HUF_DTable* DTable) \
73 return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
77 size_t cSrcSize, HUF_DTable const* DTable, int bmi2) \
80 return fn##_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); \
82 return fn##_default(dst, dstSize, cSrc, cSrcSize, DTable); \
89 size_t cSrcSize, HUF_DTable const* DTable, int bmi2) \
92 return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
142 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, … in HUF_readDTableX1_wksp() argument
144 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp()
147 size_t HUF_readDTableX1_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSp… in HUF_readDTableX1_wksp_bmi2() argument
152 void* const dtPtr = DTable + 1; in HUF_readDTableX1_wksp_bmi2()
166 { DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_readDTableX1_wksp_bmi2()
170 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX1_wksp_bmi2()
330 const HUF_DTable* DTable) in HUF_decompress1X1_usingDTable_internal_body() argument
334 const void* dtPtr = DTable + 1; in HUF_decompress1X1_usingDTable_internal_body()
337 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X1_usingDTable_internal_body()
353 const HUF_DTable* DTable) in HUF_decompress4X1_usingDTable_internal_body() argument
362 const void* const dtPtr = DTable + 1; in HUF_decompress4X1_usingDTable_internal_body()
386 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X1_usingDTable_internal_body()
447 const HUF_DTable *DTable);
457 const HUF_DTable* DTable) in HUF_DGEN()
459 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_DGEN()
461 … return HUF_decompress1X1_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_DGEN()
482 const HUF_DTable* DTable) in HUF_decompress4X1_usingDTable() argument
484 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X1_usingDTable()
486 … return HUF_decompress4X1_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X1_usingDTable()
528 static void HUF_fillDTableX2Level2(HUF_DEltX2* DTable, U32 sizeLog, const U32 consumed, in HUF_fillDTableX2Level2() argument
548 DTable[i] = DElt; in HUF_fillDTableX2Level2()
564 do { DTable[i++] = DElt; } while (i<end); /* since length >= 1 */ in HUF_fillDTableX2Level2()
571 static void HUF_fillDTableX2(HUF_DEltX2* DTable, const U32 targetLog, in HUF_fillDTableX2() argument
600 HUF_fillDTableX2Level2(DTable+start, targetLog-nbBits, nbBits, in HUF_fillDTableX2()
611 for (u = start; u < end; u++) DTable[u] = DElt; in HUF_fillDTableX2()
626 size_t HUF_readDTableX2_wksp(HUF_DTable* DTable, in HUF_readDTableX2_wksp() argument
631 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_readDTableX2_wksp()
634 void* dtPtr = DTable+1; /* force compiler to avoid strict-aliasing */ in HUF_readDTableX2_wksp()
708 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp()
780 const HUF_DTable* DTable) in HUF_decompress1X2_usingDTable_internal_body() argument
790 const void* const dtPtr = DTable+1; /* force compiler to not use strict-aliasing */ in HUF_decompress1X2_usingDTable_internal_body()
792 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X2_usingDTable_internal_body()
807 const HUF_DTable* DTable) in HUF_decompress4X2_usingDTable_internal_body() argument
815 const void* const dtPtr = DTable+1; in HUF_decompress4X2_usingDTable_internal_body()
840 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X2_usingDTable_internal_body()
924 const HUF_DTable* DTable) in HUF_DGEN()
926 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_DGEN()
928 … return HUF_decompress1X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_DGEN()
950 const HUF_DTable* DTable) in HUF_decompress4X2_usingDTable() argument
952 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X2_usingDTable()
954 … return HUF_decompress4X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X2_usingDTable()
989 const HUF_DTable* DTable) in HUF_decompress1X_usingDTable() argument
991 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X_usingDTable()
995 …return HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress1X_usingDTable()
999 …return HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress1X_usingDTable()
1001 …e ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0) : in HUF_decompress1X_usingDTable()
1002 … HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress1X_usingDTable()
1008 const HUF_DTable* DTable) in HUF_decompress4X_usingDTable() argument
1010 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X_usingDTable()
1014 …return HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress4X_usingDTable()
1018 …return HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress4X_usingDTable()
1020 …e ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0) : in HUF_decompress4X_usingDTable()
1021 … HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X_usingDTable()
1137 …oid* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int bmi2) in HUF_decompress1X_usingDTable_bmi2() argument
1139 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X_usingDTable_bmi2()
1143 return HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress1X_usingDTable_bmi2()
1147 return HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress1X_usingDTable_bmi2()
1149 …tableType ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2) : in HUF_decompress1X_usingDTable_bmi2()
1150 … HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress1X_usingDTable_bmi2()
1168 …oid* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int bmi2) in HUF_decompress4X_usingDTable_bmi2() argument
1170 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X_usingDTable_bmi2()
1174 return HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress4X_usingDTable_bmi2()
1178 return HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress4X_usingDTable_bmi2()
1180 …tableType ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2) : in HUF_decompress4X_usingDTable_bmi2()
1181 … HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress4X_usingDTable_bmi2()