Home
last modified time | relevance | path

Searched refs:SkAutoTMalloc (Results 1 – 25 of 81) sorted by relevance

1234

/external/skia/include/private/
DSkTemplates.h239 template <typename T> class SkAutoTMalloc : SkNoncopyable {
242 explicit SkAutoTMalloc(T* ptr = NULL) {
247 explicit SkAutoTMalloc(size_t count) { in SkAutoTMalloc() function
251 SkAutoTMalloc(SkAutoTMalloc<T>&& that) : fPtr(that.release()) {} in SkAutoTMalloc() function
253 ~SkAutoTMalloc() { in ~SkAutoTMalloc()
291 SkAutoTMalloc& operator=(SkAutoTMalloc<T>&& that) {
/external/skia/tests/
DSVGDeviceTest.cpp54 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()
DTemplatesTest.cpp103 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()
DTestUtils.cpp20 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()
DCopySurfaceTest.cpp32 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()
DRecordDrawTest.cpp142 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()
DVkClearTests.cpp53 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()
DApplyGammaTest.cpp95 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()
DVkUploadPixelsTests.cpp58 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); in basic_texture_test()
59 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); in basic_texture_test()
DSkBase64Test.cpp21 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST()
DTransferPixelsTest.cpp73 SkAutoTMalloc<GrColor> srcBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
74 SkAutoTMalloc<GrColor> dstBuffer(kBufferWidth*kBufferHeight); in basic_transfer_test()
DRenderTargetContextTest.cpp64 SkAutoTMalloc<uint32_t> dstBuffer(kSize * kSize);
/external/skia/samplecode/
DSampleMeasure.cpp40 SkAutoTMalloc<SkScalar> autoWidths(len); in doMeasure()
42 SkAutoTMalloc<SkRect> autoRects(len); in doMeasure()
DSamplePatch.cpp135 SkAutoTMalloc<SkPoint> vertStorage(vertCount); in draw()
159 SkAutoTMalloc<SkPoint> stripStorage(stripCount * 2); in draw()
160 SkAutoTMalloc<SkColor> colorStorage(stripCount); in draw()
/external/skia/src/core/
DSkPictureRecorder.cpp74 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsPicture()
124 SkAutoTMalloc<SkRect> bounds(fRecord->count()); in finishRecordingAsDrawable()
DSkBigPicture.h32 SkAutoTMalloc<const SkPicture*> fPics;
/external/skia/bench/
DSortBench.cpp105 SkAutoTMalloc<int> fUnsorted;
128 SkAutoTMalloc<int> sorted(N); in onDraw()
DRTreeBench.cpp39 SkAutoTMalloc<SkRect> rects(NUM_BUILD_RECTS); in onDraw()
72 SkAutoTMalloc<SkRect> rects(NUM_QUERY_RECTS); in onDelayedSetup()
/external/skia/src/effects/
DSkBlurMask.cpp553 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()
/external/skia/include/encode/
DSkEncoder.h38 SkAutoTMalloc<uint8_t> fStorage;
/external/skia/gm/
Dskbug_5321.cpp24 SkAutoTMalloc<SkScalar> widths(glyph_count);
/external/skia/src/codec/
DSkWbmpCodec.h48 SkAutoTMalloc<uint8_t> fSrcBuffer;
DSkHeifCodec.h73 SkAutoTMalloc<uint8_t> fStorage;
/external/skia/include/ports/
DSkRemotableFontMgr.h51 SkAutoTMalloc<SkFontIdentity> fData;
/external/skia/tools/
DStats.h47 SkAutoTMalloc<double> sorted(n); in Stats()

1234