Lines Matching refs:len2
1301 static void DoStrcmpFailTest(uint8_t* buf1, uint8_t* buf2, size_t len1, size_t len2) { in DoStrcmpFailTest() argument
1306 memset(buf2, c, len2 - 1); in DoStrcmpFailTest()
1307 buf2[len2-1] = '\0'; in DoStrcmpFailTest()
1313 if (len1 > len2) { in DoStrcmpFailTest()
1314 len = len2; in DoStrcmpFailTest()
1349 static void DoMemcmpFailTest(uint8_t* buf1, uint8_t* buf2, size_t len1, size_t len2) { in DoMemcmpFailTest() argument
1351 if (len1 > len2) { in DoMemcmpFailTest()
1352 len = len2; in DoMemcmpFailTest()
1357 memset(buf1, len2+1, len); in DoMemcmpFailTest()
1358 buf1[len-1] = len2; in DoMemcmpFailTest()
1359 memset(buf2, len2+1, len); in DoMemcmpFailTest()
1362 buf1[len-1] = len2+1; in DoMemcmpFailTest()
1363 buf2[len-1] = len2; in DoMemcmpFailTest()