Home
last modified time | relevance | path

Searched refs:dt (Results 1 – 5 of 5) sorted by relevance

/lib/zstd/
Dfse_decompress.c95 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() argument
97 void *const tdPtr = dt + 1; /* because *dt is unsigned, 32-bits aligned on 32-bits */ in FSE_buildDTable_wksp()
132 memcpy(dt, &DTableH, sizeof(DTableH)); in FSE_buildDTable_wksp()
170 size_t FSE_buildDTable_rle(FSE_DTable *dt, BYTE symbolValue) in FSE_buildDTable_rle() argument
172 void *ptr = dt; in FSE_buildDTable_rle()
174 void *dPtr = dt + 1; in FSE_buildDTable_rle()
187 size_t FSE_buildDTable_raw(FSE_DTable *dt, unsigned nbBits) in FSE_buildDTable_raw() argument
189 void *ptr = dt; in FSE_buildDTable_raw()
191 void *dPtr = dt + 1; in FSE_buildDTable_raw()
214 …able_generic(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt, in FSE_decompress_usingDTable_generic() argument
[all …]
Dhuf_decompress.c96 HUF_DEltX2 *const dt = (HUF_DEltX2 *)dtPtr; in HUF_readDTableX2_wksp() local
150 dt[u] = D; in HUF_readDTableX2_wksp()
158 static BYTE HUF_decodeSymbolX2(BIT_DStream_t *Dstream, const HUF_DEltX2 *dt, const U32 dtLog) in HUF_decodeSymbolX2() argument
161 BYTE const c = dt[val].byte; in HUF_decodeSymbolX2()
162 BIT_skipBits(Dstream, dt[val].nbBits); in HUF_decodeSymbolX2()
166 #define HUF_DECODE_SYMBOLX2_0(ptr, DStreamPtr) *ptr++ = HUF_decodeSymbolX2(DStreamPtr, dt, dtLog)
176 …TE *p, BIT_DStream_t *const bitDPtr, BYTE *const pEnd, const HUF_DEltX2 *const dt, const U32 dtLog) in HUF_decodeStreamX2() argument
204 const HUF_DEltX2 *const dt = (const HUF_DEltX2 *)dtPtr; in HUF_decompress1X2_usingDTable_internal() local
215 HUF_decodeStreamX2(op, &bitD, oend, dt, dtLog); in HUF_decompress1X2_usingDTable_internal()
258 const HUF_DEltX2 *const dt = (const HUF_DEltX2 *)dtPtr; in HUF_decompress4X2_usingDTable_internal() local
[all …]
Dfse.h190 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned…
197 …singDTable(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt);
278 size_t FSE_buildDTable_raw(FSE_DTable *dt, unsigned nbBits);
281 size_t FSE_buildDTable_rle(FSE_DTable *dt, unsigned char symbolValue);
358 static void FSE_initDState(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD, const FSE_DTable *dt);
481 ZSTD_STATIC void FSE_initDState(FSE_DState_t *DStatePtr, BIT_DStream_t *bitD, const FSE_DTable *dt) in FSE_initDState() argument
483 const void *ptr = dt; in FSE_initDState()
487 DStatePtr->table = dt + 1; in FSE_initDState()
/lib/
Ddynamic_debug.c144 struct ddebug_table *dt; in ddebug_change() local
151 list_for_each_entry(dt, &ddebug_tables, link) { in ddebug_change()
155 !match_wildcard(query->module, dt->mod_name)) in ddebug_change()
158 for (i = 0; i < dt->num_ddebugs; i++) { in ddebug_change()
159 struct _ddebug *dp = &dt->ddebugs[i]; in ddebug_change()
203 dt->mod_name, dp->function, in ddebug_change()
886 struct ddebug_table *dt; in ddebug_add_module() local
888 dt = kzalloc(sizeof(*dt), GFP_KERNEL); in ddebug_add_module()
889 if (dt == NULL) { in ddebug_add_module()
899 dt->mod_name = name; in ddebug_add_module()
[all …]
Dwin_minmax.c32 u32 dt = val->t - m->s[0].t; in minmax_subwin_update() local
34 if (unlikely(dt > win)) { in minmax_subwin_update()
50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) { in minmax_subwin_update()
56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) { in minmax_subwin_update()