Lines Matching refs:Head
22 struct SkDeque::Head { struct in SkDeque
23 Head* fNext; argument
24 Head* fPrev; argument
48 if (storageSize >= sizeof(Head) + elemSize) { in SkDeque()
49 fFront = (Head*)storage; in SkDeque()
58 Head* head = fFront; in ~SkDeque()
59 Head* initialHead = (Head*)fInitialStorage; in ~SkDeque()
62 Head* next = head->fNext; in ~SkDeque()
71 Head* front = fFront; in front()
87 Head* back = fBack; in back()
106 fFront = (Head*)sk_malloc_throw(sizeof(Head) + in push_front()
108 fFront->init(sizeof(Head) + INIT_ELEM_COUNT * fElemSize); in push_front()
112 Head* first = fFront; in push_front()
123 size_t size = sizeof(Head) + INIT_ELEM_COUNT * fElemSize; in push_front()
125 first = (Head*)sk_malloc_throw(size); in push_front()
142 fBack = (Head*)sk_malloc_throw(sizeof(Head) + in push_back()
144 fBack->init(sizeof(Head) + INIT_ELEM_COUNT * fElemSize); in push_back()
148 Head* last = fBack; in push_back()
159 size_t size = sizeof(Head) + INIT_ELEM_COUNT * fElemSize; in push_back()
161 last = (Head*)sk_malloc_throw(size); in push_back()
178 Head* first = fFront; in pop_front()
204 Head* last = fBack; in pop_back()