Searched refs:realloc (Results 26 - 50 of 606) sorted by relevance

1234567891011>>

/external/zopfli/src/zopfli/
H A Dutil.h157 : realloc((*data), (*size) * 2 * sizeof(**data));\
167 : realloc((*data), (*size) * 2 * sizeof(**data));\
/external/bison/lib/
H A Dspawn_faction_init.c35 void *newmem = realloc (file_actions->_actions,
/external/chromium_org/third_party/icu/source/samples/layout/
H A Darraymem.h20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
/external/compiler-rt/test/asan/TestCases/Windows/
H A Dallocators_sanity.cc13 p = (int*)realloc(p, 2048 * sizeof(int));
H A Ddll_allocators_sanity.cc15 p = (int*)realloc(p, 2048 * sizeof(int));
/external/icu/icu4c/source/samples/layout/
H A Darraymem.h20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
/external/llvm/lib/Support/
H A DSmallVector.cpp34 NewElts = realloc(this->BeginX, NewCapacityInBytes);
/external/clang/test/Analysis/
H A Dmalloc-sizeof.c7 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 Dmalloc-annotations.c5 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 Dvideo_capture_buffer_pool.cc122 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 Dletest.h33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
/external/clang/test/Sema/
H A Dimplicit-builtin-decl.c41 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 Dstdlib.h33 void *realloc(void *, size_t) __attribute__((__nothrow__)) __attribute((__malloc__))
/external/icu/icu4c/source/test/letest/
H A Dletest.h33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
/external/oprofile/libutil/
H A Dop_libiberty.h46 realloc type functions are not suitable for attribute malloc since
68 #define xrealloc(p,s) realloc(p,s)
/external/valgrind/main/include/
H A Dpub_tool_mallocfree.h45 extern void* VG_(realloc) ( const HChar* cc, void* p, SizeT size );
64 // or VG_(realloc).
/external/valgrind/main/memcheck/tests/
H A Dundef_malloc_args.stderr.exp6 at 0x........: realloc (vg_replace_malloc.c:...)
10 at 0x........: realloc (vg_replace_malloc.c:...)
H A Daccounting.stderr.exp2 Warning: silly arg (-1) to realloc()
H A Ddoublefree.stderr.exp1 Invalid free() / delete / delete[] / realloc()
H A Dmalloc_free_fill.c32 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 Dmemalign_test.stderr.exp1 Invalid free() / delete / delete[] / realloc()
/external/valgrind/main/none/tests/
H A Dbug129866.c19 result = realloc (ptr, size);
/external/compiler-rt/test/asan/TestCases/
H A Dallocator_returns_null.cc1 // 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 Dgcmalloc.h46 * 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 Drealloc.stderr.exp10 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)

Completed in 383 milliseconds

1234567891011>>