Lines Matching refs:sizeof
6 typedef __typeof__(sizeof(int)) size_t;
22 int *p = (int *)malloc(sizeof(int));
33 int *p = (int *)calloc(1, sizeof(int));
43 int *p = (int *)my_malloc(sizeof(int));
48 int *p = (int *)malloc(sizeof(int));
53 int *p = (int *)malloc(sizeof(int));
58 int *p = (int *)malloc(sizeof(int));
63 int *p = (int *)__builtin_alloca(sizeof(int));
85 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
90 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be dealloca…
95 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated b…
127 …NSData *d = [NSData dataWithBytesNoCopy:p length:sizeof(int) freeWhenDone:1]; // expected-warning{…
151 int *p = (int *)malloc(sizeof(int));
157 int *p = (int *)malloc(sizeof(int));
163 int *p = (int *)malloc(sizeof(int));
178 int *p1 = (int *)malloc(sizeof(int));
181 int *p2 = (int *)malloc(sizeof(int));
185 int *p3 = (int *)malloc(sizeof(int)); // no-warning