Searched refs:SkAutoMalloc (Results 1 – 17 of 17) sorted by relevance
36 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()
71 SkAutoMalloc buffer(size + 1); in parse()82 SkAutoMalloc buffer(len + 1); in parse()
340 class SkAutoMalloc : public SkAutoFree {342 explicit SkAutoMalloc(size_t size) in SkAutoMalloc() function345 SkAutoMalloc(size_t size, unsigned flags) in SkAutoMalloc() function347 SkAutoMalloc() {} in SkAutoMalloc() function
79 SkAutoMalloc storage(count * (sizeof(SkColor) + sizeof(SkScalar))); in getShader()
477 SkAutoMalloc storage(count * sizeof(SkPoint)); in drawLine()
88 SkAutoMalloc storage(length); in onDecode()
86 SkAutoMalloc autoMal(length); in onDecode()379 SkAutoMalloc autoMal(4); in Factory()
178 SkAutoMalloc storage(USE_FIXED_MEM); in onDecode()
270 SkAutoMalloc srcStorage; in onDecode()731 SkAutoMalloc oneRow; in onEncode()
450 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel); in onDecode()469 SkAutoMalloc storage(origWidth * srcBytesPerPixel); in onDecode()
17 SkAutoMalloc am(MAX_SIZE * 2); in test_buffer()
135 SkAutoMalloc storage(countUsed * (sizeof(SkColor) + sizeof(SkScalar))); in platformGradient()
174 SkAutoMalloc storage(vCount * sizeof(SkPoint) * 2 + in DrawMesh()
284 SkAutoMalloc storage(imagesize); in BindNewTexture()
479 SkAutoMalloc memory(maxCount * sizeof(SkEdge*) + size); in sk_fill_path()
457 SkAutoMalloc storage(size); in SkPicturePlayback()
969 SkAutoMalloc storage(size); in drawBitmapAsMask()