Lines Matching refs:capacity
82 unsigned int capacity;
113 * @param capacity The initial capacity of the OSData object in bytes.
120 * <code>capacity</code> may be zero.
124 * for which a nonzero initial capacity is a hard limit).
126 static OSData * withCapacity(unsigned int capacity);
147 * for which a nonzero initial capacity is a hard limit).
204 * for which a nonzero initial capacity is a hard limit).
229 * for which a nonzero initial capacity is a hard limit).
243 * @param capacity The initial capacity of the OSData object in bytes.
254 * <code>capacity</code> may be zero.
258 * for which a nonzero initial capacity is a hard limit).
260 virtual bool initWithCapacity(unsigned int capacity);
282 * for which a nonzero initial capacity is a hard limit).
340 * for which a nonzero initial capacity is a hard limit).
368 * for which a nonzero initial capacity is a hard limit).
443 * of the capacity increment.
462 * of the capacity increment.
470 // xx-review: does not check for capacity == EXTERNAL
483 * Returns the new capacity of the OSData object,
490 * If <code>newCapacity</code> is not greater than the current capacity,
491 * or if an allocation error occurs, the original capacity is returned.
493 * There is no way to reduce the capacity of an OSData.