• Home
  • Raw
  • Download

Lines Matching refs:i

666 	int i;  in crc32c_test()  local
677 for (i = 0; i < 100; i++) { in crc32c_test()
678 bytes += 2*test[i].length; in crc32c_test()
680 crc ^= __crc32c_le(test[i].crc, test_buf + in crc32c_test()
681 test[i].start, test[i].length); in crc32c_test()
689 for (i = 0; i < 100; i++) { in crc32c_test()
690 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test()
691 test[i].start, test[i].length)) in crc32c_test()
713 int i, j; in crc32c_combine_test() local
716 for (i = 0; i < 10; i++) { in crc32c_combine_test()
719 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, in crc32c_combine_test()
720 test[i].length); in crc32c_combine_test()
721 for (j = 0; j <= test[i].length; ++j) { in crc32c_combine_test()
723 u32 len1 = j, len2 = test[i].length - j; in crc32c_combine_test()
725 crc1 = __crc32c_le(test[i].crc, test_buf + in crc32c_combine_test()
726 test[i].start, len1); in crc32c_combine_test()
727 crc2 = __crc32c_le(0, test_buf + test[i].start + in crc32c_combine_test()
731 crc_full == test[i].crc32c_le)) in crc32c_combine_test()
748 int i; in crc32_test() local
759 for (i = 0; i < 100; i++) { in crc32_test()
760 bytes += 2*test[i].length; in crc32_test()
762 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
763 test[i].start, test[i].length); in crc32_test()
765 crc ^= crc32_be(test[i].crc, test_buf + in crc32_test()
766 test[i].start, test[i].length); in crc32_test()
774 for (i = 0; i < 100; i++) { in crc32_test()
775 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
776 test[i].start, test[i].length)) in crc32_test()
779 if (test[i].crc_be != crc32_be(test[i].crc, test_buf + in crc32_test()
780 test[i].start, test[i].length)) in crc32_test()
803 int i, j; in crc32_combine_test() local
806 for (i = 0; i < 10; i++) { in crc32_combine_test()
809 crc_full = crc32_le(test[i].crc, test_buf + test[i].start, in crc32_combine_test()
810 test[i].length); in crc32_combine_test()
811 for (j = 0; j <= test[i].length; ++j) { in crc32_combine_test()
813 u32 len1 = j, len2 = test[i].length - j; in crc32_combine_test()
815 crc1 = crc32_le(test[i].crc, test_buf + in crc32_combine_test()
816 test[i].start, len1); in crc32_combine_test()
817 crc2 = crc32_le(0, test_buf + test[i].start + in crc32_combine_test()
821 crc_full == test[i].crc_le)) in crc32_combine_test()