Searched refs:SkAutoMalloc (Results 1 – 25 of 34) sorted by relevance
12
537 class SkAutoMalloc : SkNoncopyable {539 explicit SkAutoMalloc(size_t size = 0) {544 ~SkAutoMalloc() { in ~SkAutoMalloc()617 #define SkAutoMalloc(...) SK_REQUIRE_LOCAL_VAR(SkAutoMalloc) macro669 SkAutoMalloc::OnShrink shrink = SkAutoMalloc::kAlloc_OnShrink,672 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize);
66 mutable SkAutoMalloc fVertexUniformData;67 mutable SkAutoMalloc fFragmentUniformData;
205 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()
53 SkAutoMalloc memory(size); in DEF_TEST()75 SkAutoMalloc memory(size); in DEF_TEST()
125 SkAutoMalloc storage(len); in test2()165 SkAutoMalloc readStorage(totalBytes); in testWritePad()
62 SkAutoMalloc block(kSize); in test_long_text()
60 SkAutoMalloc storage(totalBytes); in codec_yuv()
19 SkAutoMalloc storage(bytesToRead); in test_read()
208 SkAutoMalloc data(size); in test_tables()
270 SkAutoMalloc storage(bytesNeeded); in test_write()
36 SkAutoMalloc fPixelStorage; // Set in onDelayedSetup.
37 SkAutoMalloc fPixelStorage;
115 return fBlitMemory.reset(sz, SkAutoMalloc::kReuse_OnShrink); in allocBlitMemory()143 SkAutoMalloc fBlitMemory;
136 SkAutoMalloc outRGBData(nPixels); in onDecode()165 SkAutoMalloc outRGBData(nPixels * 3); in onDecode()
76 SkAutoMalloc outRGBData(nPixels * 3); in onDecode()
151 SkAutoMalloc outRGBAData(nPixels * 4); in onDecode()
124 SkAutoMalloc fCompressedBuffer;
31 SkAutoMalloc fStorage;
231 SkAutoMalloc storage(imageSize); in GrUploadBitmapToTexture()
68 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in GrGLCompileAndAttachShader()
211 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in checkLinkStatus()
191 SkAutoMalloc am(fileData->size()); in onDraw()
119 SkAutoMalloc fDynamicStorage;
191 SkAutoMalloc storage(vCount * sizeof(SkPoint) * 2 + in DrawMesh()
82 SkAutoMalloc storage(size0); in test_writeToMemory()