• Home
  • Raw
  • Download

Lines Matching refs:strncat

15 #define strncat BUILTIN(strncat)  macro
16 char *strncat(char *restrict s1, const char *restrict s2, size_t n);
30 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest) - 1); // no-warning in test()
31strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // no-warning - the code might a… in test()
33strncat(dest, src, sizeof(src)); // expected-warning {{size argument in 'strncat' call appears to … in test()
35strncat(dest, src, sizeof(src) - 1); // expected-warning {{size argument in 'strncat' call appears… in test()
37strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning{{the value of the … in test()
39strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning… in test()
41strncat((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appea… in test()
42strncat(s1+3, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be… in test()
43strncat(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to b… in test()
54strncat(s->x, str, sizeof(str)); // expected-warning {{size argument in 'strncat' call appears to… in flexible_arrays()
62strncat(z, str, sizeof(z)); // expected-warning{{the value of the size argument to 'strncat' is wr… in size_1()
70strncat(z, str, sizeof(str)); // expected-warning {{size argument in 'strncat' call appears to be … in vlas()
75strncat(d, s, sizeof(d)); // expected-warning {{the value of the size argument to 'strncat' is wro… in f()