Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkXMLParser_expat.cpp36 inline const char* ConvertUnicodeToChar(const short* ch16, size_t len, SkAutoMalloc& ch8Malloc) { in ConvertUnicodeToChar()
50 SkAutoMalloc el8(len + 1); in start_proc()
63 SkAutoMalloc attr0_8(len0 + 1); in start_proc()
66 SkAutoMalloc attr1_8(len1 + 1); in start_proc()
81 SkAutoMalloc el8(len + 1); in end_proc()
91 SkAutoMalloc text8(len + 1); in text_proc()
125 SkAutoMalloc am(len); in parse()
DSkXMLParser_tinyxml.cpp71 SkAutoMalloc buffer(size + 1); in parse()
82 SkAutoMalloc buffer(len + 1); in parse()
/external/skia/include/core/
DSkTypes.h340 class SkAutoMalloc : public SkAutoFree {
342 explicit SkAutoMalloc(size_t size) in SkAutoMalloc() function
345 SkAutoMalloc(size_t size, unsigned flags) in SkAutoMalloc() function
347 SkAutoMalloc() {} in SkAutoMalloc() function
/external/webkit/WebCore/platform/graphics/android/
DGradientAndroid.cpp79 SkAutoMalloc storage(count * (sizeof(SkColor) + sizeof(SkScalar))); in getShader()
DGraphicsContextAndroid.cpp477 SkAutoMalloc storage(count * sizeof(SkPoint)); in drawLine()
/external/skia/src/images/
DSkImageDecoder_libbmp.cpp88 SkAutoMalloc storage(length); in onDecode()
DSkImageDecoder_libico.cpp86 SkAutoMalloc autoMal(length); in onDecode()
379 SkAutoMalloc autoMal(4); in Factory()
DSkImageDecoder_fpdfemb.cpp178 SkAutoMalloc storage(USE_FIXED_MEM); in onDecode()
DSkImageDecoder_libjpeg.cpp270 SkAutoMalloc srcStorage; in onDecode()
731 SkAutoMalloc oneRow; in onEncode()
DSkImageDecoder_libpng.cpp450 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel); in onDecode()
469 SkAutoMalloc storage(origWidth * srcBytesPerPixel); in onDecode()
/external/skia/tests/
DStreamTest.cpp17 SkAutoMalloc am(MAX_SIZE * 2); in test_buffer()
/external/webkit/WebCore/platform/graphics/skia/
DGradientSkia.cpp135 SkAutoMalloc storage(countUsed * (sizeof(SkColor) + sizeof(SkScalar))); in platformGradient()
/external/skia/src/utils/
DSkNinePatch.cpp174 SkAutoMalloc storage(vCount * sizeof(SkPoint) * 2 + in DrawMesh()
/external/skia/src/gl/
DSkGL.cpp284 SkAutoMalloc storage(imagesize); in BindNewTexture()
/external/skia/src/core/
DSkScan_Path.cpp479 SkAutoMalloc memory(maxCount * sizeof(SkEdge*) + size); in sk_fill_path()
DSkPicturePlayback.cpp457 SkAutoMalloc storage(size); in SkPicturePlayback()
DSkDraw.cpp969 SkAutoMalloc storage(size); in drawBitmapAsMask()