Lines Matching refs:dt
88 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize)
90 void *const tdPtr = dt + 1; /* because *dt is unsigned, 32-bits aligned on 32-bits */
125 memcpy(dt, &DTableH, sizeof(DTableH));
163 size_t FSE_buildDTable_rle(FSE_DTable *dt, BYTE symbolValue)
165 void *ptr = dt;
167 void *dPtr = dt + 1;
180 size_t FSE_buildDTable_raw(FSE_DTable *dt, unsigned nbBits)
182 void *ptr = dt;
184 void *dPtr = dt + 1;
207 FORCE_INLINE size_t FSE_decompress_usingDTable_generic(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt,
222 FSE_initDState(&state1, &bitD, dt);
223 FSE_initDState(&state2, &bitD, dt);
275 size_t FSE_decompress_usingDTable(void *dst, size_t originalSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt)
277 const void *ptr = dt;
283 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 1);
284 return FSE_decompress_usingDTable_generic(dst, originalSize, cSrc, cSrcSize, dt, 0);
295 FSE_DTable *dt;
301 dt = (FSE_DTable *)((U32 *)workspace + spaceUsed32);
322 CHECK_F(FSE_buildDTable_wksp(dt, counting, maxSymbolValue, tableLog, workspace, workspaceSize));
324 return FSE_decompress_usingDTable(dst, dstCapacity, ip, cSrcSize, dt); /* always return, even if it is an error code */