/external/jemalloc/test/integration/ |
overflow.c | 35 assert_ptr_null(realloc(p, max_size_class + 1), 37 assert_ptr_null(realloc(p, SIZE_T_MAX),
|
/external/llvm/test/Transforms/FunctionAttrs/ |
annotate-1.ll | 10 declare i32* @realloc(i32*, i32) 11 ; CHECK: declare noalias i32* @realloc(i32* nocapture, i32) [[G0]]
|
/external/valgrind/memcheck/tests/ |
pdb-realloc.c | 22 // realloc them, invoking copy_address_range_state() 23 x = realloc(x, 10000);
|
undef_malloc_args.stderr.exp | 6 at 0x........: realloc (vg_replace_malloc.c:...) 10 at 0x........: realloc (vg_replace_malloc.c:...)
|
doublefree.stderr.exp | 1 Invalid free() / delete / delete[] / realloc()
|
malloc_free_fill.c | 32 fprintf(stderr, "\ntest realloc-larger:\n"); 39 r = realloc(r, 40 * sizeof(int)); assert(r); 47 fprintf(stderr, "\ntest realloc-smaller:\n"); 54 r = realloc(r, 20 * sizeof(int)); assert(r);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/src/ |
halloc.c | 15 #include <stdlib.h> /* realloc */ 90 /* realloc */ 182 * of realloc(ptr, 0), which is defined in the standard 190 allocator = realloc; 195 if ((p = realloc(p, 0))) 197 /* realloc cannot be used as free() */ 206 * free'ing realloc() 209 return realloc(ptr, n);
|
/prebuilts/misc/common/swig/include/2.0.11/ |
cmalloc.i | 14 %realloc(TYPE [, NAME = TYPE]) 58 %define %realloc(TYPE,NAME...) 67 return (TYPE *) realloc(ptr, nitems*sizeof(TYPE)); 69 return (TYPE *) realloc(ptr, nitems); 100 %realloc(TYPE,NAME)
|
/prebuilts/misc/common/swig/include/2.0.11/typemaps/ |
cmalloc.swg | 14 %realloc(TYPE [, NAME = TYPE]) 58 %define %realloc(TYPE,NAME...) 67 return (TYPE *) realloc(ptr, nitems*sizeof(TYPE)); 69 return (TYPE *) realloc(ptr, nitems); 100 %realloc(TYPE,NAME)
|
/external/clang/test/Analysis/ |
MismatchedDeallocator-checker-test.mm | 8 void *realloc(void *ptr, size_t size); 28 int *q = (int *)realloc(p, 16); 29 delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not 'delete'}} 85 realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not realloc()}} 90 realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', not realloc()}} 95 realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not realloc()}}
|
malloc-sizeof.cpp | 7 void *realloc(void *ptr, size_t size);
|
/external/clang/test/Sema/ |
implicit-builtin-decl.c | 41 void * realloc(void *p, int size) { // expected-warning{{incompatible redeclaration of library function 'realloc'}} \ function 42 // expected-note{{'realloc' is a builtin with type 'void *(void *,}}
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_malloc_mac.cc | 37 return REAL(realloc)(ptr, size); \ 38 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \ 60 Report("mz_realloc(%p) -- attempting to realloc unallocated memory.\n", ptr);
|
/external/curl/docs/examples/ |
getinmemory.c | 45 mem->memory = realloc(mem->memory, mem->size + realsize + 1); 48 printf("not enough memory (realloc returned NULL)\n"); 66 chunk.memory = malloc(1); /* will be grown as needed by the realloc above */
|
/external/libvpx/libvpx/vpx_mem/ |
vpx_mem.c | 57 The realloc() function changes the size of the object pointed to by 60 of the new and old sizes. If ptr is null, realloc() behaves like 72 new_addr = realloc(addr, size + align + ADDRESS_STORAGE_SIZE);
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
allocators_sanity.cc | 13 p = (int*)realloc(p, 2048 * sizeof(int));
|
dll_allocators_sanity.cc | 15 p = (int*)realloc(p, 2048 * sizeof(int));
|
/external/icu/icu4c/source/test/letest/ |
letest.h | 38 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/libselinux/src/ |
fgetfilecon.c | 31 newbuf = realloc(buf, size);
|
getfilecon.c | 31 newbuf = realloc(buf, size);
|
getpeercon.c | 30 newbuf = realloc(buf, size);
|
lgetfilecon.c | 31 newbuf = realloc(buf, size);
|
/external/selinux/libselinux/src/ |
getpeercon.c | 30 newbuf = realloc(buf, size);
|
/external/valgrind/massif/tests/ |
Makefile.am | 36 realloc.post.exp realloc.stderr.exp realloc.vgtest \ 71 realloc \
|
/hardware/ti/omap4-aah/ |
Android.mk | 11 OMAP4_DEBUG_LDFLAGS:= $(foreach f, $(strip malloc realloc calloc free), -Wl,--wrap=$(f))
|