Lines Matching refs:DTable

90             const HUF_DTable* DTable)                                       \
92 return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
98 const HUF_DTable* DTable) \
100 return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
104 size_t cSrcSize, HUF_DTable const* DTable, int bmi2) \
107 return fn##_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); \
109 return fn##_default(dst, dstSize, cSrc, cSrcSize, DTable); \
116 size_t cSrcSize, HUF_DTable const* DTable, int bmi2) \
119 return fn##_body(dst, dstSize, cSrc, cSrcSize, DTable); \
162 …smArgs* args, void* dst, size_t dstSize, void const* src, size_t srcSize, const HUF_DTable* DTable) in HUF_DecompressAsmArgs_init() argument
164 void const* dt = DTable + 1; in HUF_DecompressAsmArgs_init()
165 U32 const dtLog = HUF_getDTableDesc(DTable).tableLog; in HUF_DecompressAsmArgs_init()
333 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, … in HUF_readDTableX1_wksp() argument
335 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp()
338 size_t HUF_readDTableX1_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSp… in HUF_readDTableX1_wksp_bmi2() argument
343 void* const dtPtr = DTable + 1; in HUF_readDTableX1_wksp_bmi2()
358 { DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_readDTableX1_wksp_bmi2()
365 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX1_wksp_bmi2()
529 const HUF_DTable* DTable) in HUF_decompress1X1_usingDTable_internal_body() argument
533 const void* dtPtr = DTable + 1; in HUF_decompress1X1_usingDTable_internal_body()
536 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X1_usingDTable_internal_body()
552 const HUF_DTable* DTable) in HUF_decompress4X1_usingDTable_internal_body() argument
561 const void* const dtPtr = DTable + 1; in HUF_decompress4X1_usingDTable_internal_body()
585 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X1_usingDTable_internal_body()
648 size_t cSrcSize, HUF_DTable const* DTable) { in HUF_decompress4X1_usingDTable_internal_bmi2() argument
649 return HUF_decompress4X1_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X1_usingDTable_internal_bmi2()
656 size_t cSrcSize, HUF_DTable const* DTable) { in HUF_decompress4X1_usingDTable_internal_default() argument
657 return HUF_decompress4X1_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X1_usingDTable_internal_default()
670 const HUF_DTable* DTable) in HUF_decompress4X1_usingDTable_internal_bmi2_asm() argument
672 void const* dt = DTable + 1; in HUF_decompress4X1_usingDTable_internal_bmi2_asm()
677 size_t const ret = HUF_DecompressAsmArgs_init(&args, dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X1_usingDTable_internal_bmi2_asm()
680 … return HUF_decompress4X1_usingDTable_internal_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X1_usingDTable_internal_bmi2_asm()
722 const HUF_DTable *DTable);
727 size_t cSrcSize, HUF_DTable const* DTable, int bmi2) in HUF_DGEN()
732 … return HUF_decompress4X1_usingDTable_internal_bmi2_asm(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_DGEN()
734 return HUF_decompress4X1_usingDTable_internal_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_DGEN()
742 return HUF_decompress4X1_usingDTable_internal_bmi2_asm(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_DGEN()
744 return HUF_decompress4X1_usingDTable_internal_default(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_DGEN()
752 const HUF_DTable* DTable) in HUF_decompress1X1_usingDTable() argument
754 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X1_usingDTable()
756 … return HUF_decompress1X1_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress1X1_usingDTable()
777 const HUF_DTable* DTable) in HUF_decompress4X1_usingDTable() argument
779 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X1_usingDTable()
781 … return HUF_decompress4X1_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X1_usingDTable()
931 static void HUF_fillDTableX2Level2(HUF_DEltX2* DTable, U32 targetLog, const U32 consumedBits, in HUF_fillDTableX2Level2() argument
949 ZSTD_memcpy(DTable, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
953 ZSTD_memcpy(DTable + 0, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
954 ZSTD_memcpy(DTable + 2, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
960 ZSTD_memcpy(DTable + i + 0, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
961 ZSTD_memcpy(DTable + i + 2, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
962 ZSTD_memcpy(DTable + i + 4, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
963 ZSTD_memcpy(DTable + i + 6, &DEltX2, sizeof(DEltX2)); in HUF_fillDTableX2Level2()
978 DTable + rankVal[w], in HUF_fillDTableX2Level2()
986 static void HUF_fillDTableX2(HUF_DEltX2* DTable, const U32 targetLog, in HUF_fillDTableX2() argument
1015 DTable + start, targetLog, nbBits, in HUF_fillDTableX2()
1024 DTable + rankVal[w], in HUF_fillDTableX2()
1041 size_t HUF_readDTableX2_wksp(HUF_DTable* DTable, in HUF_readDTableX2_wksp() argument
1045 return HUF_readDTableX2_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX2_wksp()
1048 size_t HUF_readDTableX2_wksp_bmi2(HUF_DTable* DTable, in HUF_readDTableX2_wksp_bmi2() argument
1053 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_readDTableX2_wksp_bmi2()
1056 void* dtPtr = DTable+1; /* force compiler to avoid strict-aliasing */ in HUF_readDTableX2_wksp_bmi2()
1129 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp_bmi2()
1221 const HUF_DTable* DTable) in HUF_decompress1X2_usingDTable_internal_body() argument
1231 const void* const dtPtr = DTable+1; /* force compiler to not use strict-aliasing */ in HUF_decompress1X2_usingDTable_internal_body()
1233 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X2_usingDTable_internal_body()
1247 const HUF_DTable* DTable) in HUF_decompress4X2_usingDTable_internal_body() argument
1255 const void* const dtPtr = DTable+1; in HUF_decompress4X2_usingDTable_internal_body()
1280 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X2_usingDTable_internal_body()
1364 size_t cSrcSize, HUF_DTable const* DTable) { in HUF_decompress4X2_usingDTable_internal_bmi2() argument
1365 return HUF_decompress4X2_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal_bmi2()
1372 size_t cSrcSize, HUF_DTable const* DTable) { in HUF_decompress4X2_usingDTable_internal_default() argument
1373 return HUF_decompress4X2_usingDTable_internal_body(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal_default()
1385 const HUF_DTable* DTable) { in HUF_decompress4X2_usingDTable_internal_bmi2_asm() argument
1386 void const* dt = DTable + 1; in HUF_decompress4X2_usingDTable_internal_bmi2_asm()
1391 size_t const ret = HUF_DecompressAsmArgs_init(&args, dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal_bmi2_asm()
1394 … return HUF_decompress4X2_usingDTable_internal_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal_bmi2_asm()
1432 size_t cSrcSize, HUF_DTable const* DTable, int bmi2) in HUF_decompress4X2_usingDTable_internal() argument
1437 … return HUF_decompress4X2_usingDTable_internal_bmi2_asm(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal()
1439 return HUF_decompress4X2_usingDTable_internal_bmi2(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal()
1447 return HUF_decompress4X2_usingDTable_internal_bmi2_asm(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal()
1449 return HUF_decompress4X2_usingDTable_internal_default(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress4X2_usingDTable_internal()
1458 const HUF_DTable* DTable) in HUF_DGEN()
1460 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_DGEN()
1462 … return HUF_decompress1X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_DGEN()
1484 const HUF_DTable* DTable) in HUF_decompress4X2_usingDTable() argument
1486 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X2_usingDTable()
1488 … return HUF_decompress4X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X2_usingDTable()
1523 const HUF_DTable* DTable) in HUF_decompress1X_usingDTable() argument
1525 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X_usingDTable()
1529 …return HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress1X_usingDTable()
1533 …return HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress1X_usingDTable()
1535 …e ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0) : in HUF_decompress1X_usingDTable()
1536 … HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress1X_usingDTable()
1542 const HUF_DTable* DTable) in HUF_decompress4X_usingDTable() argument
1544 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X_usingDTable()
1548 …return HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress4X_usingDTable()
1552 …return HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress4X_usingDTable()
1554 …e ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0) : in HUF_decompress4X_usingDTable()
1555 … HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X_usingDTable()
1671 …oid* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int bmi2) in HUF_decompress1X_usingDTable_bmi2() argument
1673 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X_usingDTable_bmi2()
1677 return HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress1X_usingDTable_bmi2()
1681 return HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress1X_usingDTable_bmi2()
1683 …tableType ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2) : in HUF_decompress1X_usingDTable_bmi2()
1684 … HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress1X_usingDTable_bmi2()
1702 …oid* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const HUF_DTable* DTable, int bmi2) in HUF_decompress4X_usingDTable_bmi2() argument
1704 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X_usingDTable_bmi2()
1708 return HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress4X_usingDTable_bmi2()
1712 return HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress4X_usingDTable_bmi2()
1714 …tableType ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2) : in HUF_decompress4X_usingDTable_bmi2()
1715 … HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, bmi2); in HUF_decompress4X_usingDTable_bmi2()