Lines Matching refs:strikePtr
137 Strike* strikePtr = strikeHandle->get(); in internalFindStrikeOrNull() local
138 SkASSERT(strikePtr != nullptr); in internalFindStrikeOrNull()
139 if (fHead != strikePtr) { in internalFindStrikeOrNull()
141 strikePtr->fPrev->fNext = strikePtr->fNext; in internalFindStrikeOrNull()
142 if (strikePtr->fNext != nullptr) { in internalFindStrikeOrNull()
143 strikePtr->fNext->fPrev = strikePtr->fPrev; in internalFindStrikeOrNull()
145 fTail = strikePtr->fPrev; in internalFindStrikeOrNull()
147 fHead->fPrev = strikePtr; in internalFindStrikeOrNull()
148 strikePtr->fNext = fHead; in internalFindStrikeOrNull()
149 strikePtr->fPrev = nullptr; in internalFindStrikeOrNull()
150 fHead = strikePtr; in internalFindStrikeOrNull()
152 return sk_ref_sp(strikePtr); in internalFindStrikeOrNull()
287 Strike* strikePtr = strike.get(); in internalAttachToHead() local
289 SkASSERT(nullptr == strikePtr->fPrev && nullptr == strikePtr->fNext); in internalAttachToHead()
292 fTotalMemoryUsed += strikePtr->fMemoryUsed; in internalAttachToHead()
295 fHead->fPrev = strikePtr; in internalAttachToHead()
296 strikePtr->fNext = fHead; in internalAttachToHead()
300 fTail = strikePtr; in internalAttachToHead()
303 fHead = strikePtr; // Transfer ownership of strike to the cache list. in internalAttachToHead()