Lines Matching defs:foo
82 char* foo = malloc(0); // expected-warning{{Call to 'malloc' has an allocation size of 0 bytes}} in pr2899() local
88 char* foo = malloc(size); // no-warning in pr2899_nowarn() local
94 …char *foo = calloc(0, 42); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes… in test_calloc() local
100 …char *foo = calloc(42, 0); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes… in test_calloc2() local
106 char *foo = calloc(nmemb, size); // no-warning in test_calloc_nowarn() local
112 …char *foo = realloc(ptr, 0); // expected-warning{{Call to 'realloc' has an allocation size of 0 by… in test_realloc() local
118 …char *foo = reallocf(ptr, 0); // expected-warning{{Call to 'reallocf' has an allocation size of 0 … in test_reallocf() local
124 char *foo = realloc(ptr, size); // no-warning in test_realloc_nowarn() local
130 char *foo = reallocf(ptr, size); // no-warning in test_reallocf_nowarn() local
136 char *foo = alloca(0); // expected-warning{{Call to 'alloca' has an allocation size of 0 bytes}} in test_alloca() local
142 char *foo = alloca(sz); // no-warning in test_alloca_nowarn() local
160 char *foo = valloc(0); // expected-warning{{Call to 'valloc' has an allocation size of 0 bytes}} in test_valloc() local
166 char *foo = valloc(sz); // no-warning in test_valloc_nowarn() local