/external/skia/src/core/ |
D | SkGlyphRun.cpp | 190 size_t runSize = it.glyphCount(); in drawTextBlob() local 193 auto clusters = SkSpan<const uint32_t>(it.clusters(), runSize); in drawTextBlob() 195 auto glyphIDs = SkSpan<const SkGlyphID>{it.glyphs(), runSize}; in drawTextBlob() 220 runSize, origin, paint); in drawTextBlob() 227 positions += runSize; in drawTextBlob() 307 auto runSize = glyphIDs.size(); in simplifyDrawText() local 310 fScratchAdvances.resize(runSize); in simplifyDrawText() 318 for (size_t i = 0; i < runSize; i++) { in simplifyDrawText() 326 SkSpan<const SkPoint>{positions, runSize}, in simplifyDrawText() 349 auto runSize = glyphIDs.size(); in simplifyDrawPosText() local [all …]
|
D | SkGlyphRunPainter.cpp | 181 auto runSize = glyphRun.runSize(); in drawForBitmapDevice() local 185 fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice() 196 pathsAndPositions.setReserve(runSize); in drawForBitmapDevice() 229 matrix.mapPoints(fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice() 232 masks.setReserve(runSize); in drawForBitmapDevice() 548 mapping.mapPoints(fPositions, glyphRun.positions().data(), glyphRun.runSize()); in processGlyphRunList() 605 size = std::max(run.runSize(), size); in ensureBuffers() 612 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
|
D | SkGlyphRun.h | 37 size_t runSize() const { return fGlyphIDs.size(); } in runSize() function 86 glyphCount += run.runSize(); in totalGlyphCount()
|
D | SkBlitter.cpp | 68 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect() local 69 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect() 71 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect() 107 int runSize = clip.width() + 1; // +1 so we can set runs[clip.width()] = 0 in blitCoverageDeltas() local 108 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitCoverageDeltas() 110 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas()
|
D | SkTextBlob.cpp | 477 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local 483 this->reserve(runSize); in allocInternal() 486 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal() 496 fStorageUsed += runSize; in allocInternal()
|
/external/skqp/src/core/ |
D | SkGlyphRun.cpp | 190 size_t runSize = it.glyphCount(); in drawTextBlob() local 193 auto clusters = SkSpan<const uint32_t>(it.clusters(), runSize); in drawTextBlob() 195 auto glyphIDs = SkSpan<const SkGlyphID>{it.glyphs(), runSize}; in drawTextBlob() 220 runSize, origin, paint); in drawTextBlob() 227 positions += runSize; in drawTextBlob() 307 auto runSize = glyphIDs.size(); in simplifyDrawText() local 310 fScratchAdvances.resize(runSize); in simplifyDrawText() 318 for (size_t i = 0; i < runSize; i++) { in simplifyDrawText() 326 SkSpan<const SkPoint>{positions, runSize}, in simplifyDrawText() 349 auto runSize = glyphIDs.size(); in simplifyDrawPosText() local [all …]
|
D | SkGlyphRunPainter.cpp | 167 auto runSize = glyphRun.runSize(); in drawForBitmapDevice() local 171 fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice() 182 pathsAndPositions.setReserve(runSize); in drawForBitmapDevice() 215 matrix.mapPoints(fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice() 218 masks.setReserve(runSize); in drawForBitmapDevice() 386 mapping.mapPoints(fPositions, glyphRun.positions().data(), glyphRun.runSize()); in drawGlyphRunAsBMPWithPathFallback() 482 size = std::max(run.runSize(), size); in ensureBuffers() 489 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
|
D | SkGlyphRun.h | 37 size_t runSize() const { return fGlyphIDs.size(); } in runSize() function 86 glyphCount += run.runSize(); in totalGlyphCount()
|
D | SkBlitter.cpp | 67 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect() local 68 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect() 70 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect() 106 int runSize = clip.width() + 1; // +1 so we can set runs[clip.width()] = 0 in blitCoverageDeltas() local 107 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitCoverageDeltas() 109 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas()
|
D | SkTextBlob.cpp | 477 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local 483 this->reserve(runSize); in allocInternal() 486 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal() 496 fStorageUsed += runSize; in allocInternal()
|
/external/skia/modules/skottie/src/ |
D | SkottieAdapter.cpp | 386 const auto runSize = run.size(); in makeBlob() local 387 const auto& blobBuffer = fBuilder.allocRunPos(run.fFont, SkToInt(runSize)); in makeBlob() 391 runSize * sizeof(SkGlyphID)); in makeBlob() 399 for (size_t i = 0; i < runSize; ++i) { in makeBlob()
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 854 auto runSize = glyphRun.runSize(); in SVGTextBuilder() local 855 SkAutoSTArray<64, SkUnichar> unichars(runSize); in SVGTextBuilder() 856 glyphRun.font().glyphsToUnichars(glyphRun.glyphsIDs().data(), runSize, unichars.get()); in SVGTextBuilder() 858 for (size_t i = 0; i < runSize; ++i) { in SVGTextBuilder()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 843 auto runSize = glyphRun.runSize(); in SVGTextBuilder() local 844 SkAutoSTArray<64, SkUnichar> unichars(runSize); in SVGTextBuilder() 845 glyphRun.font().glyphsToUnichars(glyphRun.glyphsIDs().data(), runSize, unichars.get()); in SVGTextBuilder() 847 for (size_t i = 0; i < runSize; ++i) { in SVGTextBuilder()
|
/external/skqp/tests/ |
D | GlyphRunTest.cpp | 80 REPORTER_ASSERT(reporter, run.runSize() == count);
|
D | SkRemoteGlyphCacheTest.cpp | 448 int runSize = strlen(s); in make_blob_causing_fallback() local 452 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() 456 glyphTf->charsToGlyphs(s, SkTypeface::kUTF8_Encoding, runBuffer.glyphs, runSize); in make_blob_causing_fallback() 463 for (int i = 0; i < runSize; i++) { in make_blob_causing_fallback()
|
/external/skia/tests/ |
D | GlyphRunTest.cpp | 80 REPORTER_ASSERT(reporter, run.runSize() == count);
|
D | SkRemoteGlyphCacheTest.cpp | 448 int runSize = strlen(s); in make_blob_causing_fallback() local 452 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() 456 glyphTf->charsToGlyphs(s, SkTypeface::kUTF8_Encoding, runBuffer.glyphs, runSize); in make_blob_causing_fallback() 463 for (int i = 0; i < runSize; i++) { in make_blob_causing_fallback()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Buffer.java | 828 int runSize = i + segmentOffset - tail.limit; // Equivalent to i - (previous i). 829 tail.limit += runSize; 830 size += runSize;
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | Buffer.java | 830 int runSize = i + segmentOffset - tail.limit; // Equivalent to i - (previous i). 831 tail.limit += runSize; 832 size += runSize;
|