• Home
  • Raw
  • Download

Lines Matching refs:fTail

492     , fTail(other.fTail)  in SkDynamicMemoryWStream()
496 other.fTail = nullptr; in SkDynamicMemoryWStream()
519 fHead = fTail = nullptr; in reset()
526 if (fTail) { in bytesWritten()
527 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten()
537 if (fTail) { in write()
538 if (fTail->avail() > 0) { in write()
539 size = std::min(fTail->avail(), count); in write()
540 buffer = fTail->append(buffer, size); in write()
548 fBytesWrittenBeforeTail += fTail->written(); in write()
558 if (fTail != nullptr) { in write()
559 fTail->fNext = block; in write()
561 fHead = fTail = block; in write()
563 fTail = block; in write()
579 dst->fTail->fNext = fHead; in writeToAndReset()
580 dst->fBytesWrittenBeforeTail += fBytesWrittenBeforeTail + dst->fTail->written(); in writeToAndReset()
581 dst->fTail = fTail; in writeToAndReset()
582 fHead = fTail = nullptr; in writeToAndReset()
597 fTail->fNext = dst->fHead; in prependToAndReset()
599 dst->fBytesWrittenBeforeTail += fBytesWrittenBeforeTail + fTail->written(); in prependToAndReset()
600 fHead = fTail = nullptr; in prependToAndReset()
654 if (fTail) { in padToAlign4()
656 int padBytes = -(int)fTail->written() & 0x03; in padToAlign4()
659 fTail->append(&zero, padBytes); in padToAlign4()
682 fHead = fTail = nullptr; in copyToAndReset()
699 fHead = fTail = nullptr; in writeToAndReset()
717 SkASSERT(!fTail); in validate()
721 SkASSERT(fTail); in validate()
878 if (fHead == fTail) { // one block, may be worth shrinking. in detachAsStream()
879 ptrdiff_t used = fTail->fCurr - (char*)fTail; in detachAsStream()
880 fHead = fTail = (SkDynamicMemoryWStream::Block*)sk_realloc_throw(fTail, SkToSizeT(used)); in detachAsStream()
881 fTail->fStop = fTail->fCurr = (char*)fTail + used; // Update pointers. in detachAsStream()
882 SkASSERT(nullptr == fTail->fNext); in detachAsStream()