Lines Matching refs:fHead
480 : fHead(other.fHead) in SkDynamicMemoryWStream()
484 other.fHead = nullptr; in SkDynamicMemoryWStream()
502 Block* block = fHead; in reset()
508 fHead = fTail = nullptr; in reset()
550 fHead = fTail = block; in write()
568 dst->fTail->fNext = fHead; in writeToAndReset()
571 fHead = fTail = nullptr; in writeToAndReset()
586 fTail->fNext = dst->fHead; in prependToAndReset()
587 dst->fHead = fHead; in prependToAndReset()
589 fHead = fTail = nullptr; in prependToAndReset()
599 Block* block = fHead; in read()
619 Block* block = fHead; in copyTo()
630 for (Block* block = fHead; block != nullptr; block = block->fNext) { in writeToStream()
662 Block* block = fHead; in copyToAndReset()
671 fHead = fTail = nullptr; in copyToAndReset()
680 for (Block* block = fHead; block != nullptr; ) { in writeToAndReset()
688 fHead = fTail = nullptr; in writeToAndReset()
705 if (!fHead) { in validate()
713 const Block* block = fHead; in validate()
728 explicit SkBlockMemoryRefCnt(SkDynamicMemoryWStream::Block* head) : fHead(head) { } in SkBlockMemoryRefCnt()
731 SkDynamicMemoryWStream::Block* block = fHead; in ~SkBlockMemoryRefCnt()
739 SkDynamicMemoryWStream::Block* const fHead; member in SkBlockMemoryRefCnt
745 : fBlockMemory(std::move(headRef)), fCurrent(fBlockMemory->fHead) in SkBlockMemoryStream()
800 fCurrent = fBlockMemory->fHead; in rewind()
848 if (fBlockMemory->fHead && !fBlockMemory->fHead->fNext) { in getMemoryBase()
849 return fBlockMemory->fHead->start(); in getMemoryBase()
863 if (nullptr == fHead) { in detachAsStream()
867 if (fHead == fTail) { // one block, may be worth shrinking. in detachAsStream()
869 fHead = fTail = (SkDynamicMemoryWStream::Block*)sk_realloc_throw(fTail, SkToSizeT(used)); in detachAsStream()
875 = skstd::make_unique<SkBlockMemoryStream>(sk_make_sp<SkBlockMemoryRefCnt>(fHead), in detachAsStream()
877 fHead = nullptr; // signal reset() to not free anything in detachAsStream()