Lines Matching refs:i
50 size_t i; in fill_buf() local
52 for (i = 0; i < len; i++) { in fill_buf()
54 buf[i] = mod255(seed); in fill_buf()
149 int i, j; in test_hash_init() local
157 for (i = 0; i <= j; i++) { in test_hash_init()
158 u64 hashlen = hashlen_string(buf+i, buf+i); in test_hash_init()
159 u32 h0 = full_name_hash(buf+i, buf+i, j-i); in test_hash_init()
162 if (hashlen_len(hashlen) != j-i) { in test_hash_init()
165 i, j, hashlen_len(hashlen), j-i); in test_hash_init()
172 i, j, hashlen_hash(hashlen), h0); in test_hash_init()
206 for (i = 1; i <= 32; i++) { in test_hash_init()
207 u32 const m = ((u32)2 << (i-1)) - 1; /* Low i bits set */ in test_hash_init()
209 if (hash_or[0][i] != m) { in test_hash_init()
211 "(%#x expected)", i, hash_or[0][i], m); in test_hash_init()
214 if (hash_or[1][i] != m) { in test_hash_init()
216 "(%#x expected)", i, hash_or[1][i], m); in test_hash_init()