Lines Matching refs:align
481 int len, align; in test_csum_fixed_random_inputs() local
486 for (align = 0; align < TEST_BUFLEN; ++align) { in test_csum_fixed_random_inputs()
487 memcpy(&tmp_buf[align], random_buf, in test_csum_fixed_random_inputs()
488 min(MAX_LEN, TEST_BUFLEN - align)); in test_csum_fixed_random_inputs()
489 for (len = 0; len < MAX_LEN && (align + len) < TEST_BUFLEN; in test_csum_fixed_random_inputs()
495 result = full_csum(&tmp_buf[align], len, sum); in test_csum_fixed_random_inputs()
507 int len, align; in test_csum_all_carry_inputs() local
513 for (align = 0; align < TEST_BUFLEN; ++align) { in test_csum_all_carry_inputs()
514 for (len = 0; len < MAX_LEN && (align + len) < TEST_BUFLEN; in test_csum_all_carry_inputs()
520 result = full_csum(&tmp_buf[align], len, sum); in test_csum_all_carry_inputs()
528 result = full_csum(&tmp_buf[align], len, sum); in test_csum_all_carry_inputs()
547 int len, align; in test_csum_no_carry_inputs() local
553 for (align = 0; align < TEST_BUFLEN; ++align) { in test_csum_no_carry_inputs()
554 for (len = 0; len < MAX_LEN && (align + len) < TEST_BUFLEN; in test_csum_no_carry_inputs()
560 result = full_csum(&tmp_buf[align], len, sum); in test_csum_no_carry_inputs()
568 result = full_csum(&tmp_buf[align], len, sum); in test_csum_no_carry_inputs()