Home
last modified time | relevance | path

Searched refs:tryAlloc (Results 1 – 21 of 21) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_persistent_allocator.h29 void *tryAlloc(uptr size);
35 inline void *PersistentAllocator::tryAlloc(uptr size) { in tryAlloc() function
49 void *s = tryAlloc(size); in alloc()
54 s = tryAlloc(size); in alloc()
/external/skia/src/core/
DSkAutoPixmapStorage.cpp35 bool SkAutoPixmapStorage::tryAlloc(const SkImageInfo& info) { in tryAlloc() function in SkAutoPixmapStorage
53 SkASSERT_RELEASE(this->tryAlloc(info)); in alloc()
DSkPixmapPriv.h44 if (!storage.tryAlloc(info)) { in Orient()
DSkAutoPixmapStorage.h31 bool tryAlloc(const SkImageInfo&);
DSkScalerContext.cpp455 if (!dst.tryAlloc(info)) { in generateMask()
/external/skqp/src/core/
DSkAutoPixmapStorage.cpp35 bool SkAutoPixmapStorage::tryAlloc(const SkImageInfo& info) { in tryAlloc() function in SkAutoPixmapStorage
53 SkASSERT_RELEASE(this->tryAlloc(info)); in alloc()
DSkPixmapPriv.h44 if (!storage.tryAlloc(info)) { in Orient()
DSkAutoPixmapStorage.h31 bool tryAlloc(const SkImageInfo&);
DSkScalerContext.cpp423 if (!dst.tryAlloc(info)) { in generateMask()
/external/skqp/src/gpu/
DGrSWMaskHelper.cpp83 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
DGrContext.cpp740 if (!tempPixmap.tryAlloc(tempII)) { in readSurfacePixels()
/external/skia/src/gpu/
DGrSWMaskHelper.cpp83 if (!fPixels->tryAlloc(bmImageInfo)) { in init()
DGrContextPriv.cpp454 if (!tempPixmap.tryAlloc(tempII)) { in readSurfacePixels()
/external/skqp/src/image/
DSkImage_Gpu.cpp459 if (!pmap.tryAlloc(info) || !codecImage->readPixels(pmap, 0, 0, kDisallow_CachingHint)) { in MakeCrossContextFromEncoded()
519 if (!resized.tryAlloc(info) || !originalPixmap.scalePixels(resized, kLow_SkFilterQuality)) { in MakeCrossContextFromPixmap()
DSkImage_GpuYUVA.cpp212 if (!resized.tryAlloc(info) || in MakeFromYUVAPixmaps()
/external/skia/tools/fiddle/
Dfiddle_main.cpp144 if (!rgbaPixmap.tryAlloc(bm.info().makeColorType(kRGBA_8888_SkColorType))) { in setup_backend_objects()
/external/skqp/tools/fiddle/
Dfiddle_main.cpp144 if (!rgbaPixmap.tryAlloc(bm.info().makeColorType(kRGBA_8888_SkColorType))) { in setup_backend_objects()
/external/skia/src/image/
DSkImage_Gpu.cpp475 if (!pmap.tryAlloc(info) || !codecImage->readPixels(pmap, 0, 0, kDisallow_CachingHint)) { in MakeCrossContextFromEncoded()
544 if (!resized.tryAlloc(info) || !originalPixmap.scalePixels(resized, kLow_SkFilterQuality)) { in MakeCrossContextFromPixmap()
DSkImage_GpuYUVA.cpp234 if (!resized.tryAlloc(info) || in MakeFromYUVAPixmaps()
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.cpp580 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), in addDFPathToAtlas()
689 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), in addBMPathToAtlas()
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.cpp579 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), in addDFPathToAtlas()
688 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), in addBMPathToAtlas()