/external/skia/tests/ |
D | TemplatesTest.cpp | 20 array.realloc(1); in test_automalloc_realloc() 26 array.realloc(2); in test_automalloc_realloc() 30 array.realloc(1); in test_automalloc_realloc() 34 array.realloc(0); in test_automalloc_realloc() 37 array.realloc(10); in test_automalloc_realloc() 41 array.realloc(20); in test_automalloc_realloc() 45 array.realloc(10); in test_automalloc_realloc() 50 array.realloc(1); in test_automalloc_realloc() 55 array.realloc(1); in test_automalloc_realloc() 63 array.realloc(3); in test_automalloc_realloc() [all …]
|
/external/valgrind/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 | 36 realloc.post.exp realloc.stderr.exp realloc.vgtest \ 71 realloc \ program
|
/external/bison/m4/ |
D | realloc.m4 | 1 # realloc.m4 serial 13 16 AC_CACHE_CHECK([for GNU libc compatible realloc], 23 char *realloc (); 26 [[return ! realloc (0, 0);]]) 47 # Test whether 'realloc (0, 0)' is handled like in GNU libc, and replace 48 # realloc if it is not. 55 [Define to 1 if your system has a GNU libc compatible 'realloc' 64 # Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it 65 # fails), and replace realloc if it is not. 72 [Define if the 'realloc' function is POSIX compliant.])
|
/external/clang/test/Analysis/ |
D | malloc.c | 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() [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 | MismatchedDeallocator-checker-test.mm | 8 void *realloc(void *ptr, size_t size); function 28 int *q = (int *)realloc(p, 16); 29 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not … 85 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by … 90 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be dealloca… 95 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated b…
|
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()
|
/external/valgrind/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/flac/include/share/ |
D | alloc.h | 159 void *newptr = realloc(ptr, size); in safe_realloc_() 171 return realloc(ptr, size2); in safe_realloc_add_2op_() 182 return realloc(ptr, size3); in safe_realloc_add_3op_() 196 return realloc(ptr, size4); in safe_realloc_add_4op_() 202 return realloc(ptr, 0); /* preserve POSIX realloc(ptr, 0) semantics */ in safe_realloc_mul_2op_() 212 return realloc(ptr, 0); /* preserve POSIX realloc(ptr, 0) semantics */ in safe_realloc_muladd2_()
|
/external/valgrind/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 | badfree3.stderr.exp | 1 Invalid free() / delete / delete[] / realloc() 6 Invalid free() / delete / delete[] / realloc()
|
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/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 70 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 151 void *(*realloc)(void *oldMem, uptr bytes); member 165 void *(*realloc)(void *oldMem, uptr bytes); member 171 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 176 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
D | asan_malloc_win.cc | 84 void *realloc(void *ptr, size_t size) { in realloc() function 102 return realloc(p, size); in _recalloc() 151 __interception::OverrideFunction("realloc", (uptr)realloc); in ReplaceSystemMalloc() 152 __interception::OverrideFunction("_realloc_crt", (uptr)realloc); in ReplaceSystemMalloc()
|
/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/compiler-rt/test/asan/TestCases/Windows/ |
D | use_after_realloc.cc | 7 char *buffer = (char*)realloc(0, 32), in main() 9 buffer = (char*)realloc(buffer, 64); in main()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | opj_malloc.h | 159 #define opj_realloc(m, s) ((size_t)(s) >= (size_t)-0x100 ? NULL : realloc(m, s)) 161 #define opj_realloc(m, s) realloc(m, s) 176 #pragma GCC poison malloc calloc realloc free
|
/external/bison/lib/ |
D | realloc.c | 25 #ifdef realloc 71 result = realloc (p, n); in rpl_realloc()
|