/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 | 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() [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() 169 q = realloc(q, 20); in f5() 186 realloc(p,0); in f6_realloc() 208 realloc(x,0); in f7_realloc()
|
D | malloc-sizeof.c | 7 void *realloc(void *ptr, size_t size); 25 struct A *ap6 = realloc(ap5, sizeof(struct A)); in foo() 26 …struct A *ap7 = realloc(ap5, sizeof(struct B)); // expected-warning {{Result of 'realloc' is conve… in foo()
|
D | malloc-plist.c | 7 void *realloc(void *ptr, size_t size); 26 tmp = (char*)realloc(buf, 0x1000000); in reallocDiagnostics() 67 tmp = (char*)realloc(buf, 0x1000000); in my_realloc()
|
/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()
|
/external/bluetooth/glib/glib/ |
D | gmem.c | 67 return realloc (mem, n_bytes); in standard_realloc() 74 # define standard_realloc realloc 79 # define standard_try_realloc realloc 91 return realloc (mem, n_bytes); in standard_realloc() 170 mem = glib_mem_vtable.realloc (mem, n_bytes); in g_realloc() 271 if (vtable->malloc && vtable->realloc && vtable->free) in g_mem_set_vtable() 274 glib_mem_vtable.realloc = vtable->realloc; in g_mem_set_vtable() 278 … glib_mem_vtable.try_realloc = vtable->try_realloc ? vtable->try_realloc : glib_mem_vtable.realloc; in g_mem_set_vtable()
|
/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/bluetooth/glib/gio/xdgmime/ |
D | xdgmimeparent.c | 141 list->parents = realloc (list->parents, alloc * sizeof (XdgMimeParents)); in _xdg_mime_parent_read_from_file() 168 list->parents = realloc (list->parents, in _xdg_mime_parent_read_from_file() 185 entry->parents = realloc (entry->parents, in _xdg_mime_parent_read_from_file() 192 list->parents = realloc (list->parents, in _xdg_mime_parent_read_from_file()
|
D | xdgmimeicon.c | 134 list->icons = realloc (list->icons, alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file() 149 list->icons = realloc (list->icons, in _xdg_mime_icon_read_from_file() 156 list->icons = realloc (list->icons, in _xdg_mime_icon_read_from_file()
|
D | xdgmimealias.c | 135 list->aliases = realloc (list->aliases, alloc * sizeof (XdgAlias)); in _xdg_mime_alias_read_from_file() 150 list->aliases = realloc (list->aliases, in _xdg_mime_alias_read_from_file() 157 list->aliases = realloc (list->aliases, in _xdg_mime_alias_read_from_file()
|
/external/bluetooth/glib/glib/gnulib/ |
D | g-gnulib.h | 34 #undef realloc 37 #define realloc g_realloc macro
|
/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/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 30 void* (*realloc)(void* oldMem, size_t bytes); member 35 malloc, free, calloc, realloc, memalign 88 INTERCEPTOR(void*, realloc, void *ptr, size_t size) { in INTERCEPTOR() argument
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/ |
D | xmalloc.c | 22 char *realloc (); 64 p = realloc (p, n);
|