Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/external/valgrind/main/massif/tests/
Dignored.c17 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()
Drealloc.c5 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()
Drealloc.stderr.exp10 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)
DMakefile.am33 realloc.post.exp realloc.stderr.exp realloc.vgtest \
61 realloc \ program
/external/clang/test/Analysis/
Dmalloc.c10 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 …]
Dmalloc-annotations.c5 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()
Dmalloc-sizeof.c7 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()
Dmalloc-plist.c8 void *realloc(void *ptr, size_t size);
27 tmp = (char*)realloc(buf, 0x1000000); in reallocDiagnostics()
68 tmp = (char*)realloc(buf, 0x1000000); in my_realloc()
Dunix-fns.c14 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/
Dmemory_allocation.c20 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/
Dwrapper.c28 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()
Dvalues.c46 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/
Drealloc3.c19 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()
Drealloc3.stderr.exp4 at 0x........: realloc (vg_replace_malloc.c:...)
10 at 0x........: realloc (vg_replace_malloc.c:...)
16 at 0x........: realloc (vg_replace_malloc.c:...)
Drealloc2.c15 p = realloc(p, 500); in main()
16 p = realloc(p, 600); in main()
Dbadfree.stderr.exp1 Invalid free() / delete / delete[] / realloc()
6 Invalid free() / delete / delete[] / realloc()
Dbadfree-2trace.stderr.exp1 Invalid free() / delete / delete[] / realloc()
6 Invalid free() / delete / delete[] / realloc()
Dmalloc_free_fill.c39 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/
Dasan_malloc_linux.cc27 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/
Dmisc.c73 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/
Dselect.c224 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/
Dxmalloc.c22 char *realloc ();
64 p = realloc (p, n);
/external/webkit/Source/JavaScriptCore/wtf/wince/
DMemoryManager.cpp25 #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/
Dtomcrypt_custom.h15 #ifdef realloc
18 #define XREALLOC realloc
/external/ipsec-tools/src/racoon/
Dgcmalloc.h70 realloc(void *ptr, size_t size) in realloc() function
117 #define racoon_realloc(old, sz) realloc((old), (sz))

12345678910>>...17