/external/valgrind/main/massif/tests/ |
D | ignored.c | 17 x = realloc(x, 800); in ignore2() 18 x = realloc(x, 400); in ignore2() 21 ignored_x = realloc(ignored_x, 800); in ignore2() 22 ignored_x = realloc(ignored_x, 400); in ignore2() 38 x = realloc(x, 800); in main() 39 x = realloc(x, 400); in main() 42 ignored_x = realloc(ignored_x, 800); in main() 43 ignored_x = realloc(ignored_x, 400); in main() 47 x = realloc(ignored_x, 0); // equivalent to 'free(ignored_x)'. in main()
|
D | realloc.c | 5 int* x = realloc(NULL, 800); // equivalent to malloc(800), and ends up in main() 8 x = realloc(x, 800); // same size in main() 10 x = realloc(x, 400); // smaller in main() 12 x = realloc(x, 1200); // bigger in main() 14 y = realloc(x+10, 1600); // bogus realloc in main() 16 x = realloc(x, 0); // equivalent to free(x), and ends up in main()
|
D | realloc.stderr.exp | 10 Massif: realloc 25 Massif: realloc S. 2 (t:800, hp:800, ex:0, st:0) 27 Massif: realloc S. 4 (t:800, hp:400, ex:400, st:0) 28 Massif: realloc S. 5 (t:1200, hp:1200, ex:0, st:0)
|
D | Makefile.am | 33 realloc.post.exp realloc.stderr.exp realloc.vgtest \ 61 realloc \ program
|
/external/clang/test/Analysis/ |
D | malloc.c | 10 void *realloc(void *ptr, size_t size); 33 realloc(p,0); in f2_realloc_0() 34 realloc(p,0); // expected-warning{{Attempt to free released memory}} in f2_realloc_0() 39 int *q = realloc(p,0); // no-warning in f2_realloc_1() 46 char *q = (char*)realloc(p, sizeIn); in reallocNotNullPtr() 53 q = realloc(q, 20); in realloctest1() 60 char *r = realloc(p, 12+1); in reallocFails() 70 char *r = realloc(p, 0); in reallocSizeZero1() 80 char *r = realloc(p, 0); in reallocSizeZero2() 91 char *r = realloc(p, 0); in reallocSizeZero3() [all …]
|
D | malloc-annotations.c | 5 void *realloc(void *ptr, size_t size); 40 realloc(p,0); in f2_realloc_0() 41 realloc(p,0); // expected-warning{{Attempt to free released memory}} in f2_realloc_0() 46 int *q = realloc(p,0); // no-warning in f2_realloc_1() 167 q = realloc(q, 20); in f5() 184 realloc(p,0); in f6_realloc() 206 realloc(x,0); in f7_realloc()
|
D | malloc-sizeof.c | 7 void *realloc(void *ptr, size_t size); 27 struct A *ap6 = realloc(ap5, sizeof(struct A)); in foo() 28 …struct A *ap7 = realloc(ap5, sizeof(struct B)); // expected-warning {{Result of 'realloc' is conve… in foo()
|
D | malloc-plist.c | 8 void *realloc(void *ptr, size_t size); 27 tmp = (char*)realloc(buf, 0x1000000); in reallocDiagnostics() 68 tmp = (char*)realloc(buf, 0x1000000); in my_realloc()
|
D | unix-fns.c | 14 void *realloc(void *, size_t); 92 …char *foo = realloc(ptr, 0); // expected-warning{{Call to 'realloc' has an allocation size of 0 by… in test_realloc() 98 char *foo = realloc(ptr, size); // no-warning in test_realloc_nowarn()
|
/external/valgrind/main/drd/tests/ |
D | memory_allocation.c | 20 p = realloc(NULL, 40960); in main() 21 p = realloc(p, 50000); in main() 22 p = realloc(p, 40000); in main() 23 p = realloc(p, 0); in main()
|
/external/linux-tools-perf/util/ |
D | wrapper.c | 28 void *ret = realloc(ptr, size); in xrealloc() 30 ret = realloc(ptr, 1); in xrealloc() 33 ret = realloc(ptr, size); in xrealloc() 35 ret = realloc(ptr, 1); in xrealloc()
|
D | values.c | 46 values->pid = realloc(values->pid, in perf_read_values__enlarge_threads() 48 values->tid = realloc(values->tid, in perf_read_values__enlarge_threads() 50 values->value = realloc(values->value, in perf_read_values__enlarge_threads() 83 values->counterrawid = realloc(values->counterrawid, in perf_read_values__enlarge_counters() 85 values->countername = realloc(values->countername, in perf_read_values__enlarge_counters() 91 values->value[i] = realloc(values->value[i], in perf_read_values__enlarge_counters()
|
/external/valgrind/main/memcheck/tests/ |
D | realloc3.c | 19 x = realloc(x, 5); // same size in main() 20 y = realloc(y, 5); // make smaller in main() 21 z = realloc(z, 5); // make bigger in main()
|
D | realloc3.stderr.exp | 4 at 0x........: realloc (vg_replace_malloc.c:...) 10 at 0x........: realloc (vg_replace_malloc.c:...) 16 at 0x........: realloc (vg_replace_malloc.c:...)
|
D | realloc2.c | 15 p = realloc(p, 500); in main() 16 p = realloc(p, 600); in main()
|
D | badfree.stderr.exp | 1 Invalid free() / delete / delete[] / realloc() 6 Invalid free() / delete / delete[] / realloc()
|
D | badfree-2trace.stderr.exp | 1 Invalid free() / delete / delete[] / realloc() 6 Invalid free() / delete / delete[] / realloc()
|
D | malloc_free_fill.c | 39 r = realloc(r, 40 * sizeof(int)); assert(r); in main() 54 r = realloc(r, 20 * sizeof(int)); assert(r); in main()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 27 DECLARE_REAL_AND_INTERCEPTOR(void*, realloc, void *ptr, uptr size); 34 void* (*realloc)(void* oldMem, uptr bytes); member 39 WRAP(malloc), WRAP(free), WRAP(calloc), WRAP(realloc), WRAP(memalign) 92 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument
|
/external/tremolo/Tremolo/ |
D | misc.c | 73 pointers=(void **)realloc(pointers,sizeof(void **)*palloced); in _insert() 74 insertlist=(long *)realloc(insertlist,sizeof(long *)*palloced); in _insert() 106 files=realloc(files,filecount*sizeof(*files)); in _insert() 107 file_bytes=realloc(file_bytes,filecount*sizeof(*file_bytes)); in _insert() 214 ptr=realloc(ptr,bytes); in _VDBG_malloc()
|
/external/chromium/third_party/libevent/ |
D | select.c | 224 if ((readset_in = realloc(sop->event_readset_in, fdsz)) == NULL) in select_resize() 227 if ((readset_out = realloc(sop->event_readset_out, fdsz)) == NULL) in select_resize() 230 if ((writeset_in = realloc(sop->event_writeset_in, fdsz)) == NULL) in select_resize() 233 if ((writeset_out = realloc(sop->event_writeset_out, fdsz)) == NULL) in select_resize() 236 if ((r_by_fd = realloc(sop->event_r_by_fd, in select_resize() 240 if ((w_by_fd = realloc(sop->event_w_by_fd, in select_resize()
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/ |
D | xmalloc.c | 22 char *realloc (); 64 p = realloc (p, n);
|
/external/webkit/Source/JavaScriptCore/wtf/wince/ |
D | MemoryManager.cpp | 25 #undef realloc 74 return realloc(p, size); in m_realloc() 118 void *fastRealloc(void* p, size_t n) { return realloc(p, n); } in fastRealloc()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_custom.h | 15 #ifdef realloc 18 #define XREALLOC realloc
|
/external/ipsec-tools/src/racoon/ |
D | gcmalloc.h | 70 realloc(void *ptr, size_t size) in realloc() function 117 #define racoon_realloc(old, sz) realloc((old), (sz))
|