Lines Matching refs:sizeof
70 int *p = (int *)malloc(sizeof(int));
71 …NSData *nsdata = [NSData dataWithBytesNoCopy:++p length:sizeof(int) freeWhenDone:1]; // expected-w…
92 int *p = (int *)malloc(sizeof(int));
98 char *p = (char *)calloc(sizeof(int), 1);
103 char *p = (char *)calloc(sizeof(int), 1);
108 char *p = (char *)calloc(sizeof(int), 1);
113 int *p = (int *)malloc(sizeof(int));
114 CustomData *w = [CustomData somethingNoCopy:p length:sizeof(int) freeWhenDone:1]; // no-warning
118 int *p = (int *)malloc(sizeof(int));
119 …CustomData *w = [CustomData somethingNoCopy:p length:sizeof(int) freeWhenDone:0]; // expected-warn…
135 myBuffer = (UniChar *)malloc(BufferSize * sizeof(UniChar));
158 int *x= (int*)malloc(sizeof(int));
231 acceptBlockParam(l, ^(void *i) { free(i); }, sizeof(char *));
237 SystemHeaderFunctionWithBlockParam(l, ^(void *i) { free(i); }, sizeof(char *));