Lines Matching refs:i
209 for (int i = 0; i < FENCEPOST_LENGTH; i += 2) { in SetFencepost() local
210 buffer[i] = 0xde; in SetFencepost()
211 buffer[i+1] = 0xad; in SetFencepost()
216 for (int i = 0; i < FENCEPOST_LENGTH; i += 2) { in VerifyFencepost() local
217 if (buffer[i] != 0xde || buffer[i+1] != 0xad) { in VerifyFencepost()
219 if (buffer[i] == 0xde) { in VerifyFencepost()
220 i++; in VerifyFencepost()
225 ASSERT_EQ(expected_value, buffer[i]); in VerifyFencepost()
242 for (size_t i = 0; i < g_single_aligns_len; i++) { in RunSingleBufferAlignTest() local
248 buf+FENCEPOST_LENGTH, g_single_aligns[i][0], g_single_aligns[i][1])); in RunSingleBufferAlignTest()
275 for (size_t i = 0; i < g_double_aligns_len; i++) { in RunSrcDstBufferAlignTest() local
282 src+FENCEPOST_LENGTH, g_double_aligns[i][0], g_double_aligns[i][1])); in RunSrcDstBufferAlignTest()
285 dst+FENCEPOST_LENGTH, g_double_aligns[i][2], g_double_aligns[i][3])); in RunSrcDstBufferAlignTest()
313 for (size_t i = 0; i < g_double_aligns_len; i++) { in RunCmpBufferAlignTest() local
320 buf1, g_double_aligns[i][0], g_double_aligns[i][1])); in RunCmpBufferAlignTest()
323 buf2, g_double_aligns[i][2], g_double_aligns[i][3])); in RunCmpBufferAlignTest()
363 for (size_t i = 0; i < pagesize; i++) { in RunSingleBufferOverreadTest() local
364 uint8_t* buf = &memory[pagesize-i]; in RunSingleBufferOverreadTest()
366 test_func(buf, i); in RunSingleBufferOverreadTest()
385 for (size_t i = 0; i < pagesize; i++) { in RunSrcDstBufferOverreadTest() local
386 uint8_t* src = &memory[pagesize-i]; in RunSrcDstBufferOverreadTest()
388 test_func(src, dst, i); in RunSrcDstBufferOverreadTest()
418 for (size_t i = 0; i < pagesize; i++) { in RunCmpBufferOverreadTest() local
419 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
420 uint8_t* buf2 = &memory2[pagesize-i]; in RunCmpBufferOverreadTest()
422 test_cmp_func(buf1, buf2, i); in RunCmpBufferOverreadTest()
432 for (size_t i = 1; i < miscmp_len; i++) { in RunCmpBufferOverreadTest() local
433 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
435 if (j == i) in RunCmpBufferOverreadTest()
440 test_miscmp_func(buf1, buf2, i, j); in RunCmpBufferOverreadTest()