/aosp_15_r20/external/skia/include/private/base/ |
H A D | SkTemplates.h | 343 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 D | TemplatesTest.cpp | 18 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 D | SkFontDescriptor.h | 81 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 D | SkPictureData.cpp | 107 AutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories() 138 AutoSTMalloc<16, SkTypeface*> storage(count); in WriteTypefaces()
|
H A D | SkRasterPipeline.cpp | 627 AutoSTMalloc<32, SkRasterPipelineStage> program(stagesNeeded); in run() 630 AutoSTMalloc<2, SkRasterPipeline_MemoryCtxPatch> patches(numMemoryCtxs); in run()
|
H A D | SkGeometry.h | 546 skia_private::AutoSTMalloc<kPointCount, SkPoint> fStorage;
|
H A D | SkTypeface.cpp | 410 AutoSTMalloc<256, SkUnichar> fStorage;
|
/aosp_15_r20/external/skia/modules/skshaper/src/ |
H A D | SkShaper_harfbuzz.cpp | 108 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 D | FuzzPolyUtils.cpp | 31 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 D | SkTypeface_win_dw.cpp | 64 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 D | SkFontHost_FreeType.cpp | 338 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 D | SkFontHost_win.cpp | 582 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 D | SkFontMgr_android_ndk.cpp | 569 AutoSTMalloc<4, Coordinate> requestAxisValues(requestAxisCount); in make() 580 AutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.size()); in make()
|
H A D | SkTypeface_mac_ct.cpp | 1041 AutoSTMalloc<1024, UniChar> charStorage; in onCharsToGlyphs() 1053 AutoSTMalloc<1024, uint16_t> glyphStorage; in onCharsToGlyphs()
|
H A D | SkFontMgr_fuchsia.cpp | 268 AutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.size()); in CreateTypefaceFromSkStream()
|
/aosp_15_r20/external/skia/gm/ |
H A D | analytic_gradients.cpp | 161 AutoSTMalloc<4, SkColor> colors(colorCount); in onDraw() 162 AutoSTMalloc<4, SkScalar> positions(colorCount); in onDraw()
|
H A D | typeface.cpp | 36 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 D | TextShaper.cpp | 492 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 D | SkDWrite.h | 28 typedef skia_private::AutoSTMalloc<16, WCHAR> SkSMallocWCHAR;
|
/aosp_15_r20/external/skia/src/shaders/gradients/ |
H A D | SkGradientBaseShader.h | 166 skia_private::AutoSTMalloc<kInlineStorageSize, uint8_t> fStorage;
|
/aosp_15_r20/external/skia/src/gpu/tessellate/ |
H A D | MiddleOutPolygonTriangulator.h | 193 skia_private::AutoSTMalloc<kStackPreallocCount, StackVertex> fVertexStack;
|
/aosp_15_r20/external/skia/src/gpu/ganesh/gradients/ |
H A D | GrGradientBitmapCache.cpp | 183 AutoSTMalloc<64, int32_t> storage(keyCount); in getGradient()
|
/aosp_15_r20/external/skia/bench/ |
H A D | PolyUtilsBench.cpp | 93 AutoSTMalloc<64, uint16_t> indexMap(poly.size()); in onDraw()
|
/aosp_15_r20/external/skia/src/pdf/ |
H A D | SkPDFGradientShader.cpp | 263 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 D | ResourceKey.h | 173 skia_private::AutoSTMalloc<kMetaDataCnt + 6, uint32_t> fKey;
|