Searched refs:wantedSize (Results 1 – 4 of 4) sorted by relevance
307 void* alloc(size_t wantedSize) { in alloc() argument308 if (wantedSize > mMaxFastSize) { in alloc()309 D("requested size %zu too large", wantedSize); in alloc()314 std::max(mMinAllocSize, leastPowerof2(wantedSize)); in alloc()320 wantedSize, minAllocSizeNeeded, index); in alloc()400 void* Pool::alloc(size_t wantedSize) { in alloc() argument401 void* ptr = mImpl->alloc(wantedSize); in alloc()407 ptr = ::malloc(wantedSize); in alloc()410 D("Failed to service allocation for %zu bytes", wantedSize); in alloc()
159 void* alloc(size_t wantedSize) { in alloc() argument160 if (wantedSize == 0) return nullptr; in alloc()163 (uint64_t)wantedSize; in alloc()167 ((wantedSize + pageSize - 1) / pageSize); in alloc()218 void* SubAllocator::alloc(size_t wantedSize) { in alloc() argument219 return mImpl->alloc(wantedSize); in alloc()
48 void* alloc(size_t wantedSize);
55 void* alloc(size_t wantedSize);