Lines Matching refs:offset
54 #define ROL32(a, offset) (((a) << (offset)) | ((a) >> ((32 - (offset)) & 31))) argument
56 static uint64_t ROL64(uint64_t val, int offset) in ROL64() argument
58 if (offset == 0) { in ROL64()
61 return (val << offset) | (val >> (64-offset)); in ROL64()
65 if (offset & 1) { in ROL64()
68 offset >>= 1; in ROL64()
69 hi = ROL32(lo, offset); in ROL64()
70 lo = ROL32(tmp, offset + 1); in ROL64()
72 offset >>= 1; in ROL64()
73 lo = ROL32(lo, offset); in ROL64()
74 hi = ROL32(hi, offset); in ROL64()