Lines Matching defs:allocator
204 bool SkBitmap::tryAllocPixels(Allocator* allocator) {
207 if (nullptr == allocator) {
208 allocator = &stdalloc;
210 return allocator->allocPixelRef(this);
229 void SkBitmap::allocPixels(Allocator* allocator) {
230 if (!this->tryAllocPixels(allocator)) {
355 /** We explicitly use the same allocator for our pixels that SkMask does,
517 Allocator *allocator, SkIPoint* offset) const {
543 if (!tmpBitmap.tryAllocPixels(allocator)) {
567 if (!tmpBitmap.tryAllocPixels(allocator)) {