/external/zopfli/src/zopfli/ |
H A D | util.h | 157 : realloc((*data), (*size) * 2 * sizeof(**data));\ 167 : realloc((*data), (*size) * 2 * sizeof(**data));\
|
/external/bison/lib/ |
H A D | spawn_faction_init.c | 35 void *newmem = realloc (file_actions->_actions,
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
H A D | arraymem.h | 20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | allocators_sanity.cc | 13 p = (int*)realloc(p, 2048 * sizeof(int));
|
H A D | dll_allocators_sanity.cc | 15 p = (int*)realloc(p, 2048 * sizeof(int));
|
/external/icu/icu4c/source/samples/layout/ |
H A D | arraymem.h | 20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/llvm/lib/Support/ |
H A D | SmallVector.cpp | 34 NewElts = realloc(this->BeginX, NewCapacityInBytes);
|
/external/clang/test/Analysis/ |
H A D | 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'}}
|
H A D | malloc-annotations.c | 5 void *realloc(void *ptr, size_t size); 40 realloc(p,0); 41 realloc(p,0); // expected-warning{{Attempt to free released memory}} 46 int *q = realloc(p,0); // no-warning 167 q = realloc(q, 20); 184 realloc(p,0); 206 realloc(x,0);
|
/external/chromium_org/content/browser/renderer_host/media/ |
H A D | video_capture_buffer_pool.cc | 122 BufferMap::iterator realloc = buffers_.end(); local 133 realloc = it; 141 if (realloc == buffers_.end()) { 145 *buffer_id_to_drop = realloc->first; 146 delete realloc->second; 147 buffers_.erase(realloc);
|
/external/chromium_org/third_party/icu/source/test/letest/ |
H A D | letest.h | 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/clang/test/Sema/ |
H A D | 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/SDKs/linux/usr/include/ |
H A D | stdlib.h | 33 void *realloc(void *, size_t) __attribute__((__nothrow__)) __attribute((__malloc__))
|
/external/icu/icu4c/source/test/letest/ |
H A D | letest.h | 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/oprofile/libutil/ |
H A D | op_libiberty.h | 46 realloc type functions are not suitable for attribute malloc since 68 #define xrealloc(p,s) realloc(p,s)
|
/external/valgrind/main/include/ |
H A D | pub_tool_mallocfree.h | 45 extern void* VG_(realloc) ( const HChar* cc, void* p, SizeT size ); 64 // or VG_(realloc).
|
/external/valgrind/main/memcheck/tests/ |
H A D | undef_malloc_args.stderr.exp | 6 at 0x........: realloc (vg_replace_malloc.c:...) 10 at 0x........: realloc (vg_replace_malloc.c:...)
|
H A D | accounting.stderr.exp | 2 Warning: silly arg (-1) to realloc()
|
H A D | doublefree.stderr.exp | 1 Invalid free() / delete / delete[] / realloc()
|
H A D | 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);
|
H A D | memalign_test.stderr.exp | 1 Invalid free() / delete / delete[] / realloc()
|
/external/valgrind/main/none/tests/ |
H A D | bug129866.c | 19 result = realloc (ptr, size);
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | allocator_returns_null.cc | 1 // Test the behavior of malloc/calloc/realloc when the allocation size is huge. 13 // RUN: env ASAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rCRASH 14 // RUN: env ASAN_OPTIONS=allocator_may_return_null=1 %run %t realloc 2>&1 | FileCheck %s --check-prefix=CHECK-rNULL 15 // RUN: env ASAN_OPTIONS=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrCRASH 16 // RUN: env ASAN_OPTIONS=allocator_may_return_null=1 %run %t realloc-after-malloc 2>&1 | FileCheck %s --check-prefix=CHECK-mrNULL 45 if (!strcmp(argv[1], "realloc")) { 46 fprintf(stderr, "realloc:\n"); 47 x = (char*)realloc(0, size); 49 if (!strcmp(argv[1], "realloc-after-malloc")) { 50 fprintf(stderr, "realloc [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | gcmalloc.h | 46 * malloc(), calloc(), realloc(), and free() entry points in the main 70 realloc(void *ptr, size_t size) function 117 #define racoon_realloc(old, sz) realloc((old), (sz))
|
/external/valgrind/main/massif/tests/ |
H A 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)
|