Home
last modified time | relevance | path

Searched refs:SkAutoMalloc (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/include/core/
DSkTypes.h537 class SkAutoMalloc : SkNoncopyable {
539 explicit SkAutoMalloc(size_t size = 0) {
544 ~SkAutoMalloc() { in ~SkAutoMalloc()
617 #define SkAutoMalloc(...) SK_REQUIRE_LOCAL_VAR(SkAutoMalloc) macro
669 SkAutoMalloc::OnShrink shrink = SkAutoMalloc::kAlloc_OnShrink,
672 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize);
/external/skia/src/gpu/vk/
DGrVkProgramDataManager.h66 mutable SkAutoMalloc fVertexUniformData;
67 mutable SkAutoMalloc fFragmentUniformData;
/external/skia/tests/
DStreamTest.cpp205 SkAutoMalloc peekStorage(bytesToPeek); in compare_peek_to_read()
206 SkAutoMalloc readStorage(bytesToPeek); in compare_peek_to_read()
262 SkAutoMalloc peekStorage(bytesToPeek); in test_peeking_front_buffered_stream()
263 SkAutoMalloc readStorage(bytesToPeek); in test_peeking_front_buffered_stream()
302 SkAutoMalloc storage(fileStream.getLength()); in DEF_TEST()
DMallocPixelRefTest.cpp53 SkAutoMalloc memory(size); in DEF_TEST()
75 SkAutoMalloc memory(size); in DEF_TEST()
DWriter32Test.cpp125 SkAutoMalloc storage(len); in test2()
165 SkAutoMalloc readStorage(totalBytes); in testWritePad()
DPaintBreakTextTest.cpp62 SkAutoMalloc block(kSize); in test_long_text()
DYUVTest.cpp60 SkAutoMalloc storage(totalBytes); in codec_yuv()
DFrontBufferedStreamTest.cpp19 SkAutoMalloc storage(bytesToRead); in test_read()
DFontHostTest.cpp208 SkAutoMalloc data(size); in test_tables()
DRegionTest.cpp270 SkAutoMalloc storage(bytesNeeded); in test_write()
/external/skia/bench/
DAndroidCodecBench.h36 SkAutoMalloc fPixelStorage; // Set in onDelayedSetup.
DCodecBench.h37 SkAutoMalloc fPixelStorage;
/external/skia/src/core/
DSkBlitter.h115 return fBlitMemory.reset(sz, SkAutoMalloc::kReuse_OnShrink); in allocBlitMemory()
143 SkAutoMalloc fBlitMemory;
/external/skia/src/images/
DSkImageDecoder_ktx.cpp136 SkAutoMalloc outRGBData(nPixels); in onDecode()
165 SkAutoMalloc outRGBData(nPixels * 3); in onDecode()
DSkImageDecoder_pkm.cpp76 SkAutoMalloc outRGBData(nPixels * 3); in onDecode()
DSkImageDecoder_astc.cpp151 SkAutoMalloc outRGBAData(nPixels * 4); in onDecode()
/external/skia/src/gpu/
DGrSWMaskHelper.h124 SkAutoMalloc fCompressedBuffer;
DGrYUVProvider.cpp31 SkAutoMalloc fStorage;
DSkGr.cpp231 SkAutoMalloc storage(imageSize); in GrUploadBitmapToTexture()
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp68 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in GrGLCompileAndAttachShader()
DGrGLProgramBuilder.cpp211 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in checkLinkStatus()
/external/skia/gm/
Detc1bitmap.cpp191 SkAutoMalloc am(fileData->size()); in onDraw()
/external/skia/src/effects/gradients/
DSkGradientShaderPriv.h119 SkAutoMalloc fDynamicStorage;
/external/skia/src/utils/
DSkNinePatch.cpp191 SkAutoMalloc storage(vCount * sizeof(SkPoint) * 2 + in DrawMesh()
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp82 SkAutoMalloc storage(size0); in test_writeToMemory()

12