Home
last modified time | relevance | path

Searched refs:fTail (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/gpu/
DGrMemoryPool.cpp25 fTail = fHead; in GrMemoryPool()
34 GrAssert(fHead == fTail); in ~GrMemoryPool()
43 if (fTail->fFreeSize < size) { in allocate()
48 block->fPrev = fTail; in allocate()
50 GrAssert(NULL == fTail->fNext); in allocate()
51 fTail->fNext = block; in allocate()
52 fTail = block; in allocate()
54 GrAssert(fTail->fFreeSize >= size); in allocate()
55 intptr_t ptr = fTail->fCurrPtr; in allocate()
58 *reinterpret_cast<BlockHeader**>(ptr) = fTail; in allocate()
[all …]
DGrTextStrike.cpp27 fHead = fTail = NULL; in SK_DEFINE_INST_COUNT()
49 GrAssert(NULL == fTail); in generateStrike()
50 fTail = strike; in generateStrike()
64 fTail = NULL; in freeAll()
68 GrTextStrike* strike = fTail; in purgeExceptFor()
90 GrAssert(!fTail); in validate()
92 GrAssert(fHead == fTail); in validate()
94 GrAssert(fHead != fTail); in validate()
106 strike = fTail; in validate()
DGrTextStrike_impl.h43 GrAssert(fTail != strike); in detachStrikeFromList()
46 GrAssert(fTail == strike); in detachStrikeFromList()
47 fTail = strike->fPrev; in detachStrikeFromList()
DGrMemoryPool.h44 bool isEmpty() const { return fTail == fHead && !fHead->fLiveCount; } in isEmpty()
74 BlockHeader* fTail; variable
DGrTextStrike.h104 GrTextStrike* fTail; variable
/external/skia/include/core/
DSkTInternalLList.h45 , fTail(NULL) { in SkTInternalLList()
49 SkASSERT(NULL != fHead && NULL != fTail); in remove()
63 fTail = prev; in remove()
84 if (NULL == fTail) { in addToHead()
85 fTail = entry; in addToHead()
97 entry->fPrev = fTail; in addToTail()
99 if (NULL != fTail) { in addToTail()
100 fTail->fNext = entry; in addToTail()
102 fTail = entry; in addToTail()
160 SkASSERT(fTail == existingEntry); in addAfter()
[all …]
DSkWriter32.h39 , fTail(NULL) in SkWriter32()
58 Block* block = fTail; in reserve()
258 Block* fTail; variable
/external/skia/legacy/src/effects/
DSkBitmapCache.cpp38 fHead = fTail = NULL; in SkBitmapCache()
63 SkASSERT(fTail != entry); in detach()
66 SkASSERT(fTail == entry); in detach()
67 fTail = entry->fPrev; in detach()
78 fTail = entry; in attachToHead()
106 SkASSERT(fTail); in add()
107 delete this->detach(fTail); in add()
125 SkASSERT(NULL == fTail->fNext); in validate()
128 SkASSERT(fHead == fTail); in validate()
130 SkASSERT(fHead != fTail); in validate()
[all …]
DSkBitmapCache.h29 mutable Entry* fTail; variable
/external/skia/src/effects/gradients/
DSkBitmapCache.cpp38 fHead = fTail = NULL; in SkBitmapCache()
63 SkASSERT(fTail != entry); in detach()
66 SkASSERT(fTail == entry); in detach()
67 fTail = entry->fPrev; in detach()
78 fTail = entry; in attachToHead()
106 SkASSERT(fTail); in add()
107 delete this->detach(fTail); in add()
125 SkASSERT(NULL == fTail->fNext); in validate()
128 SkASSERT(fHead == fTail); in validate()
130 SkASSERT(fHead != fTail); in validate()
[all …]
DSkBitmapCache.h29 mutable Entry* fTail; variable
/external/skia/src/images/
DSkImageRefPool.cpp16 fHead = fTail = NULL; in SkImageRefPool()
58 SkImageRef* ref = fTail; in setRAMUsed()
96 if (NULL == fTail) { in addToHead()
97 fTail = ref; in addToHead()
107 ref->fPrev = fTail; in addToTail()
109 if (fTail) { in addToTail()
110 SkASSERT(NULL == fTail->fNext); in addToTail()
111 fTail->fNext = ref; in addToTail()
113 fTail = ref; in addToTail()
130 if (fTail == ref) { in detach()
[all …]
DSkImageRefPool.h38 SkImageRef* fHead, *fTail; variable
/external/skia/legacy/src/images/
DSkImageRefPool.cpp16 fHead = fTail = NULL; in SkImageRefPool()
58 SkImageRef* ref = fTail; in setRAMUsed()
96 if (NULL == fTail) { in addToHead()
97 fTail = ref; in addToHead()
107 ref->fPrev = fTail; in addToTail()
109 if (fTail) { in addToTail()
110 SkASSERT(NULL == fTail->fNext); in addToTail()
111 fTail->fNext = ref; in addToTail()
113 fTail = ref; in addToTail()
130 if (fTail == ref) { in detach()
[all …]
DSkImageRefPool.h38 SkImageRef* fHead, *fTail; variable
/external/skia/src/core/
DSkWriter32.cpp14 fHead = fTail = NULL; in SkWriter32()
41 fHead = fTail = NULL; in reset()
49 fHead = fTail = fExternalBlock.initFromStorage(storage, storageSize); in reset()
56 Block* block = fTail; in doReserve()
61 fHead = fTail = block = Block::Create(SkMax32(size, fMinSize)); in doReserve()
67 fTail = Block::Create(SkMax32(size, fMinSize)); in doReserve()
68 block->fNext = fTail; in doReserve()
69 block = fTail; in doReserve()
82 return fTail->peek32(offset - fWrittenBeforeLastBlock); in peek32()
113 fTail->fAllocatedSoFar = offset - fWrittenBeforeLastBlock; in rewindToOffset()
[all …]
DSkStream.cpp627 : fHead(NULL), fTail(NULL), fBytesWritten(0), fCopy(NULL) in SkDynamicMemoryWStream()
647 fHead = fTail = NULL; in reset()
660 if (fTail != NULL && fTail->avail() > 0) { in write()
661 size = SkMin32(fTail->avail(), count); in write()
662 buffer = fTail->append(buffer, size); in write()
674 if (fTail != NULL) in write()
675 fTail->fNext = block; in write()
677 fHead = fTail = block; in write()
678 fTail = block; in write()
/external/skia/legacy/src/core/
DSkWriter32.cpp59 fHead = fTail = NULL; in reset()
80 Block* block = fTail; in reserve()
84 fHead = fTail = block = Block::Create(SkMax32(size, fMinSize)); in reserve()
86 fTail = Block::Create(SkMax32(size, fMinSize)); in reserve()
87 block->fNext = fTail; in reserve()
88 block = fTail; in reserve()
DSkStream.cpp586 : fHead(NULL), fTail(NULL), fBytesWritten(0), fCopy(NULL) in SkDynamicMemoryWStream()
606 fHead = fTail = NULL; in reset()
619 if (fTail != NULL && fTail->avail() > 0) { in write()
620 size = SkMin32(fTail->avail(), count); in write()
621 buffer = fTail->append(buffer, size); in write()
633 if (fTail != NULL) in write()
634 fTail->fNext = block; in write()
636 fHead = fTail = block; in write()
637 fTail = block; in write()
/external/skia/src/utils/
DSkJSON.cpp166 SkJSON::Object::Object() : fHead(NULL), fTail(NULL) { in Object()
170 SkJSON::Object::Object(const Object& other) : fHead(NULL), fTail(NULL) { in Object()
220 SkASSERT(NULL == fTail); in addSlot()
221 fHead = fTail = slot; in addSlot()
223 SkASSERT(fTail); in addSlot()
224 SkASSERT(NULL == fTail->fNext); in addSlot()
225 fTail->fNext = slot; in addSlot()
226 fTail = slot; in addSlot()
351 if (fTail == slot) { in remove()
352 fTail = prev; in remove()
/external/skia/legacy/src/utils/
DSkJSON.cpp166 SkJSON::Object::Object() : fHead(NULL), fTail(NULL) { in Object()
170 SkJSON::Object::Object(const Object& other) : fHead(NULL), fTail(NULL) { in Object()
220 SkASSERT(NULL == fTail); in addSlot()
221 fHead = fTail = slot; in addSlot()
223 SkASSERT(fTail); in addSlot()
224 SkASSERT(NULL == fTail->fNext); in addSlot()
225 fTail->fNext = slot; in addSlot()
226 fTail = slot; in addSlot()
351 if (fTail == slot) { in remove()
352 fTail = prev; in remove()
/external/skia/legacy/include/core/
DSkWriter32.h30 fTail(NULL) { in SkWriter32()
142 Block* fTail; variable
/external/skia/legacy/src/views/
DSkListView.cpp122 SkString fTail, fAltTail;
148 rec->fTail.set(dom.findAttr(child, "tail"));
177 *right = fList[index].fType == kDir_Type ? fDirTail : fList[index].fTail;
191 fList[index].fTail.swap(fList[index].fAltTail);
/external/skia/legacy/include/utils/
DSkJSON.h178 Slot* fTail; variable
/external/skia/include/utils/
DSkJSON.h178 Slot* fTail; variable

12