Lines Matching refs:realloc
8 void *realloc(void *ptr, size_t size);
29 realloc(p,0); in f2_realloc_0()
30 realloc(p,0); // expected-warning{{Attempt to free released memory}} in f2_realloc_0()
35 int *q = realloc(p,0); // no-warning in f2_realloc_1()
42 char *q = (char*)realloc(p, sizeIn); in reallocNotNullPtr()
49 q = realloc(q, 20); in realloctest1()
56 char *r = realloc(p, 12+1); in reallocFails()
66 char *r = realloc(p, 0); in reallocSizeZero1()
76 char *r = realloc(p, 0); in reallocSizeZero2()
87 char *r = realloc(p, 0); in reallocSizeZero3()
92 char *r = realloc(0, 0); in reallocSizeZero4()
97 char *r = realloc(0, 0); in reallocSizeZero5()
101 char *r = realloc(0, 12); // expected-warning {{Memory is never released; potential leak}} in reallocPtrZero1()
105 char *r = realloc(0, 12); in reallocPtrZero2()
111 char *r = realloc(0, 12); in reallocPtrZero3()
117 buf = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_1()
126 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_2()
137 tmp = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_3()
148 char *buf2 = (char*)realloc(buf, 0x1000000); in reallocRadar6337483_4()
209 q = realloc(q, 20); in f5()
226 realloc(p,0); in f6_realloc()
248 realloc(x,0); in f7_realloc()