Home
last modified time | relevance | path

Searched refs:SkAutoSTMalloc (Results 1 – 25 of 38) sorted by relevance

12

/external/skia/include/private/
DSkTemplates.h293 class SkAutoSTMalloc {
295 SkAutoSTMalloc() : fPtr(fTStorage) {} in SkAutoSTMalloc() function
297 SkAutoSTMalloc(size_t count) { in SkAutoSTMalloc() function
307 SkAutoSTMalloc(SkAutoSTMalloc&&) = delete;
308 SkAutoSTMalloc(const SkAutoSTMalloc&) = delete;
309 SkAutoSTMalloc& operator=(SkAutoSTMalloc&&) = delete;
310 SkAutoSTMalloc& operator=(const SkAutoSTMalloc&) = delete;
312 ~SkAutoSTMalloc() { in ~SkAutoSTMalloc()
/external/skia/tests/
DTemplatesTest.cpp13 SkAutoSTMalloc<1, int> array; in test_automalloc_realloc()
112 test_container_apis<SkAutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
135 test_realloc_to_zero<SkAutoSTMalloc<kStackPreallocCount, int> >(reporter); in DEF_TEST()
/external/skia/src/core/
DSkFontDescriptor.h75 SkAutoSTMalloc<4, SkFixed> fAxis;
76 SkAutoSTMalloc<4, SkFontArguments::Palette::Override> fPaletteOverrides;
134 using Coordinates = SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate>;
DSkPictureData.cpp95 SkAutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories()
126 SkAutoSTMalloc<16, SkTypeface*> storage(count); in WriteTypefaces()
DSkGeometry.h521 SkAutoSTMalloc<kPointCount, SkPoint> fStorage;
DSkRasterPipeline.cpp405 SkAutoSTMalloc<64, void*> program(fSlotsNeeded); in run()
DSkTypeface.cpp358 SkAutoSTMalloc<256, SkUnichar> fStorage;
/external/skia/fuzz/
DFuzzPolyUtils.cpp26 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ()
52 SkAutoSTMalloc<64, uint16_t> indexMap(count); in DEF_FUZZ()
/external/skia/gm/
Danalytic_gradients.cpp163 SkAutoSTMalloc<4, SkColor> colors(colorCount); in onDraw()
164 SkAutoSTMalloc<4, SkScalar> positions(colorCount); in onDraw()
Dtypeface.cpp32 SkAutoSTMalloc<128, SkScalar> widthStorage(count); in getGlyphPositions()
61 SkAutoSTMalloc<128, uint16_t> glyphStorage(len); in drawKernText()
68 SkAutoSTMalloc<128, int32_t> adjustmentStorage(glyphCount - 1); in drawKernText()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp192 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisValue(fontAxisCount); in onGetVariationDesignPosition()
241 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_RANGE> fontAxisRange(fontAxisCount); in onGetVariationDesignParameters()
243 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisDefaultValue(fontAxisCount); in onGetVariationDesignParameters()
334 SkAutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisValue(fontAxisCount); in onMakeClone()
DSkFontMgr_android.cpp231 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in SkFontStyleSet_Android()
471 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onMakeFromStreamArgs()
DSkFontMgr_custom.cpp253 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onMakeFromStreamArgs()
DSkFontHost_FreeType.cpp298 SkAutoSTMalloc<4, FT_Fixed> coords(data.getAxisCount()); in setupAxes()
676 SkAutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in GetVariationDesignPosition()
701 SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> currentPosition(axisCount); in cloneFontData()
705 SkAutoSTMalloc<4, SkFixed> axisValues(axisCount); in cloneFontData()
2019 SkAutoSTMalloc<4, FT_Fixed> coords(numAxes); in scanFont()
DSkFontMgr_FontConfigInterface.cpp272 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onMakeFromStreamArgs()
DSkFontHost_win.cpp576 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf);
1501 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) in getGDIGlyphPath()
1559 SkAutoSTMalloc<BUFFERSIZE, uint8_t> glyphbuf(BUFFERSIZE); in generatePath()
1569 SkAutoSTMalloc<BUFFERSIZE, uint8_t> hintedGlyphbuf(BUFFERSIZE); in generatePath()
2030 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp103 SkAutoSTMalloc<256, SkUnichar> unicode(count); in skhb_nominal_glyphs()
108 SkAutoSTMalloc<256, SkGlyphID> glyph(count); in skhb_nominal_glyphs()
150 SkAutoSTMalloc<256, SkGlyphID> glyph(count); in skhb_glyph_h_advances()
155 SkAutoSTMalloc<256, SkScalar> advance(count); in skhb_glyph_h_advances()
319 SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> axis_values(axis_count); in create_hb_font()
560 SkAutoSTMalloc<4, SkBidiIterator::Level> runLevels(numRuns); in emit()
564 SkAutoSTMalloc<4, int32_t> logicalFromVisual(numRuns); in emit()
1151 SkAutoSTMalloc<4, SkBidiIterator::Level> runLevels(numRuns); in wrap()
1155 SkAutoSTMalloc<4, int32_t> logicalFromVisual(numRuns); in wrap()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp344 SkAutoSTMalloc<64, SkGlyphID> fLineGlyphs;
345 SkAutoSTMalloc<64, SkPoint> fLinePos;
346 SkAutoSTMalloc<64, uint32_t> fLineClusters;
/external/skia/src/utils/win/
DSkDWrite.h28 typedef SkAutoSTMalloc<16, WCHAR> SkSMallocWCHAR;
/external/skia/src/shaders/gradients/
DSkGradientShaderPriv.h139 SkAutoSTMalloc<kInlineStorageSize, uint8_t> fStorage;
/external/skia/src/gpu/tessellate/
DMiddleOutPolygonTriangulator.h187 SkAutoSTMalloc<kStackPreallocCount, StackVertex> fVertexStack;
/external/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp183 SkAutoSTMalloc<64, int32_t> storage(keyCount); in getGradient()
/external/skia/src/gpu/
DResourceKey.h166 SkAutoSTMalloc<kMetaDataCnt + 5, uint32_t> fKey;
/external/skia/bench/
DPolyUtilsBench.cpp87 SkAutoSTMalloc<64, uint16_t> indexMap(poly.count()); in onDraw()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp147 SkAutoSTMalloc<4, ColorTuple> colorDataAlloc(info.fColorCount); in gradient_function_code()
257 SkAutoSTMalloc<4, ColorTuple> colorDataAlloc(colorCount); in gradientStitchCode()

12