Lines Matching refs:count
130 U64 ZSTD_rotateRight_U64(U64 const value, U32 count) { in ZSTD_rotateRight_U64() argument
131 assert(count < 64); in ZSTD_rotateRight_U64()
132 count &= 0x3F; /* for fickle pattern recognition */ in ZSTD_rotateRight_U64()
133 return (value >> count) | (U64)(value << ((0U - count) & 0x3F)); in ZSTD_rotateRight_U64()
137 U32 ZSTD_rotateRight_U32(U32 const value, U32 count) { in ZSTD_rotateRight_U32() argument
138 assert(count < 32); in ZSTD_rotateRight_U32()
139 count &= 0x1F; /* for fickle pattern recognition */ in ZSTD_rotateRight_U32()
140 return (value >> count) | (U32)(value << ((0U - count) & 0x1F)); in ZSTD_rotateRight_U32()
144 U16 ZSTD_rotateRight_U16(U16 const value, U32 count) { in ZSTD_rotateRight_U16() argument
145 assert(count < 16); in ZSTD_rotateRight_U16()
146 count &= 0x0F; /* for fickle pattern recognition */ in ZSTD_rotateRight_U16()
147 return (value >> count) | (U16)(value << ((0U - count) & 0x0F)); in ZSTD_rotateRight_U16()