Lines Matching refs:memset
3 extern "C" void *memset(void *, int, unsigned);
10 // is the "real" memset.
11 void *memset(void *, int, unsigned);
33 memset(&x1, 0, sizeof x1); // \
34 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
36 memset(&x2, 0, sizeof x2); // \
37 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
99 // expected-warning@+2 {{destination for this 'memset' call is a pointer to class containing a dynamic class 'X1'}}
101 memset(&contains_dynamic, 0, sizeof(contains_dynamic));
102 // expected-warning@+2 {{destination for this 'memset' call is a pointer to class containing a dynamic class 'X1'}}
104 memset(&deep_contains_dynamic, 0, sizeof(deep_contains_dynamic));
105 // expected-warning@+2 {{destination for this 'memset' call is a pointer to class containing a dynamic class 'X1'}}
107 memset(&contains_array_dynamic, 0, sizeof(contains_array_dynamic));
115 memset(&i, 0, sizeof i);
116 memset(&iptr, 0, sizeof iptr);
117 memset(&y, 0, sizeof y);
118 memset(&c, 0, sizeof c);
119 memset(void_ptr, 0, 42);
120 memset(&s1, 0, sizeof s1);
121 memset(&s2, 0, sizeof s2);
122 memset(&s3, 0, sizeof s3);
123 memset(&c1, 0, sizeof c1);
125 memset(&contains_pointer_dynamic, 0, sizeof(contains_pointer_dynamic));
128 (void)sizeof memset(&x1, 0, sizeof x1);
131 if (false) memset(&x1, 0, sizeof x1);
135 void *memset(void *, int, unsigned);
137 N::memset(&x1, 0, sizeof x1);