Lines Matching refs:i
51 size_t i; in fill_buf() local
53 for (i = 0; i < len; i++) { in fill_buf()
55 buf[i] = mod255(seed); in fill_buf()
150 int i, j; in test_hash_init() local
158 for (i = 0; i <= j; i++) { in test_hash_init()
159 u64 hashlen = hashlen_string(buf+i, buf+i); in test_hash_init()
160 u32 h0 = full_name_hash(buf+i, buf+i, j-i); in test_hash_init()
163 if (hashlen_len(hashlen) != j-i) { in test_hash_init()
166 i, j, hashlen_len(hashlen), j-i); in test_hash_init()
173 i, j, hashlen_hash(hashlen), h0); in test_hash_init()
207 for (i = 1; i <= 32; i++) { in test_hash_init()
208 u32 const m = ((u32)2 << (i-1)) - 1; /* Low i bits set */ in test_hash_init()
210 if (hash_or[0][i] != m) { in test_hash_init()
212 "(%#x expected)", i, hash_or[0][i], m); in test_hash_init()
215 if (hash_or[1][i] != m) { in test_hash_init()
217 "(%#x expected)", i, hash_or[1][i], m); in test_hash_init()