Lines Matching refs:i
210 for (int i = 0; i < FENCEPOST_LENGTH; i += 2) { in SetFencepost() local
211 buffer[i] = 0xde; in SetFencepost()
212 buffer[i+1] = 0xad; in SetFencepost()
217 for (int i = 0; i < FENCEPOST_LENGTH; i += 2) { in VerifyFencepost() local
218 if (buffer[i] != 0xde || buffer[i+1] != 0xad) { in VerifyFencepost()
220 if (buffer[i] == 0xde) { in VerifyFencepost()
221 i++; in VerifyFencepost()
226 ASSERT_EQ(expected_value, buffer[i]); in VerifyFencepost()
250 for (size_t i = 0; i < g_single_aligns_len; i++) { in RunSingleBufferAlignTest() local
256 buf+FENCEPOST_LENGTH, g_single_aligns[i][0], g_single_aligns[i][1])); in RunSingleBufferAlignTest()
283 for (size_t i = 0; i < g_double_aligns_len; i++) { in RunSrcDstBufferAlignTest() local
290 src+FENCEPOST_LENGTH, g_double_aligns[i][0], g_double_aligns[i][1])); in RunSrcDstBufferAlignTest()
293 dst+FENCEPOST_LENGTH, g_double_aligns[i][2], g_double_aligns[i][3])); in RunSrcDstBufferAlignTest()
321 for (size_t i = 0; i < g_double_aligns_len; i++) { in RunCmpBufferAlignTest() local
328 buf1, g_double_aligns[i][0], g_double_aligns[i][1])); in RunCmpBufferAlignTest()
331 buf2, g_double_aligns[i][2], g_double_aligns[i][3])); in RunCmpBufferAlignTest()
371 for (size_t i = 0; i < pagesize; i++) { in RunSingleBufferOverreadTest() local
372 uint8_t* buf = &memory[pagesize-i]; in RunSingleBufferOverreadTest()
374 test_func(buf, i); in RunSingleBufferOverreadTest()
394 for (size_t i = 0; i < 16; i++) { in RunSrcDstBufferOverreadTest() local
395 uint8_t* dst = &dst_buffer[i]; in RunSrcDstBufferOverreadTest()
430 for (size_t i = 0; i < pagesize; i++) { in RunCmpBufferOverreadTest() local
431 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
432 uint8_t* buf2 = &memory2[pagesize-i]; in RunCmpBufferOverreadTest()
434 test_cmp_func(buf1, buf2, i); in RunCmpBufferOverreadTest()
444 for (size_t i = 1; i < miscmp_len; i++) { in RunCmpBufferOverreadTest() local
445 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
447 if (j == i) in RunCmpBufferOverreadTest()
452 test_miscmp_func(buf1, buf2, i, j); in RunCmpBufferOverreadTest()