Home
last modified time | relevance | path

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

12

/external/skia/tests/
DTemplatesTest.cpp13 SkAutoSTMalloc<1, int> array; in test_automalloc_realloc()
104 test_container_apis<SkAutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
127 test_realloc_to_zero<SkAutoSTMalloc<kStackPreallocCount, int> >(reporter); in DEF_TEST()
DGrMeshTest.cpp391 SkAutoSTMalloc<kImageHeight * kImageWidth, uint32_t> resultPx(h * rowBytes); in run_test()
/external/skia/gm/
Dtypeface.cpp21 SkAutoSTMalloc<128, SkScalar> widthStorage(count); in getGlyphPositions()
50 SkAutoSTMalloc<128, uint16_t> glyphStorage(len); in drawKernText()
57 SkAutoSTMalloc<128, int32_t> adjustmentStorage(glyphCount - 1); in drawKernText()
67 SkAutoSTMalloc<128, SkPoint> posStorage(glyphCount); in drawKernText()
/external/skia/include/private/
DSkTemplates.h314 template <size_t kCountRequested, typename T> class SkAutoSTMalloc : SkNoncopyable {
316 SkAutoSTMalloc() : fPtr(fTStorage) {} in SkAutoSTMalloc() function
318 SkAutoSTMalloc(size_t count) { in SkAutoSTMalloc() function
328 ~SkAutoSTMalloc() { in ~SkAutoSTMalloc()
/external/skia/src/gpu/instanced/
DGLInstancedRendering.h62 SkAutoSTMalloc<1024, GLDrawCmdInfo> fGLDrawCmdsInfo;
/external/skia/src/utils/win/
DSkDWrite.h28 typedef SkAutoSTMalloc<16, WCHAR> SkSMallocWCHAR;
/external/skia/src/core/
DSkFontDescriptor.h48 SkAutoSTMalloc<4, SkFixed> fAxis;
DSkFontDescriptor.cpp73 SkAutoSTMalloc<4, SkFixed> axis; in Deserialize()
DSkPictureData.cpp202 SkAutoSTMalloc<16, SkFlattenable::Factory> storage(count); in WriteFactories()
232 SkAutoSTMalloc<16, SkTypeface*> storage(count); in WriteTypefaces()
DSkGeometry.h418 SkAutoSTMalloc<kPointCount, SkPoint> fStorage;
/external/skia/src/gpu/ops/
DGrDrawPathOp.cpp200 SkAutoSTMalloc<4096, float> transformStorage(floatsPerTransform * fTotalPathCount); in onExecute()
201 SkAutoSTMalloc<2048, uint16_t> indexStorage(fTotalPathCount); in onExecute()
DGrAtlasTextOp.h180 SkAutoSTMalloc<kMinGeometryAllocated, Geometry> fGeoData;
/external/skia/src/jumper/
DSkJumper.cpp396 SkAutoSTMalloc<64, void*> program(fSlotsNeeded); in run()
422 SkAutoSTMalloc<64, void*> program(fSlotsNeeded); in run_2d()
/external/skia/src/ports/
DSkFontMgr_android.cpp203 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in SkFontStyleSet_Android()
447 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onCreateFromStream()
DSkFontMgr_custom.cpp219 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onCreateFromStream()
DSkFontHost_win.cpp557 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf);
1596 SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) in getGDIGlyphPath()
1652 SkAutoSTMalloc<BUFFERSIZE, uint8_t> glyphbuf(BUFFERSIZE); in generatePath()
1664 SkAutoSTMalloc<BUFFERSIZE, uint8_t> hintedGlyphbuf(BUFFERSIZE); in generatePath()
2051 SkAutoSTMalloc<256, uint16_t> scratchGlyphs; in onCharsToGlyphs()
2216 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
DSkFontMgr_FontConfigInterface.cpp246 SkAutoSTMalloc<4, SkFixed> axisValues(axisDefinitions.count()); in onCreateFromStream()
DSkFontHost_FreeType.cpp242 SkAutoSTMalloc<4, SkFixed> fAxes;
311 SkAutoSTMalloc<4, FT_Fixed> coords(data.getAxisCount()); in ft_face_setup_axes()
1546 SkAutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in onGetVariationDesignPosition()
DSkFontHost_mac.cpp1730 SkAutoSTMalloc<4, SkFixed>* axisValues) in get_variations()
1793 SkAutoSTMalloc<4, SkFixed> axisValues; in onMakeFontData()
2123 SkAutoSTMalloc<1024, UniChar> charStorage; in onCharsToGlyphs()
2163 SkAutoSTMalloc<1024, uint16_t> glyphStorage; in onCharsToGlyphs()
/external/skia/include/gpu/
DGrResourceKey.h144 SkAutoSTMalloc<kMetaDataCnt + 7, uint32_t> fKey;
/external/skia/src/utils/
DSkInsetConvexPolygon.cpp196 SkAutoSTMalloc<64, EdgeData> edgeData(inputPolygonSize); in SkInsetConvexPolygon()
/external/skia/tools/debugger/
DSkObjectParser.cpp376 SkAutoSTMalloc<0x100, char> utf8(sizeNeeded); in TextToString()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp144 SkAutoSTMalloc<4, ColorTuple> colorDataAlloc(info.fColorCount); in gradient_function_code()
257 SkAutoSTMalloc<4, ColorTuple> colorDataAlloc(colorCount); in gradientStitchCode()
/external/skia/samplecode/
DSamplePatch.cpp117 SkAutoSTMalloc<16, SkPoint> storage(npts + 1); in draw()
/external/skia/src/gpu/ccpr/
DGrCCPRCoverageOpsBuilder.cpp353 SkAutoSTMalloc<300, int32_t> indices(fanSize + SkNextLog2(fanSize)); in closeContour()

12