/external/zstd/lib/common/ |
D | entropy_common.c | 70 size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body() argument 82 unsigned const maxSV1 = *maxSVPtr + 1; in FSE_readNCount_body() 89 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body() 98 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body() 211 *maxSVPtr = charnum-1; in FSE_readNCount_body() 219 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_default() argument 222 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_default() 227 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_bmi2() argument 230 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_bmi2() 235 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_bmi2() argument [all …]
|
/external/zstd/lib/legacy/ |
D | zstd_v01.c | 478 static size_t FSE_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount() argument 503 while ((remaining>1) && (charnum<=*maxSVPtr)) in FSE_readNCount() 530 if (n0 > *maxSVPtr) return (size_t)-FSE_ERROR_maxSymbolValue_tooSmall; in FSE_readNCount() 583 *maxSVPtr = charnum-1; in FSE_readNCount()
|
D | zstd_v03.c | 1179 static size_t FSE_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount() argument 1204 while ((remaining>1) && (charnum<=*maxSVPtr)) in FSE_readNCount() 1231 if (n0 > *maxSVPtr) return ERROR(maxSymbolValue_tooSmall); in FSE_readNCount() 1284 *maxSVPtr = charnum-1; in FSE_readNCount()
|
D | zstd_v04.c | 1156 static size_t FSE_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount() argument 1181 while ((remaining>1) && (charnum<=*maxSVPtr)) in FSE_readNCount() 1208 if (n0 > *maxSVPtr) return ERROR(maxSymbolValue_tooSmall); in FSE_readNCount() 1261 *maxSVPtr = charnum-1; in FSE_readNCount()
|
D | zstd_v02.c | 1178 static size_t FSE_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount() argument 1203 while ((remaining>1) && (charnum<=*maxSVPtr)) in FSE_readNCount() 1230 if (n0 > *maxSVPtr) return ERROR(maxSymbolValue_tooSmall); in FSE_readNCount() 1283 *maxSVPtr = charnum-1; in FSE_readNCount()
|
D | zstd_v05.c | 1282 size_t FSEv05_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSEv05_readNCount() argument 1307 while ((remaining>1) && (charnum<=*maxSVPtr)) { in FSEv05_readNCount() 1326 if (n0 > *maxSVPtr) return ERROR(maxSymbolValue_tooSmall); in FSEv05_readNCount() 1368 *maxSVPtr = charnum-1; in FSEv05_readNCount()
|
D | zstd_v06.c | 1263 size_t FSEv06_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSEv06_readNCount() argument 1288 while ((remaining>1) && (charnum<=*maxSVPtr)) { in FSEv06_readNCount() 1307 if (n0 > *maxSVPtr) return ERROR(maxSymbolValue_tooSmall); in FSEv06_readNCount() 1348 *maxSVPtr = charnum-1; in FSEv06_readNCount()
|
D | zstd_v07.c | 1207 size_t FSEv07_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSEv07_readNCount() argument 1232 while ((remaining>1) && (charnum<=*maxSVPtr)) { in FSEv07_readNCount() 1251 if (n0 > *maxSVPtr) return ERROR(maxSymbolValue_tooSmall); in FSEv07_readNCount() 1292 *maxSVPtr = charnum-1; in FSEv07_readNCount()
|