Lines Matching refs:realloc
27 void *realloc(void *ptr, size_t size);
57 realloc(p,0); in f2_realloc_0()
58 realloc(p,0); // expected-warning{{Attempt to free released memory}} in f2_realloc_0()
63 int *q = realloc(p,0); // no-warning in f2_realloc_1()
70 char *q = (char*)realloc(p, sizeIn); in reallocNotNullPtr()
89 q = realloc(q, 20); in realloctest1()
96 char *r = realloc(p, 12+1); in reallocFails()
106 char *r = realloc(p, 0); in reallocSizeZero1()
116 char *r = realloc(p, 0); in reallocSizeZero2()
127 char *r = realloc(p, 0); in reallocSizeZero3()
132 char *r = realloc(0, 0); in reallocSizeZero4()
137 char *r = realloc(0, 0); in reallocSizeZero5()
141 char *r = realloc(0, 12); in reallocPtrZero1()
145 char *r = realloc(0, 12); in reallocPtrZero2()
151 char *r = realloc(0, 12); in reallocPtrZero3()
157 buf = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_1()
166 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_2()
177 tmp = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_3()
188 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_4()
245 int *q = realloc(p, 8); // no warning in CheckUseZeroAllocatedNoWarn3()
250 int *p = realloc(0, 8); in CheckUseZeroAllocatedNoWarn4()
300 int *p = realloc(0, 0); in CheckUseZeroAllocated7()
307 int *q = realloc(p, 0); in CheckUseZeroAllocated8()
313 int *p = realloc(0, 0); in CheckUseZeroAllocated9()
314 int *q = realloc(p, 0); in CheckUseZeroAllocated9()
351 char *q = realloc(p, s); in CheckUseZeroReallocatedPathNoWarn()
365 char *q = realloc(p, s); in CheckUseZeroReallocatedPathWarn()
393 q = realloc(q, 20); in f5()
410 realloc(p,0); in f6_realloc()
438 realloc(x,0); in f7_realloc()
1483 char *b = realloc(a->p, size); in reallocButNoMalloc()
1484 char *m = realloc(a->p, size); // expected-warning {{Attempt to free released memory}} in reallocButNoMalloc()
1493 char *b = realloc(a->p, size); in reallocButNoMallocPR13674()
1502 void *newPtr = realloc(ptr, 4); in test()
1691 char *new_memory = realloc(*memory, 47); in testReallocEscaped()