Home
last modified time | relevance | path

Searched refs:reallocarray (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dsetenv.c74 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in putenv()
135 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in setenv()
/bionic/linker/
Dlinker_memory.cpp91 void* reallocarray(void* p, size_t item_count, size_t item_size) { in reallocarray() function
/bionic/libc/include/
Dmalloc.h90 void* _Nullable reallocarray(void* _Nullable __ptr, size_t __item_count, size_t __item_size) __BION…
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dungetc.c67 p = reallocarray(_UB(fp)._base, i, 2); in __submore()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c1699 ncs = reallocarray(p->g->sets, p->g->ncsets + 1, sizeof(*ncs));
1771 newwides = reallocarray(cs->wides, cs->nwides + 1,
1803 newranges = reallocarray(cs->ranges, cs->nranges + 1,
1830 newtypes = reallocarray(cs->types, cs->ntypes + 1,
1964 sp = reallocarray(p->strip, size, sizeof(*p->strip));
1986 g->strip = reallocarray(p->strip, p->slen, sizeof(*p->strip));
/bionic/libc/bionic/
Dmalloc_common.cpp211 extern "C" void* reallocarray(void* old_mem, size_t item_count, size_t item_size) { in reallocarray() function
Dfts.c883 if ((a = reallocarray(sp->fts_array, in fts_sort()
/bionic/tests/
Dmalloc_test.cpp798 ASSERT_TRUE(reallocarray(nullptr, a, b) == nullptr); in TEST()
802 ASSERT_TRUE(reallocarray(nullptr, b, a) == nullptr); in TEST()
809 TEST(malloc, reallocarray) { in TEST() argument
811 void* p = reallocarray(nullptr, 2, 32); in TEST()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp551 void* ptr = reallocarray(nullptr, 1, 1123); in Reallocarray()
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c866 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv)); in globextend()
/bionic/docs/
Dstatus.md122 * `reallocarray` (BSD/GNU extension in `<malloc.h>` and `<stdlib.h>`)
/bionic/libc/
Dlibc.map.txt1462 reallocarray;
/bionic/tools/versioner/platforms/
Dlibc.map.txt1462 reallocarray;