Lines Matching refs:strncat
419 strncat(to, from, 0); in TEST()
420 strncat(to, from, from_size); in TEST()
422 strncat(to, from, 2 * from_size); in TEST()
424 EXPECT_DEATH(strncat(to - 1, from, 0), LeftOOBAccessMessage(1)); in TEST()
425 strncat(to, from + from_size - 1, 10); in TEST()
427 EXPECT_DEATH(strncat(to - 1, from, 2), LeftOOBAccessMessage(1)); in TEST()
428 EXPECT_DEATH(strncat(to, from - 1, 2), LeftOOBReadMessage(1)); in TEST()
429 EXPECT_DEATH(strncat(to, from + from_size, 2), RightOOBReadMessage(0)); in TEST()
435 EXPECT_DEATH(strncat(to, from, from_size + 1), RightOOBReadMessage(0)); in TEST()
439 EXPECT_DEATH(strncat(to, from, from_size - 1), RightOOBWriteMessage(0)); in TEST()
441 strncat(to, from, from_size - 2); in TEST()
504 strncat(str, str + 10, 10); // from is empty in TEST()
505 EXPECT_DEATH(strncat(str, str + 11, 10), OverlapErrorMessage("strncat")); in TEST()
508 strncat(str + 5, str, 5); in TEST()
510 EXPECT_DEATH(strncat(str + 5, str, 6), OverlapErrorMessage("strncat")); in TEST()
511 EXPECT_DEATH(strncat(str, str + 9, 10), OverlapErrorMessage("strncat")); in TEST()