Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance
163 size_t alloc_size = 1024; in VerifyAllocCalls() local166 uint8_t* pointer = reinterpret_cast<uint8_t*>(debug_malloc(alloc_size)); in VerifyAllocCalls()174 pointer = reinterpret_cast<uint8_t*>(debug_calloc(1, alloc_size)); in VerifyAllocCalls()181 pointer = reinterpret_cast<uint8_t*>(debug_memalign(128, alloc_size)); in VerifyAllocCalls()188 pointer = reinterpret_cast<uint8_t*>(debug_realloc(nullptr, alloc_size)); in VerifyAllocCalls()193 memset(pointer, 0xff, alloc_size); in VerifyAllocCalls()196 pointer = reinterpret_cast<uint8_t*>(debug_realloc(pointer, alloc_size * 2)); in VerifyAllocCalls()198 for (size_t i = 0; i < alloc_size; i++) { in VerifyAllocCalls()201 for (size_t i = alloc_size; i < debug_malloc_usable_size(pointer); i++) { in VerifyAllocCalls()206 pointer = reinterpret_cast<uint8_t*>(debug_realloc(pointer, alloc_size)); in VerifyAllocCalls()
831 static void __attribute__((optnone)) AndroidVerifyAlignment(size_t alloc_size, size_t aligned_bytes… in AndroidVerifyAlignment() argument835 ptrs[i] = malloc(alloc_size); in AndroidVerifyAlignment()839 << alloc_size << " actual ptr " << ptrs[i]; in AndroidVerifyAlignment()
412 #if !__has_attribute(alloc_size)