Lines Matching refs:capacity
81 unsigned int capacity;
97 * @param capacity The initial capacity of the OSData object in bytes.
104 * <code>capacity</code> may be zero.
108 * for which a nonzero initial capacity is a hard limit).
110 static OSData * withCapacity(unsigned int capacity);
131 * for which a nonzero initial capacity is a hard limit).
188 * for which a nonzero initial capacity is a hard limit).
213 * for which a nonzero initial capacity is a hard limit).
227 * @param capacity The initial capacity of the OSData object in bytes.
238 * <code>capacity</code> may be zero.
242 * for which a nonzero initial capacity is a hard limit).
244 virtual bool initWithCapacity(unsigned int capacity);
266 * for which a nonzero initial capacity is a hard limit).
324 * for which a nonzero initial capacity is a hard limit).
352 * for which a nonzero initial capacity is a hard limit).
427 * of the capacity increment.
446 * of the capacity increment.
454 // xx-review: does not check for capacity == EXTERNAL
467 * Returns the new capacity of the OSData object,
474 * If <code>newCapacity</code> is not greater than the current capacity,
475 * or if an allocation error occurs, the original capacity is returned.
477 * There is no way to reduce the capacity of an OSData.