Home | History | Annotate | Download | only in gpu

Lines Matching refs:Header

109     struct Header {
110 int fTotalLength; // The length of an entry including header, item, and data in TAligns.
174 Header* header = reinterpret_cast<Header*>(
175 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue);
176 fTailBlock->fBack -= header->fTotalLength;
179 int lastItemLength = header->fPrevLength;
181 if (!header->fPrevLength) {
193 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue];
199 // Find the header of the previous entry and get its length. We need to store that in the new
200 // header for backwards iteration (pop_back()).
203 Header* lastHeader = reinterpret_cast<Header*>(
204 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue);
208 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength;
222 Header* header = reinterpret_cast<Header*>(&(*fTailBlock)[fTailBlock->fBack]);
223 void* rawPtr = &(*fTailBlock)[fTailBlock->fBack + length_of<Header>::kValue];
225 header->fTotalLength = totalLength;
226 header->fPrevLength = prevLength;
266 Header* header = reinterpret_cast<Header*>(&(*fBlock)[fPosition]);
267 fItem = reinterpret_cast<TBase*>(&(*fBlock)[fPosition + length_of<Header>::kValue]);
268 fPosition += header->fTotalLength;
301 Header* lastHeader = reinterpret_cast<Header*>(
302 reinterpret_cast<TAlign*>(fItem) - length_of<Header>::kValue);
307 Header* header = reinterpret_cast<Header*>(&(*fBlock)[fPosition]);
318 fPosition -= header->fPrevLength;
321 fItem = reinterpret_cast<TBase*>(&(*fBlock)[fPosition + length_of<Header>::kValue]);