Lines Matching refs:test
871 } const test[] __initconst = variable
992 bytes += 2*test[i].length;
994 crc ^= __crc32c_le(test[i].crc, test_buf +
995 test[i].start, test[i].length);
1004 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf +
1005 test[i].start, test[i].length))
1036 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start,
1037 test[i].length);
1038 for (j = 0; j <= test[i].length; ++j) {
1040 u32 len1 = j, len2 = test[i].length - j;
1042 crc1 = __crc32c_le(test[i].crc, test_buf +
1043 test[i].start, len1);
1044 crc2 = __crc32c_le(0, test_buf + test[i].start +
1048 crc_full == test[i].crc32c_le))
1078 bytes += 2*test[i].length;
1080 crc ^= crc32_le(test[i].crc, test_buf +
1081 test[i].start, test[i].length);
1083 crc ^= crc32_be(test[i].crc, test_buf +
1084 test[i].start, test[i].length);
1093 if (test[i].crc_le != crc32_le(test[i].crc, test_buf +
1094 test[i].start, test[i].length))
1097 if (test[i].crc_be != crc32_be(test[i].crc, test_buf +
1098 test[i].start, test[i].length))
1130 crc_full = crc32_le(test[i].crc, test_buf + test[i].start,
1131 test[i].length);
1132 for (j = 0; j <= test[i].length; ++j) {
1134 u32 len1 = j, len2 = test[i].length - j;
1136 crc1 = crc32_le(test[i].crc, test_buf +
1137 test[i].start, len1);
1138 crc2 = crc32_le(0, test_buf + test[i].start +
1142 crc_full == test[i].crc_le))