Home
last modified time | relevance | path

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

12

/bionic/linker/
Dlinker_memory.cpp31 void* realloc(void* p, size_t byte_count) { in realloc() function
32 return g_linker_allocator.realloc(p, byte_count); in realloc()
Dlinker_allocator.h131 void* realloc(void* ptr, size_t size);
Dlinker_allocator.cpp277 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.cpp80 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); in TEST()
91 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)); in TEST()
95 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 4000)); in TEST()
107 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 64000)); in TEST()
115 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.h65 MallocRealloc realloc; member
/bionic/libc/bionic/
Dmalloc_common.cpp64 Malloc(realloc),
136 extern "C" void* realloc(void* old_mem, size_t bytes) { in realloc() function
137 auto _realloc = __libc_globals->malloc_dispatch.realloc; in realloc()
141 return Malloc(realloc)(old_mem, bytes); in realloc()
267 if (!InitMallocFunction<MallocRealloc>(malloc_impl_handler, &table->realloc, in InitMalloc()
Dscandir.cpp56 reinterpret_cast<dirent**>(realloc(names_, new_capacity * sizeof(dirent*))); in Add()
/bionic/libc/include/
Dmalloc.h28 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2)));
/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()
Dasprintf.c48 _base = realloc(f._bf._base, ret + 1); in asprintf()
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/dns/net/
Dgetservent.c83 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
/bionic/libstdc++/include/
Dcstdlib92 using ::realloc;
/bionic/libc/malloc_debug/
DREADME.md15 realloc
127 filled with the value 0xeb. When doing a realloc to a larger size, the bytes
258 04-15 12:00:31.304 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 USED AFTER FREE (realloc)
261 Would indicate that the application called the <i>realloc</i> function
Dmalloc_debug.cpp451 return g_dispatch->realloc(pointer, bytes); in debug_realloc()
520 new_pointer = g_dispatch->realloc(pointer, real_size); in debug_realloc()
/bionic/libc/
Dlibc.arm64.map783 realloc;
Dlibc.mips64.map783 realloc;
Dlibc.x86_64.map783 realloc;
/bionic/libc/tools/
Dposix-2013.txt841 realloc

12