/development/tools/yuv420sp2rgb/ |
debug.h | 59 static inline void *REALLOC(void *ptr, unsigned int size) { 60 void *m = realloc(ptr, size); 61 FAILIF(NULL == m, "realloc(%p, %d) failed!\n", ptr, size);
|
/external/clang/test/Sema/ |
implicit-builtin-decl.c | 39 void * realloc(void *p, int size) { // expected-warning{{incompatible redeclaration of library function 'realloc'}} \ function 40 // expected-note{{'realloc' is a builtin with type 'void *(void *,}}
|
/external/clang/test/Analysis/ |
malloc-sizeof.c | 7 void *realloc(void *ptr, size_t size); 27 struct A *ap6 = realloc(ap5, sizeof(struct A)); 28 struct A *ap7 = realloc(ap5, sizeof(struct B)); // expected-warning {{Result of 'realloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct B'}}
|
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'}} 80 realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not realloc()}} 85 realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', not realloc()}} 90 realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not realloc()}}
|
/external/valgrind/main/massif/tests/ |
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)
|
realloc.vgtest | 1 prog: realloc
|
Makefile.am | 34 realloc.post.exp realloc.stderr.exp realloc.vgtest \ 63 realloc \
|
/external/valgrind/main/memcheck/tests/ |
doublefree.stderr.exp | 1 Invalid free() / delete / delete[] / realloc()
|
memalign_test.stderr.exp | 1 Invalid free() / delete / delete[] / realloc()
|
pdb-realloc.c | 22 // realloc them, invoking copy_address_range_state() 23 x = realloc(x, 10000);
|
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);
|
/external/valgrind/main/none/tests/ |
bug129866.c | 19 result = realloc (ptr, size);
|
/external/libvpx/libvpx/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);
|
/external/llvm/test/Transforms/FunctionAttrs/ |
annotate-1.ll | 10 declare i32* @realloc(i32*, i32) 11 ; CHECK: declare noalias i32* @realloc(i32* nocapture, i32) [[G0]]
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
malloc.m4 | 25 # Test whether malloc, realloc, calloc are POSIX compliant, 29 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
|
/external/openssh/openbsd-compat/ |
bsd-asprintf.c | 60 } else { /* bigger than initial, realloc allowing for nul */ 62 if ((newstr = realloc(string, len)) == NULL) { 71 } else { /* failed with realloc'ed string, give up */
|
/external/chromium_org/third_party/icu/source/test/letest/ |
letest.h | 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/chromium_org/third_party/skia/src/ports/ |
SkMemory_malloc.cpp | 27 void* p = realloc(addr, size);
|
/external/harfbuzz_ng/src/hb-icu-le/ |
letest.h | 45 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/icu4c/test/letest/ |
letest.h | 33 #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/skia/src/ports/ |
SkMemory_malloc.cpp | 27 void* p = realloc(addr, size);
|