Lines Matching refs:RunRecord

38 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize,  in StorageSize()
47 auto size = sizeof(SkTextBlob::RunRecord); in StorageSize()
60 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::First(const SkTextBlob* blob) { in First()
63 return reinterpret_cast<const RunRecord*>(SkAlignPtr((uintptr_t)(blob + 1))); in First()
66 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::Next(const RunRecord* run) { in Next()
80 void SkTextBlob::RunRecord::validate(const uint8_t* storageTop) const { in validate()
93 static_assert(sizeof(SkTextBlob::RunRecord) == sizeof(RunRecordStorageEquivalent), in validate()
97 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::NextUnchecked(const RunRecord* run) { in NextUnchecked()
99 auto res = reinterpret_cast<const RunRecord*>( in NextUnchecked()
106 size_t SkTextBlob::RunRecord::PosCount(uint32_t glyphCount, in PosCount()
112 uint32_t* SkTextBlob::RunRecord::textSizePtr() const { in textSizePtr()
121 void SkTextBlob::RunRecord::grow(uint32_t count) { in grow()
155 const auto* run = RunRecord::First(this); in ~SkTextBlob()
157 const auto* nextRun = RunRecord::Next(run); in ~SkTextBlob()
159 run->~RunRecord(); in ~SkTextBlob()
211 : fCurrentRun(SkTextBlob::RunRecord::First(blob)) { in SkTextBlobRunIterator()
220 fCurrentRun = SkTextBlob::RunRecord::Next(fCurrentRun); in next()
259 SkRect SkTextBlobBuilder::TightRunBounds(const SkTextBlob::RunRecord& run) { in TightRunBounds()
292 SkASSERT((void*)glyphPosX <= SkTextBlob::RunRecord::Next(&run)); in TightRunBounds()
301 SkRect SkTextBlobBuilder::ConservativeRunBounds(const SkTextBlob::RunRecord& run) { in ConservativeRunBounds()
319 SkASSERT((void*)(glyphPos + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
333 SkASSERT((void*)(glyphPosPts + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
339 SkASSERT((void*)(xform + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
369 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in updateDeferredBounds()
412 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in mergeRun()
438 SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, 0, positioning, &safe) - in mergeRun()
439 SkTextBlob::RunRecord::StorageSize(run->glyphCount() , 0, positioning, &safe); in mergeRun()
447 run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun); in mergeRun()
477 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal()
488 SkTextBlob::RunRecord* run = new (fStorage.get() + fStorageUsed) in allocInternal()
489 SkTextBlob::RunRecord(count, textSize, offset, font, positioning); in allocInternal()
591 auto* lastRun = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun); in make()
592 lastRun->fFlags |= SkTextBlob::RunRecord::kLast_Flag; in make()
600 for (const auto* run = SkTextBlob::RunRecord::First(blob); run; in make()
601 run = SkTextBlob::RunRecord::Next(run)) { in make()
602 validateSize += SkTextBlob::RunRecord::StorageSize( in make()