Home
last modified time | relevance | path

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

/bionic/tests/
Dmalloc_test.cpp67 ptr = (char*)realloc(ptr, 200); in TEST()
76 ptr = (char*)realloc(ptr, 300); in TEST()
84 ptr = (char*)realloc(ptr, 250); in TEST()
102 ptr = (char *)realloc(ptr, 200); in TEST()
119 ptr = (char *)realloc(ptr, 100); in TEST()
136 ptr = (char *)realloc(ptr, 100); in TEST()
143 ptr = (char*)realloc(ptr, 50); in TEST()
150 ptr = (char*)realloc(ptr, 150); in TEST()
158 ptr = (char*)realloc(ptr, 425); in TEST()
173 ptr = (char *)realloc(ptr, 200); in TEST()
[all …]
/bionic/libc/stdio/
Dasprintf.c46 _base = realloc(f._bf._base, ret + 1); in asprintf()
Dvasprintf.c44 _base = realloc(f._bf._base, ret + 1); in vasprintf()
Dungetc.c67 p = realloc(_UB(fp)._base, i << 1); in __submore()
Dfvwrite.c120 _base = realloc(fp->_bf._base, _size + 1); in __sfvwrite()
/bionic/libc/include/
Dmalloc.h32 extern void* realloc(void* p, size_t byte_count) __wur;
/bionic/libc/bionic/
Dmalloc_debug_common.h84 MallocDebugRealloc realloc; member
Dmalloc_debug_common.cpp234 extern "C" void* realloc(void* oldMem, size_t bytes) { in realloc() function
235 return __libc_malloc_dispatch->realloc(oldMem, bytes); in realloc()
312 InitMallocFunction<MallocDebugRealloc>(malloc_impl_handler, &table->realloc, prefix, "realloc"); in InitMalloc()
469 (gMallocUse.realloc == NULL) || in malloc_init_impl()
Dscandir.cpp51 dirent** new_names = (dirent**) realloc(names_, new_capacity * sizeof(dirent*)); in Add()
Dfts.c874 if ((a = realloc(sp->fts_array, in fts_sort()
959 p = realloc(sp->fts_path, sp->fts_pathlen); in fts_palloc()
/bionic/libc/stdlib/
Dsetenv.c68 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); in setenv()
/bionic/libc/netbsd/net/
Dgetservent.c82 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dfgetln.c64 if ((p = realloc(fp->_lb._base, newsize)) == NULL) in __slbexpand()
/bionic/libc/upstream-netbsd/libc/stdio/
Dgetdelim.c117 newb = realloc(*buf, newlen); in __weak_alias()
/bionic/libc/upstream-dlmalloc/
Dmalloc.h57 #define dlrealloc realloc
Dmalloc.c821 #define dlrealloc realloc
/bionic/libstdc++/include/
Dcstdlib95 using ::realloc;
/bionic/libc/upstream-netbsd/libc/regex/
Dregcomp.c1254 p->g->sets = realloc(p->g->sets, nc * sizeof(cset)); in allocset()
1258 p->g->setbits = realloc(p->g->setbits, nbytes); in allocset()
1428 cs->multis = realloc(cs->multis, cs->smultis); in mcadd()
1468 cs->multis = realloc(cs->multis, cs->smultis);
1782 sp = realloc(p->strip, p->ssize * sizeof(sop)); in enlarge()
1807 g->strip = realloc(p->strip, p->slen * sizeof(sop)); in stripsnug()
/bionic/linker/
Dlinker.cpp156 DISALLOW_ALLOCATION(void*, realloc, (void* u1 UNUSED, size_t u2 UNUSED));