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.c73 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in putenv()
134 P = reallocarray(lastenv, cnt + 2, sizeof(char *)); in setenv()
/bionic/linker/
Dlinker_memory.cpp83 void* reallocarray(void* p, size_t item_count, size_t item_size) { in reallocarray() function
/bionic/libc/include/
Dmalloc.h73 void* reallocarray(void* __ptr, size_t __item_count, size_t __item_size) __BIONIC_ALLOC_SIZE(2, 3) …
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dungetc.c67 p = reallocarray(_UB(fp)._base, i, 2); in __submore()
Dopen_wmemstream.c55 p = reallocarray(st->string, sz, sizeof(wchar_t)); in wmemstream_write()
/bionic/libc/bionic/
Dmalloc_common.cpp196 extern "C" void* reallocarray(void* old_mem, size_t item_count, size_t item_size) { in reallocarray() function
Dfts.c888 if ((a = reallocarray(sp->fts_array, in fts_sort()
/bionic/tests/
Dmalloc_test.cpp734 ASSERT_TRUE(reallocarray(nullptr, a, b) == nullptr); in TEST()
738 ASSERT_TRUE(reallocarray(nullptr, b, a) == nullptr); in TEST()
745 TEST(malloc, reallocarray) { in TEST() argument
747 void* p = reallocarray(nullptr, 2, 32); in TEST()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp321 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.md65 * `reallocarray` (BSD/GNU extension in `<malloc.h>` and `<stdlib.h>`)
/bionic/tools/versioner/platforms/
Dlibc.map.txt1464 reallocarray;
/bionic/libc/
Dlibc.map.txt1464 reallocarray;