/external/valgrind/main/memcheck/tests/ |
pdb-realloc.vgtest | 1 prog: pdb-realloc
|
accounting.c | 2 * test case for valgrind realloc() bug 17 r = realloc(p, -1);
|
malloc_free_fill.stderr.exp | 5 test realloc-larger: 10 test realloc-smaller:
|
realloc2.c | 3 realloc time due to bad ordering of the things happening. Now runs 15 p = realloc(p, 500); 16 p = realloc(p, 600);
|
realloc3.c | 1 /* For a long time (from Valgrind 1.0 to 1.9.6, AFAICT) when realloc() was 4 referred to it would state that it was allocated not by the realloc(), 8 ExeContexts should be updated upon their realloc(). I hope that's clear. 19 x = realloc(x, 5); // same size 20 y = realloc(y, 5); // make smaller 21 z = realloc(z, 5); // make bigger
|
badfree-2trace.stderr.exp | 1 Invalid free() / delete / delete[] / realloc() 6 Invalid free() / delete / delete[] / realloc()
|
badfree.stderr.exp | 1 Invalid free() / delete / delete[] / realloc() 6 Invalid free() / delete / delete[] / realloc()
|
badfree3.stderr.exp | 1 Invalid free() / delete / delete[] / realloc() 6 Invalid free() / delete / delete[] / realloc()
|
accounting.stderr.exp | 2 Warning: silly arg (-1) to realloc()
|
realloc1.c | 15 p = realloc(p, i);
|
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:...)
|
/external/valgrind/main/massif/tests/ |
realloc.c | 5 int* x = realloc(NULL, 800); // equivalent to malloc(800), and ends up 8 x = realloc(x, 800); // same size 10 x = realloc(x, 400); // smaller 12 x = realloc(x, 1200); // bigger 14 y = realloc(x+10, 1600); // bogus realloc 16 x = realloc(x, 0); // equivalent to free(x), and ends up
|
ignored.c | 17 x = realloc(x, 800); 18 x = realloc(x, 400); 21 ignored_x = realloc(ignored_x, 800); 22 ignored_x = realloc(ignored_x, 400); 38 x = realloc(x, 800); 39 x = realloc(x, 400); 42 ignored_x = realloc(ignored_x, 800); 43 ignored_x = realloc(ignored_x, 400); 47 x = realloc(ignored_x, 0); // equivalent to 'free(ignored_x)'.
|
filter_stderr | 11 perl -n -e 'print if !/^Massif: (malloc|calloc|realloc|memalign)_common$/' | 14 perl -n -e 'print if !/^Massif: malloc_zone_(malloc|calloc|realloc|memalign|valloc)$/'
|
/external/linux-tools-perf/util/ |
wrapper.c | 28 void *ret = realloc(ptr, size); 30 ret = realloc(ptr, 1); 33 ret = realloc(ptr, size); 35 ret = realloc(ptr, 1); 37 die("Out of memory, realloc failed");
|
/external/valgrind/main/drd/tests/ |
memory_allocation.c | 20 p = realloc(NULL, 40960); 21 p = realloc(p, 50000); 22 p = realloc(p, 40000); 23 p = realloc(p, 0); 25 * glibc returns a NULL pointer when the size argument passed to realloc()
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
realloc.m4 | 0 # realloc.m4 serial 9 9 # Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it 10 # fails), and replace realloc if it is not. 17 [Define if the 'realloc' function is POSIX compliant.]) 19 AC_LIBOBJ([realloc])
|
/external/bison/m4/ |
realloc.m4 | 0 # 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.] [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
realloc.c | 0 /* realloc() function that is glibc compatible. 22 /* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */ 23 #ifdef realloc 33 /* Below we want to call the system's malloc and realloc. 35 declaration of malloc(), not of rpl_malloc(), and likewise for realloc. */ 37 #undef realloc macro 44 /* Below we want to call the system's malloc and realloc. 48 #undef realloc macro 64 /* In theory realloc might fail, so don't rely on it to free. */ 79 result = realloc (p, n) [all...] |
/bionic/tests/ |
malloc_test.cpp | 59 // Memalign and then realloc the pointer a couple of times. 67 ptr = (char*)realloc(ptr, 200); 76 ptr = (char*)realloc(ptr, 300); 84 ptr = (char*)realloc(ptr, 250); 96 // Realloc to a larger size, malloc is used for the original allocation. 102 ptr = (char *)realloc(ptr, 200); 113 // Realloc to a smaller size, malloc is used for the original allocation. 119 ptr = (char *)realloc(ptr, 100); 136 ptr = (char *)realloc(ptr, 100); 143 ptr = (char*)realloc(ptr, 50) [all...] |
/external/e2fsprogs/e2fsck/ |
mtrace.awk | 20 print "-", $2, "Realloc", NR, "was never alloc'd"; 23 print "+", $2, "Realloc", NR, "duplicate:", allocated[$2]; 30 # Ignore failed realloc attempts for now
|
/external/bison/lib/ |
realloc.c | 0 /* realloc() function that is glibc compatible. 24 /* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */ 25 #ifdef realloc 27 /* Whereas the gnulib module 'realloc-gnu' defines HAVE_REALLOC_GNU. */ 56 /* In theory realloc might fail, so don't rely on it to free. */ 71 result = realloc (p, n);
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/ |
free_hook_realloc.cc | 1 // Check that free hook doesn't conflict with Realloc. 22 int *y = (int*)realloc(x, 200);
|
/external/llvm/test/Transforms/FunctionAttrs/ |
2009-01-04-Annotate.ll | 9 ; CHECK: declare noalias i32* @realloc(i32* nocapture, i32) #0 10 declare i32* @realloc(i32*, i32)
|
/external/icu4c/samples/layout/ |
arraymem.h | 20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|