• Home
  • Raw
  • Download

Lines Matching refs:fTail

481     , fTail(other.fTail)  in SkDynamicMemoryWStream()
485 other.fTail = nullptr; in SkDynamicMemoryWStream()
508 fHead = fTail = nullptr; in reset()
515 if (fTail) { in bytesWritten()
516 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten()
526 if (fTail) { in write()
527 if (fTail->avail() > 0) { in write()
528 size = SkTMin(fTail->avail(), count); in write()
529 buffer = fTail->append(buffer, size); in write()
537 fBytesWrittenBeforeTail += fTail->written(); in write()
547 if (fTail != nullptr) { in write()
548 fTail->fNext = block; in write()
550 fHead = fTail = block; in write()
552 fTail = block; in write()
568 dst->fTail->fNext = fHead; in writeToAndReset()
569 dst->fBytesWrittenBeforeTail += fBytesWrittenBeforeTail + dst->fTail->written(); in writeToAndReset()
570 dst->fTail = fTail; in writeToAndReset()
571 fHead = fTail = nullptr; in writeToAndReset()
586 fTail->fNext = dst->fHead; in prependToAndReset()
588 dst->fBytesWrittenBeforeTail += fBytesWrittenBeforeTail + fTail->written(); in prependToAndReset()
589 fHead = fTail = nullptr; in prependToAndReset()
643 if (fTail) { in padToAlign4()
645 int padBytes = -(int)fTail->written() & 0x03; in padToAlign4()
648 fTail->append(&zero, padBytes); in padToAlign4()
671 fHead = fTail = nullptr; in copyToAndReset()
688 fHead = fTail = nullptr; in writeToAndReset()
706 SkASSERT(!fTail); in validate()
710 SkASSERT(fTail); in validate()
867 if (fHead == fTail) { // one block, may be worth shrinking. in detachAsStream()
868 ptrdiff_t used = fTail->fCurr - (char*)fTail; in detachAsStream()
869 fHead = fTail = (SkDynamicMemoryWStream::Block*)sk_realloc_throw(fTail, SkToSizeT(used)); in detachAsStream()
870 fTail->fStop = fTail->fCurr = (char*)fTail + used; // Update pointers. in detachAsStream()
871 SkASSERT(nullptr == fTail->fNext); in detachAsStream()