Lines Matching refs:dtd
132 DTableDesc dtd; in HUF_getDTableDesc() local
133 ZSTD_memcpy(&dtd, table, sizeof(dtd)); in HUF_getDTableDesc()
134 return dtd; in HUF_getDTableDesc()
358 { DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_readDTableX1_wksp_bmi2() local
359 U32 const maxTableLog = dtd.maxTableLog + 1; in HUF_readDTableX1_wksp_bmi2()
362 …if (tableLog > (U32)(dtd.maxTableLog+1)) return ERROR(tableLog_tooLarge); /* DTable too small, H… in HUF_readDTableX1_wksp_bmi2()
363 dtd.tableType = 0; in HUF_readDTableX1_wksp_bmi2()
364 dtd.tableLog = (BYTE)tableLog; in HUF_readDTableX1_wksp_bmi2()
365 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX1_wksp_bmi2()
536 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X1_usingDTable_internal_body() local
537 U32 const dtLog = dtd.tableLog; in HUF_decompress1X1_usingDTable_internal_body()
585 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X1_usingDTable_internal_body() local
586 U32 const dtLog = dtd.tableLog; in HUF_decompress4X1_usingDTable_internal_body()
754 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X1_usingDTable() local
755 if (dtd.tableType != 0) return ERROR(GENERIC); in HUF_decompress1X1_usingDTable()
779 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X1_usingDTable() local
780 if (dtd.tableType != 0) return ERROR(GENERIC); in HUF_decompress4X1_usingDTable()
1053 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_readDTableX2_wksp_bmi2() local
1054 U32 maxTableLog = dtd.maxTableLog; in HUF_readDTableX2_wksp_bmi2()
1127 dtd.tableLog = (BYTE)maxTableLog; in HUF_readDTableX2_wksp_bmi2()
1128 dtd.tableType = 1; in HUF_readDTableX2_wksp_bmi2()
1129 ZSTD_memcpy(DTable, &dtd, sizeof(dtd)); in HUF_readDTableX2_wksp_bmi2()
1233 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X2_usingDTable_internal_body() local
1234 HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X2_usingDTable_internal_body()
1280 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X2_usingDTable_internal_body() local
1281 U32 const dtLog = dtd.tableLog; in HUF_decompress4X2_usingDTable_internal_body()
1460 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_DGEN() local
1461 if (dtd.tableType != 1) return ERROR(GENERIC); in HUF_DGEN()
1486 DTableDesc dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X2_usingDTable() local
1487 if (dtd.tableType != 1) return ERROR(GENERIC); in HUF_decompress4X2_usingDTable()
1525 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X_usingDTable() local
1527 (void)dtd; in HUF_decompress1X_usingDTable()
1528 assert(dtd.tableType == 0); in HUF_decompress1X_usingDTable()
1531 (void)dtd; in HUF_decompress1X_usingDTable()
1532 assert(dtd.tableType == 1); in HUF_decompress1X_usingDTable()
1535 …return dtd.tableType ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTa… in HUF_decompress1X_usingDTable()
1544 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X_usingDTable() local
1546 (void)dtd; in HUF_decompress4X_usingDTable()
1547 assert(dtd.tableType == 0); in HUF_decompress4X_usingDTable()
1550 (void)dtd; in HUF_decompress4X_usingDTable()
1551 assert(dtd.tableType == 1); in HUF_decompress4X_usingDTable()
1554 …return dtd.tableType ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTa… in HUF_decompress4X_usingDTable()
1673 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress1X_usingDTable_bmi2() local
1675 (void)dtd; in HUF_decompress1X_usingDTable_bmi2()
1676 assert(dtd.tableType == 0); in HUF_decompress1X_usingDTable_bmi2()
1679 (void)dtd; in HUF_decompress1X_usingDTable_bmi2()
1680 assert(dtd.tableType == 1); in HUF_decompress1X_usingDTable_bmi2()
1683 …return dtd.tableType ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTa… in HUF_decompress1X_usingDTable_bmi2()
1704 DTableDesc const dtd = HUF_getDTableDesc(DTable); in HUF_decompress4X_usingDTable_bmi2() local
1706 (void)dtd; in HUF_decompress4X_usingDTable_bmi2()
1707 assert(dtd.tableType == 0); in HUF_decompress4X_usingDTable_bmi2()
1710 (void)dtd; in HUF_decompress4X_usingDTable_bmi2()
1711 assert(dtd.tableType == 1); in HUF_decompress4X_usingDTable_bmi2()
1714 …return dtd.tableType ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTa… in HUF_decompress4X_usingDTable_bmi2()