Home
last modified time | relevance | path

Searched refs:AutoSTMalloc (Results 1 – 25 of 34) sorted by relevance

12

/aosp_15_r20/external/skia/include/private/base/
H A DSkTemplates.h343 class AutoSTMalloc {
345 AutoSTMalloc() : fPtr(fTStorage) {} in AutoSTMalloc() function
347 AutoSTMalloc(size_t count) { in AutoSTMalloc() function
357 AutoSTMalloc(AutoSTMalloc&&) = delete;
358 AutoSTMalloc(const AutoSTMalloc&) = delete;
359 AutoSTMalloc& operator=(AutoSTMalloc&&) = delete;
360 AutoSTMalloc& operator=(const AutoSTMalloc&) = delete;
362 ~AutoSTMalloc() { in ~AutoSTMalloc()
/aosp_15_r20/external/skia/tests/
H A DTemplatesTest.cpp18 AutoSTMalloc<1, int> array; in test_automalloc_realloc()
117 test_container_apis<AutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
140 test_realloc_to_zero<AutoSTMalloc<kStackPreallocCount, int> >(reporter); in DEF_TEST()
/aosp_15_r20/external/skia/src/core/
H A DSkFontDescriptor.h81 skia_private::AutoSTMalloc<4, SkFixed> fAxis;
82 skia_private::AutoSTMalloc<4, SkFontArguments::Palette::Override> fPaletteOverrides;
155 skia_private::AutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate>;
H A DSkPictureData.cpp107 AutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories()
138 AutoSTMalloc<16, SkTypeface*> storage(count); in WriteTypefaces()
H A DSkRasterPipeline.cpp627 AutoSTMalloc<32, SkRasterPipelineStage> program(stagesNeeded); in run()
630 AutoSTMalloc<2, SkRasterPipeline_MemoryCtxPatch> patches(numMemoryCtxs); in run()
H A DSkGeometry.h546 skia_private::AutoSTMalloc<kPointCount, SkPoint> fStorage;
H A DSkTypeface.cpp410 AutoSTMalloc<256, SkUnichar> fStorage;
/aosp_15_r20/external/skia/modules/skshaper/src/
H A DSkShaper_harfbuzz.cpp108 AutoSTMalloc<256, SkUnichar> unicode(count); in skhb_nominal_glyphs()
113 AutoSTMalloc<256, SkGlyphID> glyph(count); in skhb_nominal_glyphs()
155 AutoSTMalloc<256, SkGlyphID> glyph(count); in skhb_glyph_h_advances()
160 AutoSTMalloc<256, SkScalar> advance(count); in skhb_glyph_h_advances()
324 AutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> axis_values(axis_count); in create_typeface_hb_font()
540 AutoSTMalloc<4, SkBidiIterator::Level> runLevels(numRuns); in emit()
544 AutoSTMalloc<4, int32_t> logicalFromVisual(numRuns); in emit()
1133 AutoSTMalloc<4, SkBidiIterator::Level> runLevels(numRuns); in wrap()
1137 AutoSTMalloc<4, int32_t> logicalFromVisual(numRuns); in wrap()
/aosp_15_r20/external/skia/fuzz/
H A DFuzzPolyUtils.cpp31 AutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ()
57 AutoSTMalloc<64, uint16_t> indexMap(count); in DEF_FUZZ()
/aosp_15_r20/external/skia/src/ports/
H A DSkTypeface_win_dw.cpp64 AutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisValue(fontAxisCount); in GetStyle()
121 AutoSTMalloc<8, DWRITE_COLOR_F> dwPaletteEntry(dwPaletteEntryCount); in initializePalette()
426 AutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisValue(fontAxisCount); in onGetVariationDesignPosition()
475 AutoSTMalloc<8, DWRITE_FONT_AXIS_RANGE> fontAxisRange(fontAxisCount); in onGetVariationDesignParameters()
477 AutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisDefaultValue(fontAxisCount); in onGetVariationDesignParameters()
568 AutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> fontAxisValue(fontAxisCount); in onMakeClone()
1118 AutoSTMalloc<8, DWRITE_FONT_AXIS_VALUE> variation(fontAxisCount); in apply_fontargument_variation()
H A DSkFontHost_FreeType.cpp338 AutoSTMalloc<4, FT_Fixed> coords(data.getAxisCount()); in setupAxes()
771 AutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in GetVariationDesignPosition()
797 AutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> currentPosition(axisCount); in cloneFontData()
801 AutoSTMalloc<4, SkFixed> axisValues(axisCount); in cloneFontData()
2046 AutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.size()); in MakeFromStream()
2204 AutoSTMalloc<4, FT_Fixed> coords(numAxes); in scanInstance()
H A DSkFontHost_win.cpp582 AutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf);
1493 AutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) in getGDIGlyphPath()
1551 AutoSTMalloc<BUFFERSIZE, uint8_t> glyphbuf(BUFFERSIZE); in generatePath()
1561 AutoSTMalloc<BUFFERSIZE, uint8_t> hintedGlyphbuf(BUFFERSIZE); in generatePath()
2022 AutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
H A DSkFontMgr_android_ndk.cpp569 AutoSTMalloc<4, Coordinate> requestAxisValues(requestAxisCount); in make()
580 AutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.size()); in make()
H A DSkTypeface_mac_ct.cpp1041 AutoSTMalloc<1024, UniChar> charStorage; in onCharsToGlyphs()
1053 AutoSTMalloc<1024, uint16_t> glyphStorage; in onCharsToGlyphs()
H A DSkFontMgr_fuchsia.cpp268 AutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.size()); in CreateTypefaceFromSkStream()
/aosp_15_r20/external/skia/gm/
H A Danalytic_gradients.cpp161 AutoSTMalloc<4, SkColor> colors(colorCount); in onDraw()
162 AutoSTMalloc<4, SkScalar> positions(colorCount); in onDraw()
H A Dtypeface.cpp36 AutoSTMalloc<128, SkScalar> widthStorage(count); in getGlyphPositions()
65 AutoSTMalloc<128, uint16_t> glyphStorage(len); in drawKernText()
72 AutoSTMalloc<128, int32_t> adjustmentStorage(glyphCount - 1); in drawKernText()
/aosp_15_r20/external/skia/modules/skottie/src/text/
H A DTextShaper.cpp492 AutoSTMalloc<64, SkGlyphID> fLineGlyphs;
493 AutoSTMalloc<64, SkPoint> fLinePos;
494 AutoSTMalloc<64, uint32_t> fLineClusters;
/aosp_15_r20/external/skia/src/utils/win/
H A DSkDWrite.h28 typedef skia_private::AutoSTMalloc<16, WCHAR> SkSMallocWCHAR;
/aosp_15_r20/external/skia/src/shaders/gradients/
H A DSkGradientBaseShader.h166 skia_private::AutoSTMalloc<kInlineStorageSize, uint8_t> fStorage;
/aosp_15_r20/external/skia/src/gpu/tessellate/
H A DMiddleOutPolygonTriangulator.h193 skia_private::AutoSTMalloc<kStackPreallocCount, StackVertex> fVertexStack;
/aosp_15_r20/external/skia/src/gpu/ganesh/gradients/
H A DGrGradientBitmapCache.cpp183 AutoSTMalloc<64, int32_t> storage(keyCount); in getGradient()
/aosp_15_r20/external/skia/bench/
H A DPolyUtilsBench.cpp93 AutoSTMalloc<64, uint16_t> indexMap(poly.size()); in onDraw()
/aosp_15_r20/external/skia/src/pdf/
H A DSkPDFGradientShader.cpp263 AutoSTMalloc<4, size_t> rangeEnds(info.fColorCount); in gradient_function_code()
357 AutoSTMalloc<4, ColorTuple> colorDataAlloc(colorCount); in gradientStitchCode()
/aosp_15_r20/external/skia/src/gpu/
H A DResourceKey.h173 skia_private::AutoSTMalloc<kMetaDataCnt + 6, uint32_t> fKey;

12