/external/zstd/lib/common/ |
D | bitstream.h | 204 size_t value, unsigned nbBits) in BIT_addBits() 217 size_t value, unsigned nbBits) in BIT_addBitsFast() 330 … FORCE_INLINE_ATTR size_t BIT_getMiddleBits(size_t bitContainer, U32 const start, U32 const nbBits) in BIT_getMiddleBits() 338 MEM_STATIC FORCE_INLINE_ATTR size_t BIT_getLowerBits(size_t bitContainer, U32 const nbBits) in BIT_getLowerBits() 354 MEM_STATIC FORCE_INLINE_ATTR size_t BIT_lookBits(const BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBits() 370 MEM_STATIC size_t BIT_lookBitsFast(const BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBitsFast() 377 MEM_STATIC FORCE_INLINE_ATTR void BIT_skipBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_skipBits() 386 MEM_STATIC FORCE_INLINE_ATTR size_t BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits) in BIT_readBits() 395 MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, unsigned nbBits) in BIT_readBitsFast()
|
D | fse.h | 598 unsigned char nbBits; member 619 U32 const nbBits = DInfo.nbBits; in FSE_updateState() local 627 U32 const nbBits = DInfo.nbBits; in FSE_decodeSymbol() local 640 U32 const nbBits = DInfo.nbBits; in FSE_decodeSymbolFast() local
|
D | huf.h | 141 BYTE nbBits; member
|
D | entropy_common.c | 70 int nbBits; in FSE_readNCount_body() local
|
D | fse_decompress.c | 205 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
|
/external/lz4/tests/ |
D | frametest.c | 160 unsigned nbBits = 0; in FUZ_highbit() local 384 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local 704 unsigned nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local 723 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests() local 1050 { U32 const nbBits = FUZ_rand(&randState) % maxNbBits; in fuzzerTests() local 1058 U32 const nbBits = nbBitsCodes ? nbBitsCodes-1 : 0; in fuzzerTests() local
|
D | fuzzer.c | 120 static U32 FUZ_rotl32(U32 u32, U32 nbBits) in FUZ_rotl32() 127 unsigned nbBits = 0; in FUZ_highbit32() local 573 { U32 const nbBits = FUZ_rand(&randState) % maxNbBits; in FUZ_test() local 581 U32 const nbBits = nbBitsCodes ? nbBitsCodes-1 : 0; in FUZ_test() local
|
/external/zstd/lib/legacy/ |
D | zstd_v01.c | 129 unsigned char nbBits; member 488 int nbBits; in FSE_readNCount() local 615 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() 701 static size_t FSE_lookBits(FSE_DStream_t* bitD, U32 nbBits) in FSE_lookBits() 707 static size_t FSE_lookBitsFast(FSE_DStream_t* bitD, U32 nbBits) /* only if nbBits >= 1 !! */ in FSE_lookBitsFast() 713 static void FSE_skipBits(FSE_DStream_t* bitD, U32 nbBits) in FSE_skipBits() 726 static size_t FSE_readBits(FSE_DStream_t* bitD, U32 nbBits) in FSE_readBits() 733 static size_t FSE_readBitsFast(FSE_DStream_t* bitD, U32 nbBits) /* only if nbBits >= 1 !! */ in FSE_readBitsFast() 785 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbol() local 796 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbolFast() local [all …]
|
D | zstd_v02.c | 433 MEM_STATIC size_t BIT_lookBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBits() 441 MEM_STATIC size_t BIT_lookBitsFast(BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBitsFast() 447 MEM_STATIC void BIT_skipBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_skipBits() 452 MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_readBits() 461 MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, U32 nbBits) in BIT_readBitsFast() 712 unsigned char nbBits; member 727 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbol() local 738 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbolFast() local 1188 int nbBits; in FSE_readNCount() local 1315 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() [all …]
|
D | zstd_v03.c | 435 MEM_STATIC size_t BIT_lookBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBits() 443 MEM_STATIC size_t BIT_lookBitsFast(BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBitsFast() 449 MEM_STATIC void BIT_skipBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_skipBits() 454 MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_readBits() 463 MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, U32 nbBits) in BIT_readBitsFast() 714 unsigned char nbBits; member 729 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbol() local 740 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbolFast() local 1189 int nbBits; in FSE_readNCount() local 1316 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() [all …]
|
D | zstd_v04.c | 700 MEM_STATIC size_t BIT_lookBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBits() 708 MEM_STATIC size_t BIT_lookBitsFast(BIT_DStream_t* bitD, U32 nbBits) in BIT_lookBitsFast() 714 MEM_STATIC void BIT_skipBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_skipBits() 719 MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, U32 nbBits) in BIT_readBits() 728 MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, U32 nbBits) in BIT_readBitsFast() 887 unsigned char nbBits; member 902 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbol() local 913 const U32 nbBits = DInfo.nbBits; in FSE_decodeSymbolFast() local 1166 int nbBits; in FSE_readNCount() local 1294 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw() [all …]
|
D | zstd_v05.c | 826 MEM_STATIC size_t BITv05_lookBits(BITv05_DStream_t* bitD, U32 nbBits) in BITv05_lookBits() 834 MEM_STATIC size_t BITv05_lookBitsFast(BITv05_DStream_t* bitD, U32 nbBits) in BITv05_lookBitsFast() 840 MEM_STATIC void BITv05_skipBits(BITv05_DStream_t* bitD, U32 nbBits) in BITv05_skipBits() 845 MEM_STATIC size_t BITv05_readBits(BITv05_DStream_t* bitD, unsigned nbBits) in BITv05_readBits() 854 MEM_STATIC size_t BITv05_readBitsFast(BITv05_DStream_t* bitD, unsigned nbBits) in BITv05_readBitsFast() 1003 unsigned char nbBits; member 1024 const U32 nbBits = DInfo.nbBits; in FSEv05_decodeSymbol() local 1035 const U32 nbBits = DInfo.nbBits; in FSEv05_decodeSymbolFast() local 1292 int nbBits; in FSEv05_readNCount() local 1402 size_t FSEv05_buildDTable_raw (FSEv05_DTable* dt, unsigned nbBits) in FSEv05_buildDTable_raw() [all …]
|
D | zstd_v06.c | 928 MEM_STATIC size_t BITv06_lookBits(const BITv06_DStream_t* bitD, U32 nbBits) in BITv06_lookBits() 936 MEM_STATIC size_t BITv06_lookBitsFast(const BITv06_DStream_t* bitD, U32 nbBits) in BITv06_lookBitsFast() 942 MEM_STATIC void BITv06_skipBits(BITv06_DStream_t* bitD, U32 nbBits) in BITv06_skipBits() 947 MEM_STATIC size_t BITv06_readBits(BITv06_DStream_t* bitD, U32 nbBits) in BITv06_readBits() 956 MEM_STATIC size_t BITv06_readBitsFast(BITv06_DStream_t* bitD, U32 nbBits) in BITv06_readBitsFast() 1109 unsigned char nbBits; member 1130 U32 const nbBits = DInfo.nbBits; in FSEv06_updateState() local 1138 U32 const nbBits = DInfo.nbBits; in FSEv06_decodeSymbol() local 1151 U32 const nbBits = DInfo.nbBits; in FSEv06_decodeSymbolFast() local 1273 int nbBits; in FSEv06_readNCount() local [all …]
|
D | zstd_v07.c | 596 MEM_STATIC size_t BITv07_lookBits(const BITv07_DStream_t* bitD, U32 nbBits) in BITv07_lookBits() 604 MEM_STATIC size_t BITv07_lookBitsFast(const BITv07_DStream_t* bitD, U32 nbBits) in BITv07_lookBitsFast() 610 MEM_STATIC void BITv07_skipBits(BITv07_DStream_t* bitD, U32 nbBits) in BITv07_skipBits() 615 MEM_STATIC size_t BITv07_readBits(BITv07_DStream_t* bitD, U32 nbBits) in BITv07_readBits() 624 MEM_STATIC size_t BITv07_readBitsFast(BITv07_DStream_t* bitD, U32 nbBits) in BITv07_readBitsFast() 873 unsigned char nbBits; member 894 U32 const nbBits = DInfo.nbBits; in FSEv07_updateState() local 902 U32 const nbBits = DInfo.nbBits; in FSEv07_decodeSymbol() local 915 U32 const nbBits = DInfo.nbBits; in FSEv07_decodeSymbolFast() local 1217 int nbBits; in FSEv07_readNCount() local [all …]
|
/external/zstd/lib/decompress/ |
D | huf_decompress.c | 116 typedef struct { BYTE byte; BYTE nbBits; } HUF_DEltX1; /* single-symbol decoding */ member 122 static U64 HUF_DEltX1_set4(BYTE symbol, BYTE nbBits) { in HUF_DEltX1_set4() 222 BYTE const nbBits = (BYTE)(tableLog + 1 - w); in HUF_readDTableX1_wksp_bmi2() local 520 typedef struct { U16 sequence; BYTE nbBits; BYTE length; } HUF_DEltX2; /* double-symbols decoding … member 553 const U32 nbBits = nbBitsBaseline - weight; in HUF_fillDTableX2Level2() local 585 const U32 nbBits = nbBitsBaseline - weight; in HUF_fillDTableX2() local
|
D | zstd_decompress_block.c | 544 U32 const nbBits = nbAdditionalBits[symbol]; in ZSTD_buildSeqTable() local 915 U32 const nbBits = DInfo.nbBits; in ZSTD_updateFseState() local 923 U32 const nbBits = DInfo.nbBits; in ZSTD_updateFseStateWithDInfo() local
|
D | zstd_decompress_internal.h | 70 BYTE nbBits; member
|
/external/zstd/lib/compress/ |
D | fse_compress.c | 204 int nbBits; in FSE_writeNCount_generic() local 501 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits) in FSE_buildCTable_raw()
|
D | huf_compress.c | 205 BYTE nbBits; member 527 size_t nbBits = 0; in HUF_estimateCompressedSize() local
|
/external/zstd/tests/ |
D | fuzzer.c | 109 unsigned nbBits = 0; in FUZ_highbit32() local 3477 { U32 const nbBits = FUZ_rand(&lseed) % maxNbBits; in fuzzerTests() local 3485 U32 const nbBits = nbBitsCodes ? nbBitsCodes-1 : 0; in fuzzerTests() local
|