Lines Matching refs:test
558 } const test[] __initconst = variable
678 bytes += 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 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test()
690 test[i].start, test[i].length)) in crc32c_test()
717 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, in crc32c_combine_test()
718 test[i].length); in crc32c_combine_test()
719 for (j = 0; j <= test[i].length; ++j) { in crc32c_combine_test()
721 u32 len1 = j, len2 = test[i].length - j; in crc32c_combine_test()
723 crc1 = __crc32c_le(test[i].crc, test_buf + in crc32c_combine_test()
724 test[i].start, len1); in crc32c_combine_test()
725 crc2 = __crc32c_le(0, test_buf + test[i].start + in crc32c_combine_test()
729 crc_full == test[i].crc32c_le)) in crc32c_combine_test()
758 bytes += 2*test[i].length; in crc32_test()
760 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
761 test[i].start, test[i].length); in crc32_test()
763 crc ^= crc32_be(test[i].crc, test_buf + in crc32_test()
764 test[i].start, test[i].length); in crc32_test()
772 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
773 test[i].start, test[i].length)) in crc32_test()
776 if (test[i].crc_be != crc32_be(test[i].crc, test_buf + in crc32_test()
777 test[i].start, test[i].length)) in crc32_test()
805 crc_full = crc32_le(test[i].crc, test_buf + test[i].start, in crc32_combine_test()
806 test[i].length); in crc32_combine_test()
807 for (j = 0; j <= test[i].length; ++j) { in crc32_combine_test()
809 u32 len1 = j, len2 = test[i].length - j; in crc32_combine_test()
811 crc1 = crc32_le(test[i].crc, test_buf + in crc32_combine_test()
812 test[i].start, len1); in crc32_combine_test()
813 crc2 = crc32_le(0, test_buf + test[i].start + in crc32_combine_test()
817 crc_full == test[i].crc_le)) in crc32_combine_test()