Lines Matching refs:realloc

12 void *realloc(void *ptr, size_t size);
36 realloc(p,0); in f2_realloc_0()
37 realloc(p,0); // expected-warning{{Attempt to free released memory}} in f2_realloc_0()
42 int *q = realloc(p,0); // no-warning in f2_realloc_1()
49 char *q = (char*)realloc(p, sizeIn); in reallocNotNullPtr()
64 q = realloc(q, 20); in realloctest1()
71 char *r = realloc(p, 12+1); in reallocFails()
81 char *r = realloc(p, 0); in reallocSizeZero1()
91 char *r = realloc(p, 0); in reallocSizeZero2()
102 char *r = realloc(p, 0); in reallocSizeZero3()
107 char *r = realloc(0, 0); in reallocSizeZero4()
112 char *r = realloc(0, 0); in reallocSizeZero5()
116 char *r = realloc(0, 12); in reallocPtrZero1()
120 char *r = realloc(0, 12); in reallocPtrZero2()
126 char *r = realloc(0, 12); in reallocPtrZero3()
132 buf = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_1()
141 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_2()
152 tmp = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_3()
163 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_4()
215 int *q = realloc(p, 8); // no warning in CheckUseZeroAllocatedNoWarn3()
220 int *p = realloc(0, 8); in CheckUseZeroAllocatedNoWarn4()
265 int *p = realloc(0, 0); in CheckUseZeroAllocated7()
272 int *q = realloc(p, 0); in CheckUseZeroAllocated8()
278 int *p = realloc(0, 0); in CheckUseZeroAllocated9()
279 int *q = realloc(p, 0); in CheckUseZeroAllocated9()
316 char *q = realloc(p, s); in CheckUseZeroReallocatedPathNoWarn()
330 char *q = realloc(p, s); in CheckUseZeroReallocatedPathWarn()
358 q = realloc(q, 20); in f5()
375 realloc(p,0); in f6_realloc()
403 realloc(x,0); in f7_realloc()
1415 char *b = realloc(a->p, size); in reallocButNoMalloc()
1416 char *m = realloc(a->p, size); // expected-warning {{Attempt to free released memory}} in reallocButNoMalloc()
1425 char *b = realloc(a->p, size); in reallocButNoMallocPR13674()
1434 void *newPtr = realloc(ptr, 4); in test()
1615 char *new_memory = realloc(*memory, 47); in testReallocEscaped()