Lines Matching refs:n2
327 for (size_t n2 = 0; n2 < 16; ++n2) in test_strcat() local
334 memset (buf1 + n2, 'a', n3); in test_strcat()
335 buf1[n2 + n3] = '\0'; in test_strcat()
338 check (strcat (buf1 + n2, buf2 + n1) == buf1 + n2, ntest); in test_strcat()
342 if (i < n2) in test_strcat()
344 else if (i < n2 + n3) in test_strcat()
346 else if (i < n2 + n3 + 3) in test_strcat()
347 check (buf1[i] == "123"[i - (n2 + n3)], ntest); in test_strcat()
348 else if (i == n2 + n3 + 3) in test_strcat()
356 n1, n2, n3, buf1[0]); in test_strcat()
414 for (size_t n2 = 0; n2 < 16; ++n2) in test_strncat() local
422 memset (buf1 + n2, 'a', n3); in test_strncat()
423 buf1[n2 + n3] = '\0'; in test_strncat()
426 check (strncat (buf1 + n2, buf2 + n1, ~((size_t) 0) - n4) in test_strncat()
427 == buf1 + n2, ntest); in test_strncat()
431 if (i < n2) in test_strncat()
433 else if (i < n2 + n3) in test_strncat()
435 else if (i < n2 + n3 + 3) in test_strncat()
436 check (buf1[i] == "123"[i - (n2 + n3)], ntest); in test_strncat()
437 else if (i == n2 + n3 + 3) in test_strncat()
445 n1, n2, n3, n4, buf1[0]); in test_strncat()