Home
last modified time | relevance | path

Searched refs:push_back_n (Results 1 – 25 of 42) sorted by relevance

12

/external/skia/experimental/sktext/src/
DLogicalRun.cpp18 fGlyphs.push_back_n(info.glyphCount); in LogicalRun()
19 fBounds.push_back_n(info.glyphCount); in LogicalRun()
20 fPositions.push_back_n(info.glyphCount + 1); in LogicalRun()
21 fOffsets.push_back_n(info.glyphCount); in LogicalRun()
22 fClusters.push_back_n(info.glyphCount + 1); in LogicalRun()
DText.cpp217 UTF16FromUTF8.push_back_n(text8.size() + 1, utf16Index); in shape()
218 UTF8FromUTF16.push_back_n(text16.size() + 1, utf16Index); in shape()
418 results.push_back_n(numRuns); in getVisualOrder()
423 runLevels.push_back_n(numRuns); in getVisualOrder()
618 …selectableText->fGlyphUnitProperties.push_back_n(unicodeText->getText16().size() + 1, GlyphUnitFla… in prepareToEdit()
662 line.fBoxGlyphs.push_back_n(glyphCount); in onGlyphRun()
663 line.fTextByGlyph.push_back_n(glyphCount); in onGlyphRun()
/external/skia/src/gpu/tessellate/
DTessellation.cpp60 fPointStack.push_back_n(3, quad); in quadTo()
72 fPointStack.push_back_n(3, chops+2); in quadTo()
73 fPointStack.push_back_n(3, chops); in quadTo()
87 fPointStack.push_back_n(3, conic); in conicTo()
106 fPointStack.push_back_n(3, chops[1].fPts); in conicTo()
108 fPointStack.push_back_n(3, chops[0].fPts); in conicTo()
124 fPointStack.push_back_n(4, cubic); in cubicTo()
136 fPointStack.push_back_n(4, chops+3); in cubicTo()
137 fPointStack.push_back_n(4, chops); in cubicTo()
/external/skia/src/core/
DSkPathRef.cpp313 memcpy(fVerbs.push_back_n(numVerbs), path.fVerbs.begin(), numVerbs * sizeof(fVerbs[0])); in growForVerbsInPath()
318 pts = fPoints.push_back_n(numPts); in growForVerbsInPath()
323 weights = fConicWeights.push_back_n(numConics); in growForVerbsInPath()
373 memset(fVerbs.push_back_n(numVbs), verb, numVbs); in growForRepeatedVerb()
376 *weights = fConicWeights.push_back_n(numVbs); in growForRepeatedVerb()
378 SkPoint* pts = fPoints.push_back_n(pCnt); in growForRepeatedVerb()
430 SkPoint* pts = fPoints.push_back_n(pCnt); in growForVerb()
DSkPathBuilder.cpp119 SkPoint* p = fPts.push_back_n(2); in quadTo()
131 SkPoint* p = fPts.push_back_n(2); in conicTo()
144 SkPoint* p = fPts.push_back_n(3); in cubicTo()
783 memcpy(fPts.push_back_n(count), pts, count * sizeof(SkPoint)); in polylineTo()
784 memset(fVerbs.push_back_n(count), (uint8_t)SkPathVerb::kLine, count); in polylineTo()
DSkLatticeIter.cpp169 fRectTypes.push_back_n(fNumRectsInLattice); in SkLatticeIter()
170 fColors.push_back_n(fNumRectsInLattice); in SkLatticeIter()
/external/skia/src/gpu/ganesh/geometry/
DGrPathUtils.cpp305 SkPoint* degQuad = quads->push_back_n(3); in convert_noninflect_cubic_to_quads()
343 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads()
370 SkPoint* degQuad = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint()
416 SkPoint* qpts = quads->push_back_n(6); in convert_noninflect_cubic_to_quads_with_constraint()
424 SkPoint* qpts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint()
471 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint()
/external/skia/modules/skparagraph/src/
DRun.cpp45 fGlyphs.push_back_n(info.glyphCount); in Run()
46 fPositions.push_back_n(info.glyphCount + 1); in Run()
47 fOffsets.push_back_n(info.glyphCount + 1); in Run()
48 fClusterIndexes.push_back_n(info.glyphCount + 1); in Run()
/external/skia/src/gpu/ganesh/ops/
DAAHairLinePathRenderer.cpp297 SkPoint* pts = lines->push_back_n(4); in gather_lines_and_quads()
309 SkPoint* pts = quads->push_back_n(3); in gather_lines_and_quads()
353 SkPoint* pts = lines->push_back_n(4); in gather_lines_and_quads()
366 SkPoint* pts = conics->push_back_n(3); in gather_lines_and_quads()
381 SkPoint* pts = lines->push_back_n(2); in gather_lines_and_quads()
395 SkPoint* pts = lines->push_back_n(2); in gather_lines_and_quads()
453 SkPoint* pts = lines->push_back_n(2); in gather_lines_and_quads()
465 SkPoint* pts = lines->push_back_n(2); in gather_lines_and_quads()
476 SkPoint* pts = lines->push_back_n(2); in gather_lines_and_quads()
928 fPaths.push_back_n(that->fPaths.size(), that->fPaths.begin()); in onCombineIfPossible()
DRegionOp.cpp166 fRegions.push_back_n(that->fRegions.size(), that->fRegions.begin()); in onCombineIfPossible()
DDrawAtlasOp.cpp281 fGeoData.push_back_n(that->fGeoData.size(), that->fGeoData.begin()); in onCombineIfPossible()
DGrOvalOpFactory.cpp1442 fCircles.push_back_n(that->fCircles.size(), that->fCircles.begin()); in onCombineIfPossible()
1765 fCircles.push_back_n(that->fCircles.size(), that->fCircles.begin()); in onCombineIfPossible()
2064 fEllipses.push_back_n(that->fEllipses.size(), that->fEllipses.begin()); in onCombineIfPossible()
2336 fEllipses.push_back_n(that->fEllipses.size(), that->fEllipses.begin()); in onCombineIfPossible()
2803 fRRects.push_back_n(that->fRRects.size(), that->fRRects.begin()); in onCombineIfPossible()
3125 fRRects.push_back_n(that->fRRects.size(), that->fRRects.begin()); in onCombineIfPossible()
DAALinearizingConvexPathRenderer.cpp299 fPaths.push_back_n(that->fPaths.size(), that->fPaths.begin()); in onCombineIfPossible()
/external/skia/include/private/base/
DSkTArray.h227 T* push_back_n(int n) { in push_back_n() function
240 T* push_back_n(int n, const T& t) { in push_back_n() function
253 T* push_back_n(int n, const T t[]) { in push_back_n() function
308 this->push_back_n(newCount - fSize); in resize_back()
/external/skia/modules/skunicode/src/
DSkUnicode_client.cpp204 results->push_back_n(utf8Units + 1, CodeUnitFlags::kNoCodeUnitFlag); in computeCodeUnitFlags()
246 results->push_back_n(utf16Units + 1, CodeUnitFlags::kNoCodeUnitFlag); in computeCodeUnitFlags()
DSkUnicode_icu.cpp383 results->push_back_n(utf8Units + 1, CodeUnitFlags::kNoCodeUnitFlag); in computeCodeUnitFlags()
430 results->push_back_n(utf16Units + 1, CodeUnitFlags::kNoCodeUnitFlag); in computeCodeUnitFlags()
/external/skia/src/gpu/ganesh/gl/
DGrGLExtensions.cpp101 fStrings.push_back_n(extensionCnt); in init()
DGrGLProgramDataManager.cpp19 fUniforms.push_back_n(uniforms.count()); in GrGLProgramDataManager()
/external/skia/gm/
Dcompositor_quads.cpp457 drawCounts.push_back_n(fRenderers.size(), 0); in onDraw()
508 fMatrices.push_back_n(kMatrixCount); in configureMatrices()
711 fDstClips.push_back_n(4, clip); in drawTile()
920 fDstClips.push_back_n(4, clip); in drawTile()
/external/skia/modules/svg/src/
DSkSVGText.cpp216 fUtf8 .push_back_n(utf8_len, utf8_buf); in append()
217 fUtf8PosAdjust.push_back_n(utf8_len, pos); in append()
DSkSVGRenderContext.cpp129 intervals.push_back_n(count); in dash_effect()
/external/skia/tools/trace/
DChromeTracingTracer.cpp105 uint8_t* storagePtr = storage.push_back_n(size); in addTraceEvent()
/external/skia/bench/
DShapesBench.cpp151 fShapes.push_back_n(fNumShapes); in onDelayedSetup()
/external/skia/src/gpu/ganesh/
DGrUniformDataManager.cpp23 fUniforms.push_back_n(uniformCount); in GrUniformDataManager()
/external/skia/tests/
DTArrayTest.cpp364 array4.push_back_n(reserveCount); in test_reserve()

12