/bionic/linker/ |
D | linker_memory.cpp | 79 void* realloc(void* p, size_t byte_count) { in realloc() function 80 return get_allocator().realloc(p, byte_count); in realloc() 89 return get_allocator().realloc(p, byte_count); in reallocarray()
|
/bionic/tests/ |
D | malloc_test.cpp | 171 ptr = (char*)realloc(ptr, 200); in TEST() 180 ptr = (char*)realloc(ptr, 300); in TEST() 188 ptr = (char*)realloc(ptr, 250); in TEST() 205 ptr = (char *)realloc(ptr, 200); in TEST() 221 ptr = (char *)realloc(ptr, 100); in TEST() 237 ptr = (char *)realloc(ptr, 100); in TEST() 244 ptr = (char*)realloc(ptr, 50); in TEST() 251 ptr = (char*)realloc(ptr, 150); in TEST() 259 ptr = (char*)realloc(ptr, 425); in TEST() 274 ptr = (char *)realloc(ptr, 200); in TEST() [all …]
|
D | bionic_allocator_test.cpp | 92 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/bionic/ |
D | malloc_common.cpp | 183 extern "C" __attribute__((__noinline__)) void* realloc(void* old_mem, size_t bytes) { in realloc() function 187 return MaybeTagPointer(dispatch_table->realloc(old_mem, bytes)); in realloc() 189 void* result = Malloc(realloc)(old_mem, bytes); in realloc() 204 return realloc(old_mem, new_size); in reallocarray() 354 Malloc(realloc),
|
D | scandir.cpp | 55 reinterpret_cast<dirent**>(realloc(names_, new_capacity * sizeof(dirent*))); in Add()
|
D | malloc_limit.cpp | 209 new_ptr = dispatch_table->realloc(old_mem, bytes); in LimitRealloc() 211 new_ptr = Malloc(realloc)(old_mem, bytes); in LimitRealloc()
|
D | gwp_asan_wrappers.cpp | 154 return prev_dispatch->realloc(old_mem, bytes); in gwp_asan_realloc()
|
D | bionic_allocator.cpp | 343 void* BionicAllocator::realloc(void* ptr, size_t size) { in realloc() function in BionicAllocator
|
D | malloc_common_dynamic.cpp | 174 if (!InitMallocFunction<MallocRealloc>(impl_handler, &table->realloc, prefix, "realloc")) { in InitMallocFunctions()
|
/bionic/benchmarks/ |
D | malloc_sql_benchmark.cpp | 78 ptrs[entries[i].idx] = realloc(nullptr, entries[i].size); in BenchmarkMalloc() 80 ptrs[entries[i].idx] = realloc(ptrs[entries[i].arg2 - 1], entries[i].size); in BenchmarkMalloc()
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
D | reallocarr.c | 85 nptr = realloc(optr, number * size); in __weak_alias()
|
/bionic/libc/private/ |
D | bionic_malloc_dispatch.h | 69 MallocRealloc realloc; member
|
D | bionic_allocator.h | 111 void* realloc(void* ptr, size_t size);
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 86 return g_dispatch->realloc(pointer, bytes); in default_realloc_hook() 153 return g_dispatch->realloc(pointer, bytes); in hooks_realloc()
|
D | README.md | 17 * `realloc` 38 When realloc is called and \_\_realloc\_hook has been set, then the hook
|
/bionic/libc/include/ |
D | malloc.h | 61 void* realloc(void* __ptr, size_t __byte_count) __BIONIC_ALLOC_SIZE(2) __wur;
|
/bionic/libc/dns/net/ |
D | getservent.c | 68 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
|
/bionic/libc/malloc_debug/ |
D | README.md | 19 * `realloc` 32 NOTE: There is a small behavioral change beginning in P for realloc. 33 Before, a realloc from one size to a smaller size would not update the 34 backtrace related to the allocation. Starting in P, every single realloc 170 filled with the value 0xeb. When doing a realloc to a larger size, the bytes 328 new\_pointer = realloc(old\_pointer, size) 330 **THREAD\_ID**: realloc new\_pointer old\_pointer size 334 186: realloc 0xb609f080 0xb603e9a0 12 380 free/malloc\_usable\_size/realloc calls are passed valid pointers. 393 malloc\_usable\_size, realloc. [all …]
|
D | README_marshmallow_and_earlier.md | 25 * `realloc`
|
/bionic/tests/headers/posix/ |
D | stdlib_h.c | 118 FUNCTION(realloc, void* (*f)(void*, size_t)); in stdlib_h()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_160.S | 122 CALL(realloc)
|
D | liblinker_reloc_bench_008.S | 332 CALL(realloc)
|
D | liblinker_reloc_bench_144.S | 236 CALL(realloc)
|
/bionic/libc/stdio/ |
D | vfscanf.cpp | 462 reinterpret_cast<wchar_t*>(realloc(allocation, sizeof(wchar_t) * capacity)); in __svfscanf() 511 char* new_allocation = reinterpret_cast<char*>(realloc(allocation, capacity)); in __svfscanf()
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 267 ptr = realloc(ptr, 2048); in TEST_F()
|