Lines Matching refs:count

35 Shifts `a' right by the number of bits given in `count'.  If any nonzero
37 the result by setting the least significant bit to 1. The value of `count'
38 can be arbitrarily large; in particular, if `count' is greater than 32, the
43 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr )
47 if ( count == 0 ) {
50 else if ( count < 32 ) {
51 z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 );
62 Shifts `a' right by the number of bits given in `count'. If any nonzero
64 the result by setting the least significant bit to 1. The value of `count'
65 can be arbitrarily large; in particular, if `count' is greater than 64, the
70 INLINE void shift64RightJamming( bits64 a, int16 count, bits64 *zPtr )
74 if ( count == 0 ) {
77 else if ( count < 64 ) {
78 z = ( a>>count ) | ( ( a<<( ( - count ) & 63 ) ) != 0 );
90 _plus_ the number of bits given in `count'. The shifted result is at most
96 pointed to by `z1Ptr'. The value of `count' can be arbitrarily large.
99 value is shifted right by the number of bits given in `count', and the
107 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr )
110 int8 negCount = ( - count ) & 63;
112 if ( count == 0 ) {
116 else if ( count < 64 ) {
118 z0 = a0>>count;
121 if ( count == 64 ) {
137 number of bits given in `count'. Any bits shifted off are lost. The value
138 of `count' can be arbitrarily large; in particular, if `count' is greater
145 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr )
148 int8 negCount = ( - count ) & 63;
150 if ( count == 0 ) {
154 else if ( count < 64 ) {
155 z1 = ( a0<<negCount ) | ( a1>>count );
156 z0 = a0>>count;
159 z1 = ( count < 128 ) ? ( a0>>( count & 63 ) ) : 0;
170 number of bits given in `count'. If any nonzero bits are shifted off, they
172 least significant bit to 1. The value of `count' can be arbitrarily large;
173 in particular, if `count' is greater than 128, the result will be either
181 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr )
184 int8 negCount = ( - count ) & 63;
186 if ( count == 0 ) {
190 else if ( count < 64 ) {
191 z1 = ( a0<<negCount ) | ( a1>>count ) | ( ( a1<<negCount ) != 0 );
192 z0 = a0>>count;
195 if ( count == 64 ) {
198 else if ( count < 128 ) {
199 z1 = ( a0>>( count & 63 ) ) | ( ( ( a0<<negCount ) | a1 ) != 0 );
214 by 64 _plus_ the number of bits given in `count'. The shifted result is
221 `z2Ptr'. The value of `count' can be arbitrarily large.
224 fixed-point value is shifted right by the number of bits given in `count',
236 int16 count,
243 int8 negCount = ( - count ) & 63;
245 if ( count == 0 ) {
251 if ( count < 64 ) {
253 z1 = ( a0<<negCount ) | ( a1>>count );
254 z0 = a0>>count;
257 if ( count == 64 ) {
263 if ( count < 128 ) {
265 z1 = a0>>( count & 63 );
268 z2 = ( count == 128 ) ? a0 : ( a0 != 0 );
285 number of bits given in `count'. Any bits shifted off are lost. The value
286 of `count' must be less than 64. The result is broken into two 64-bit
292 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr )
295 *z1Ptr = a1<<count;
297 ( count == 0 ) ? a0 : ( a0<<count ) | ( a1>>( ( - count ) & 63 ) );
304 by the number of bits given in `count'. Any bits shifted off are lost.
305 The value of `count' must be less than 64. The result is broken into three
315 int16 count,
324 z2 = a2<<count;
325 z1 = a1<<count;
326 z0 = a0<<count;
327 if ( 0 < count ) {
328 negCount = ( ( - count ) & 63 );