/bionic/tests/ |
D | malloc_test.cpp | 46 char *ptr = (char *)calloc(1, alloc_len); in TEST() 57 ASSERT_EQ(NULL, calloc(-1, 100)); in TEST() 63 ASSERT_EQ(NULL, calloc(1, SIZE_MAX)); in TEST() 66 ASSERT_EQ(NULL, calloc(SIZE_MAX, SIZE_MAX)); in TEST() 69 ASSERT_EQ(NULL, calloc(2, SIZE_MAX)); in TEST() 72 ASSERT_EQ(NULL, calloc(SIZE_MAX, 2)); in TEST() 211 char *ptr = (char *)calloc(1, 100); in TEST() 226 char *ptr = (char *)calloc(1, 200); in TEST() 241 char *ptr = (char *)calloc(1, 200); in TEST() 375 uint8_t* zero_mem = reinterpret_cast<uint8_t*>(calloc(1, size)); in TEST() [all …]
|
D | fortify_compilation_test.cpp | 284 void *buf = calloc(atoi("5"), 1); in test_pwrite64_too_big_malloc()
|
/bionic/linker/ |
D | linker_memory.cpp | 74 void* calloc(size_t item_count, size_t item_size) { in calloc() function
|
/bionic/libc/private/ |
D | bionic_malloc_dispatch.h | 56 MallocCalloc calloc; member
|
/bionic/libc/include/ |
D | malloc.h | 34 void* calloc(size_t item_count, size_t item_size) __mallocfunc __BIONIC_ALLOC_SIZE(1,2) __wur;
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 54 Malloc(calloc), 80 extern "C" void* calloc(size_t n_elements, size_t elem_size) { in calloc() function 81 auto _calloc = __libc_globals->malloc_dispatch.calloc; in calloc() 85 return Malloc(calloc)(n_elements, elem_size); in calloc() 247 if (!InitMallocFunction<MallocCalloc>(malloc_impl_handler, &table->calloc, in InitMalloc()
|
D | fts.c | 90 if ((sp = calloc(1, sizeof(FTS))) == NULL) in fts_open() 923 if ((p = calloc(1, len)) == NULL) in fts_alloc()
|
/bionic/libc/dns/resolv/ |
D | res_state.c | 61 _res_thread* rt = calloc(1, sizeof(*rt)); in _res_thread_alloc()
|
D | res_cache.c | 1161 e = calloc(size, 1); in entry_alloc() 1291 ri = calloc(1, sizeof(struct pending_req_info)); in _cache_check_pending_request_locked() 1411 cache = calloc(sizeof(*cache), 1); in _resolv_cache_create() 1414 cache->entries = calloc(sizeof(*cache->entries), cache->max_entries); in _resolv_cache_create() 1888 cache_info = calloc(sizeof(*cache_info), 1); in _create_cache_info()
|
/bionic/libc/malloc_debug/ |
D | TrackData.cpp | 116 *info = reinterpret_cast<uint8_t*>(g_dispatch->calloc(*info_size, total_backtrace_allocs_)); in GetInfo()
|
D | README_marshmallow_and_earlier.md | 24 * `calloc` 67 pattern (0xeb). This does not happen for the calloc calls.
|
D | README.md | 22 * `calloc` 127 Any allocation routine, other than calloc, will result in the allocation being 276 pointer = calloc(nmemb, size) 278 **THREAD\_ID**: calloc pointer nmemb size 282 186: calloc 0xb609f080 32 4
|
D | malloc_debug.cpp | 592 return g_dispatch->calloc(nmemb, bytes); in debug_calloc() 631 pointer = g_dispatch->calloc(1, real_size); in debug_calloc()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | open_memstream.c | 133 if ((st->string = calloc(1, st->size)) == NULL) { in open_memstream()
|
D | open_wmemstream.c | 143 if ((st->string = calloc(1, st->size)) == NULL) { in open_wmemstream()
|
D | vfwprintf.c | 207 convbuf = calloc(insize + 1, sizeof(*convbuf)); in __mbsconv()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 67 calloc
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 269 p->strip = calloc(p->ssize, sizeof(sop)); in regcomp()
|
/bionic/libc/ |
D | libc.mips64.map | 186 calloc;
|
D | libc.x86_64.map | 186 calloc;
|
D | libc.arm64.map | 186 calloc;
|
D | libc.mips.map | 251 calloc;
|
D | libc.x86.map | 249 calloc;
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 471 struct addrinfo* ai = calloc(1, sizeof(struct addrinfo) + sizeof(struct sockaddr_storage)); in android_getaddrinfo_proxy()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 115 calloc,
|