Home | History | Annotate | Download | only in animator

Lines Matching refs:fCount

53     bool isEmpty() const { return fCount == 0; }
54 int count() const { return fCount; }
58 SkASSERT(index + count <= fCount);
59 fCount = SkToU16(fCount - count);
60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
72 fReserve = fCount = 0;
76 SkASSERT(fReserve == 0 && fCount == 0);
83 this->growBy(count - fCount);
85 fCount = SkToU16(count);
95 uint16_t fReserve, fCount;
110 T& operator[](int index) const { SYNC(); SkASSERT((unsigned)index < fCount); return ((T*) fArray)[index]; }
119 T* end() const { return (T*) (fArray ? fArray + fCount : NULL); }
127 const T& top() const { return (*this)[fCount - 1]; }
128 T& top() { return (*this)[fCount - 1]; }
129 void pop(T* elem) { if (elem) *elem = (*this)[fCount - 1]; --fCount; }
130 void pop() { --fCount; }