Lines Matching defs:head
78 RunHead* head = (RunHead*)sk_malloc_throw(size);
79 head->fRefCnt = 1;
80 head->fRowCount = rowCount;
81 head->fDataSize = dataSize;
82 return head;
100 RunHead* head = RunHead::Alloc(1, rowSize);
101 YOffset* yoff = head->yoffsets();
104 uint8_t* row = head->data();
112 return head;
145 const RunHead* head = clip.fRunHead;
146 fCurrYOff = head->yoffsets();
147 fStopYOff = fCurrYOff + head->fRowCount;
148 fData = head->data() + fCurrYOff->fOffset;
196 const RunHead* head = fRunHead;
197 SkASSERT(head->fRefCnt > 0);
198 SkASSERT(head->fRowCount > 0);
200 const YOffset* yoff = head->yoffsets();
201 const YOffset* ystop = yoff + head->fRowCount;
213 const uint8_t* row = head->data() + yoff->fOffset;
215 SkASSERT(yoff->fOffset + rowLength <= head->fDataSize);
406 RunHead* head = fRunHead;
407 YOffset* yoff = head->yoffsets();
408 YOffset* stop = yoff + head->fRowCount;
409 uint8_t* base = head->data();
448 yoff = head->yoffsets();
482 RunHead* head = fRunHead;
483 YOffset* yoff = head->yoffsets();
484 YOffset* stop = yoff + head->fRowCount;
485 const uint8_t* base = head->data();
498 SkASSERT(skip <= head->fRowCount);
499 if (skip == head->fRowCount) {
505 yoff = head->yoffsets();
507 for (int i = skip; i < head->fRowCount; ++i) {
511 YOffset* dst = head->yoffsets();
512 size_t size = head->fRowCount * sizeof(YOffset) + head->fDataSize;
517 head->fRowCount -= skip;
518 SkASSERT(head->fRowCount > 0);
522 base = head->data();
529 stop = yoff = head->yoffsets() + head->fRowCount;
534 SkASSERT(skip >= 0 && skip < head->fRowCount);
538 memmove(stop - skip, stop, head->fDataSize);
542 head->fRowCount -= skip;
543 SkASSERT(head->fRowCount > 0);
562 const RunHead* head = fRunHead;
563 const YOffset* yoff = head->yoffsets();
565 SkASSERT(head->fRowCount > 0);
566 const YOffset& lastY = yoff[head->fRowCount - 1];
786 RunHead* head = RunHead::Alloc(yArray.count(), xArray.bytes());
787 memcpy(head->yoffsets(), yArray.begin(), yArray.bytes());
788 memcpy(head->data(), xArray.begin(), xArray.bytes());
792 fRunHead = head;
1024 RunHead* head = RunHead::Alloc(fRows.count(), dataSize);
1025 YOffset* yoffset = head->yoffsets();
1026 uint8_t* data = head->data();
1052 target->fRunHead = head;