Lines Matching refs:capacity
259 MaybeStackArray() : ptr(stackArray), capacity(stackCapacity), needToRelease(FALSE) {} in MaybeStackArray()
268 int32_t getCapacity() const { return capacity; } in getCapacity()
278 T *getArrayLimit() const { return getAlias()+capacity; } in getArrayLimit()
305 capacity=otherCapacity; in aliasInstead()
333 int32_t capacity; variable
372 if(length>capacity) { in resize()
373 length=capacity; in resize()
382 capacity=newCapacity; in resize()
399 if(length>capacity) { in orphanOrClone()
400 length=capacity; in orphanOrClone()
413 capacity=stackCapacity; in orphanOrClone()
434 MaybeStackHeaderAndArray() : ptr(&stackHeader), capacity(stackCapacity), needToRelease(FALSE) {} in MaybeStackHeaderAndArray()
443 int32_t getCapacity() const { return capacity; } in getCapacity()
458 T *getArrayLimit() const { return getArrayStart()+capacity; } in getArrayLimit()
482 capacity=otherCapacity; in aliasInstead()
511 int32_t capacity; variable
550 if(length>capacity) { in resize()
551 length=capacity; in resize()
560 capacity=newCapacity; in resize()
578 } else if(length>capacity) { in orphanOrClone()
579 length=capacity; in orphanOrClone()
592 capacity=stackCapacity; in orphanOrClone()