Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 32) sorted by relevance

12

/bionic/linker/
Dlinker_memory.cpp78 void* realloc(void* p, size_t byte_count) { in realloc() function
79 return get_allocator().realloc(p, byte_count); in realloc()
Dlinker_allocator.h142 void* realloc(void* ptr, size_t size);
Dlinker_allocator.cpp292 void* LinkerMemoryAllocator::realloc(void* ptr, size_t size) { in realloc() function in LinkerMemoryAllocator
/bionic/tests/
Dmalloc_test.cpp122 ptr = (char*)realloc(ptr, 200); in TEST()
131 ptr = (char*)realloc(ptr, 300); in TEST()
139 ptr = (char*)realloc(ptr, 250); in TEST()
156 ptr = (char *)realloc(ptr, 200); in TEST()
172 ptr = (char *)realloc(ptr, 100); in TEST()
188 ptr = (char *)realloc(ptr, 100); in TEST()
195 ptr = (char*)realloc(ptr, 50); in TEST()
202 ptr = (char*)realloc(ptr, 150); in TEST()
210 ptr = (char*)realloc(ptr, 425); in TEST()
225 ptr = (char *)realloc(ptr, 200); in TEST()
[all …]
/bionic/linker/tests/
Dlinker_memory_allocator_test.cpp92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); in TEST()
103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)); in TEST()
107 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 4000)); in TEST()
119 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 64000)); in TEST()
127 ASSERT_EQ(nullptr, allocator.realloc(reallocated_ptr, 0)); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dreallocarray.c37 return realloc(optr, size * nmemb); in reallocarray()
/bionic/libc/private/
Dbionic_malloc_dispatch.h66 MallocRealloc realloc; member
/bionic/libc/upstream-netbsd/lib/libc/stdlib/
Dreallocarr.c85 nptr = realloc(optr, number * size); in __weak_alias()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvasprintf.c44 _base = realloc(f._bf._base, ret + 1); in vasprintf()
Dgetdelim.c106 newb = realloc(*buf, newlen); in getdelim()
Dfgetln.c49 if ((p = realloc(fp->_lb._base, newsize)) == NULL) in __slbexpand()
Dopen_memstream.c53 p = realloc(st->string, sz); in memstream_write()
Dfvwrite.c116 _base = realloc(fp->_bf._base, _size + 1); in __sfvwrite()
/bionic/libc/include/
Dmalloc.h39 void* realloc(void* p, size_t byte_count) __BIONIC_ALLOC_SIZE(2) __wur;
/bionic/libc/bionic/
Dmalloc_common.cpp64 Malloc(realloc),
145 extern "C" void* realloc(void* old_mem, size_t bytes) { in realloc() function
146 auto _realloc = __libc_globals->malloc_dispatch.realloc; in realloc()
150 return Malloc(realloc)(old_mem, bytes); in realloc()
279 if (!InitMallocFunction<MallocRealloc>(malloc_impl_handler, &table->realloc, in InitMalloc()
Dscandir.cpp56 reinterpret_cast<dirent**>(realloc(names_, new_capacity * sizeof(dirent*))); in Add()
Dfts.c969 p = realloc(sp->fts_path, sp->fts_pathlen); in fts_palloc()
/bionic/libc/dns/net/
Dgetservent.c83 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
Dgethnamaddr.c100 char **xptr = realloc(arr, (siz + 10) * sizeof(*arr)); \
/bionic/libc/malloc_debug/
DREADME.md23 * `realloc`
128 filled with the value 0xeb. When doing a realloc to a larger size, the bytes
284 new\_pointer = realloc(old\_pointer, size)
286 **THREAD\_ID**: realloc new\_pointer old\_pointer size
290 186: realloc 0xb609f080 0xb603e9a0 12
352 … 04-15 12:00:31.304 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 USED AFTER FREE (realloc)
354 Would indicate that the application called the *realloc* function
Dmalloc_debug.cpp486 return g_dispatch->realloc(pointer, bytes); in debug_realloc()
566 new_pointer = g_dispatch->realloc(pointer, real_size); in debug_realloc()
DREADME_marshmallow_and_earlier.md25 * `realloc`
/bionic/libc/tools/
Dposix-2013.txt841 realloc
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c1423 cs->multis = realloc(cs->multis, cs->smultis); in mcadd()
1463 cs->multis = realloc(cs->multis, cs->smultis);
/bionic/libc/
Dlibc.mips64.map776 realloc;

12