Lines Matching refs:fReserve
18 fReserve = fCount = 0; in SkTDArray()
24 fReserve = fCount = 0; in SkTDArray()
29 fReserve = fCount = count; in SkTDArray()
33 fReserve = fCount = 0; in SkTDArray()
44 if (src.fCount > fReserve) {
66 SkTSwap(fReserve, other.fReserve); in swap()
76 fReserve = fCount = 0; in detach()
92 int reserved() const { return fReserve; } in reserved()
124 fReserve = fCount = 0; in reset()
126 SkASSERT(fReserve == 0 && fCount == 0); in reset()
143 if (count > fReserve) { in setCount()
150 if (reserve > fReserve) { in setReserve()
324 SkASSERT((fReserve == 0 && fArray == NULL) || in validate()
325 (fReserve > 0 && fArray != NULL)); in validate()
326 SkASSERT(fCount <= fReserve); in validate()
331 fReserve = fCount; in shrinkToFit()
332 fArray = (T*)sk_realloc_throw(fArray, fReserve * sizeof(T)); in shrinkToFit()
337 int fReserve; variable
357 SkASSERT(count > fReserve); in resizeStorageToAtLeast()
358 fReserve = count + 4; in resizeStorageToAtLeast()
359 fReserve += fReserve / 4; in resizeStorageToAtLeast()
360 fArray = (T*)sk_realloc_throw(fArray, fReserve * sizeof(T)); in resizeStorageToAtLeast()