Searched refs:SkAutoTMalloc (Results 1 – 25 of 81) sorted by relevance
1234
239 template <typename T> class SkAutoTMalloc : SkNoncopyable {242 explicit SkAutoTMalloc(T* ptr = NULL) {247 explicit SkAutoTMalloc(size_t count) { in SkAutoTMalloc() function251 SkAutoTMalloc(SkAutoTMalloc<T>&& that) : fPtr(that.release()) {} in SkAutoTMalloc() function253 ~SkAutoTMalloc() { in ~SkAutoTMalloc()291 SkAutoTMalloc& operator=(SkAutoTMalloc<T>&& that) {
54 SkAutoTMalloc<SkScalar> xpos(xposCount); in check_text_node()71 SkAutoTMalloc<SkScalar> ypos(yposCount); in check_text_node()100 SkAutoTMalloc<SkScalar> xpos(len); in test_whitespace_pos()112 SkAutoTMalloc<SkPoint> pos(len); in test_whitespace_pos()
103 test_container_apis<SkAutoTMalloc<int>, size_t>(reporter); in DEF_TEST()126 test_realloc_to_zero<SkAutoTMalloc<int> >(reporter); in DEF_TEST()136 SkAutoTMalloc<int> foo(20); in DEF_TEST()
20 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_read_pixels()43 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()96 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
32 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()37 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()61 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()165 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()227 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()250 SkAutoTMalloc<SkRect> bounds(record.count()); in DEF_TEST()
53 SkAutoTMalloc<GrColor> buffer(25); in basic_clear_test()108 SkAutoTMalloc<GrColor> buffer(width * height); in sub_clear_test()109 SkAutoTMalloc<GrColor> subBuffer(subWidth * subHeight); in sub_clear_test()
95 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()105 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
58 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); in basic_texture_test()59 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); in basic_texture_test()
21 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST()
73 SkAutoTMalloc<GrColor> srcBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()74 SkAutoTMalloc<GrColor> dstBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
64 SkAutoTMalloc<uint32_t> dstBuffer(kSize * kSize);
40 SkAutoTMalloc<SkScalar> autoWidths(len); in doMeasure()42 SkAutoTMalloc<SkRect> autoRects(len); in doMeasure()
135 SkAutoTMalloc<SkPoint> vertStorage(vertCount); in draw()159 SkAutoTMalloc<SkPoint> stripStorage(stripCount * 2); in draw()160 SkAutoTMalloc<SkColor> colorStorage(stripCount); in draw()
74 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()124 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsDrawable()
32 SkAutoTMalloc<const SkPicture*> fPics;
105 SkAutoTMalloc<int> fUnsorted;128 SkAutoTMalloc<int> sorted(N); in onDraw()
39 SkAutoTMalloc<SkRect> rects(NUM_BUILD_RECTS); in onDraw()72 SkAutoTMalloc<SkRect> rects(NUM_QUERY_RECTS); in onDelayedSetup()
553 SkAutoTMalloc<uint8_t> tmpBuffer(dstSize); in BoxBlur()740 SkAutoTMalloc<uint8_t> horizontalScanline(width); in ComputeBlurredScanline()809 SkAutoTMalloc<uint8_t> horizontalScanline(dstWidth); in BlurRect()810 SkAutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect()885 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()935 SkAutoTMalloc<uint8_t> padPixels(padSize); in BlurGroundTruth()952 SkAutoTMalloc<float> tmpImage(tmpSize); in BlurGroundTruth()
38 SkAutoTMalloc<uint8_t> fStorage;
24 SkAutoTMalloc<SkScalar> widths(glyph_count);
48 SkAutoTMalloc<uint8_t> fSrcBuffer;
73 SkAutoTMalloc<uint8_t> fStorage;
51 SkAutoTMalloc<SkFontIdentity> fData;
47 SkAutoTMalloc<double> sorted(n); in Stats()