Lines Matching refs:count

34 Shifts `a' right by the number of bits given in `count'.  If any nonzero
36 the result by setting the least significant bit to 1. The value of `count'
37 can be arbitrarily large; in particular, if `count' is greater than 32, the
42 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr )
46 if ( count == 0 ) {
49 else if ( count < 32 ) {
50 z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 );
62 number of bits given in `count'. Any bits shifted off are lost. The value
63 of `count' can be arbitrarily large; in particular, if `count' is greater
70 bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
73 int8 negCount = ( - count ) & 31;
75 if ( count == 0 ) {
79 else if ( count < 32 ) {
80 z1 = ( a0<<negCount ) | ( a1>>count );
81 z0 = a0>>count;
84 z1 = ( count < 64 ) ? ( a0>>( count & 31 ) ) : 0;
95 number of bits given in `count'. If any nonzero bits are shifted off, they
97 least significant bit to 1. The value of `count' can be arbitrarily large;
98 in particular, if `count' is greater than 64, the result will be either 0
106 bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
109 int8 negCount = ( - count ) & 31;
111 if ( count == 0 ) {
115 else if ( count < 32 ) {
116 z1 = ( a0<<negCount ) | ( a1>>count ) | ( ( a1<<negCount ) != 0 );
117 z0 = a0>>count;
120 if ( count == 32 ) {
123 else if ( count < 64 ) {
124 z1 = ( a0>>( count & 31 ) ) | ( ( ( a0<<negCount ) | a1 ) != 0 );
139 by 32 _plus_ the number of bits given in `count'. The shifted result is
146 `z2Ptr'. The value of `count' can be arbitrarily large.
149 fixed-point value is shifted right by the number of bits given in `count',
161 int16 count,
168 int8 negCount = ( - count ) & 31;
170 if ( count == 0 ) {
176 if ( count < 32 ) {
178 z1 = ( a0<<negCount ) | ( a1>>count );
179 z0 = a0>>count;
182 if ( count == 32 ) {
188 if ( count < 64 ) {
190 z1 = a0>>( count & 31 );
193 z2 = ( count == 64 ) ? a0 : ( a0 != 0 );
210 number of bits given in `count'. Any bits shifted off are lost. The value
211 of `count' must be less than 32. The result is broken into two 32-bit
217 bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
220 *z1Ptr = a1<<count;
222 ( count == 0 ) ? a0 : ( a0<<count ) | ( a1>>( ( - count ) & 31 ) );
229 by the number of bits given in `count'. Any bits shifted off are lost.
230 The value of `count' must be less than 32. The result is broken into three
240 int16 count,
249 z2 = a2<<count;
250 z1 = a1<<count;
251 z0 = a0<<count;
252 if ( 0 < count ) {
253 negCount = ( ( - count ) & 31 );