Lines Matching full:size
1 // RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s
4 size_t strlcpy (char * restrict dst, const char * restrict src, size_t size);
5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size);
22 …size argument in 'strlcpy' call appears to be size of the source; expected the size of the destina… in f()
23 …size argument in 'strlcpy' call appears to be size of the source; expected the size of the destina… in f()
24 …size argument in 'strlcat' call appears to be size of the source; expected the size of the destina… in f()
25 …size argument in 'strlcpy' call appears to be size of the source; expected the size of the destina… in f()
26 …size argument in 'strlcpy' call appears to be size of the source; expected the size of the destina… in f()
27 …sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the sourc… in f()
38 …zeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the sourc… in flexible_arrays()
41 // Don't issue FIXIT for destinations of size 1.
46 …zeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the sourc… in size_1()
50 void vlas(int size) { in vlas() argument
51 char z[size]; in vlas()
54 …size argument in 'strlcpy' call appears to be size of the source; expected the size of the destina… in vlas()