Home | History | Annotate | Download | only in useful

Lines Matching refs:UInt

7 typedef  unsigned int            UInt;
12 static inline UInt ROL32 ( UInt x, UInt n ) {
33 UInt i;
34 UInt esum, csum;
58 UInt b;
90 UInt hash_const_zero ( GuestBytes* gb ) {
94 UInt hash_sum ( GuestBytes* gb ) {
95 UInt i, sum = 0;
97 sum += (UInt)gb->actual[i];
101 UInt hash_rol ( GuestBytes* gb ) {
102 UInt i, sum = 0;
104 sum ^= (UInt)gb->actual[i];
110 static UInt cand0 ( GuestBytes* gb )
114 UInt sum = 0;
118 sum = (sum << 8) | (UInt)p[0];
124 UInt* p = (UInt*)addr;
134 UInt* p = (UInt*)addr;
142 sum = ROL32(sum ^ (UInt)p[0], 19);
149 static UInt cand1 ( GuestBytes* gb )
153 UInt sum1 = 0, sum2 = 0;
157 sum1 = (sum1 << 8) | (UInt)p[0];
163 UInt* p = (UInt*)addr;
164 UInt w;
175 UInt* p = (UInt*)addr;
176 UInt w = p[0];
185 UInt w = (UInt)p[0];
193 static UInt adler32 ( GuestBytes* gb )
197 UInt s1 = 1;
198 UInt s2 = 0;
226 UInt (*theFn)(GuestBytes*) =
234 Int cmp_UInt_ps ( UInt* p1, UInt* p2 ) {
240 Int nSetBits ( UInt w )
254 void invertBit ( UChar* b, UInt ix, UInt bix ) {
264 UInt hashIx = 0;
265 UInt nHashes = 8 * gb->nbytes;
266 UInt* hashes = malloc( nHashes * sizeof(UInt) );
268 UInt byteIx, bitIx;
269 UInt hInit, hFinal, hRunning;