Searched refs:bytes (Results 1 – 6 of 6) sorted by relevance
/malloc/ |
A D | malloc-debug.c | 169 __debug_malloc (size_t bytes) in __debug_malloc() argument 176 size_t orig_bytes = bytes; in __debug_malloc() 181 ? malloc_check (bytes) : __libc_malloc (bytes)); in __debug_malloc() 250 bytes = osize - SIZE_SZ; in strong_alias() 279 size_t orig_bytes = bytes; in strong_alias() 305 __debug_pvalloc (size_t bytes) in strong_alias() 327 __debug_valloc (size_t bytes) in strong_alias() 358 size_t bytes; in strong_alias() local 372 memset (mem, 0, bytes); in strong_alias() 377 size_t orig_bytes = bytes; in strong_alias() [all …]
|
A D | reallocarray.c | 26 size_t bytes; in __libc_reallocarray() local 27 if (__builtin_mul_overflow (nmemb, elem_size, &bytes)) in __libc_reallocarray() 32 return realloc (optr, bytes); in __libc_reallocarray()
|
A D | malloc-check.c | 245 realloc_check (void *oldmem, size_t bytes) in realloc_check() argument 252 if (__builtin_add_overflow (bytes, 1, &rb)) in realloc_check() 258 return malloc_check (bytes); in realloc_check() 260 if (bytes == 0) in realloc_check() 333 return mem2mem_check (tag_new_usable (newmem), bytes); in realloc_check() 337 memalign_check (size_t alignment, size_t bytes) in memalign_check() argument 342 return malloc_check (bytes); in memalign_check() 356 if (bytes > SIZE_MAX - alignment - MINSIZE) in memalign_check() 373 mem = _int_memalign (&main_arena, alignment, bytes + 1); in memalign_check() 375 return mem2mem_check (tag_new_usable (mem), bytes); in memalign_check()
|
A D | tst-compathooks-off.c | 48 malloc_called (size_t bytes, const void *address) in malloc_called() argument 52 void *mem = malloc (bytes); in malloc_called() 58 realloc_called (void *oldptr, size_t bytes, const void *address) in realloc_called() argument 62 void *mem = realloc (oldptr, bytes); in realloc_called()
|
A D | malloc.c | 3244 arena_get (ar_ptr, bytes); in tcache_init() 3286 __libc_malloc (size_t bytes) in __libc_malloc() argument 3327 arena_get (ar_ptr, bytes); in __libc_malloc() 3418 return __libc_malloc (bytes); in libc_hidden_def() 3536 return __libc_malloc (bytes); in _mid_memalign() 3590 __libc_valloc (size_t bytes) in weak_alias() 3601 __libc_pvalloc (size_t bytes) in __libc_pvalloc() argument 3632 ptrdiff_t bytes; in __libc_calloc() local 3640 sz = bytes; in __libc_calloc() 3815 alloc_perturb (p, bytes); in _int_malloc() [all …]
|
A D | arena.c | 978 arena_get_retry (mstate ar_ptr, size_t bytes) in arena_get_retry() argument 980 LIBC_PROBE (memory_arena_retry, 2, bytes, ar_ptr); in arena_get_retry() 990 ar_ptr = arena_get2 (bytes, ar_ptr); in arena_get_retry()
|
Completed in 36 milliseconds