Home | History | Annotate | Download | only in unicode

Lines Matching full:capacity

1637    * @param utf32 destination string buffer, can be NULL if capacity==0
1638 * @param capacity the number of UChar32s available at utf32
1647 int32_t toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const;
1711 * Return the capacity of the internal buffer of the UnicodeString object.
1901 * For as long as the capacity of the buffer is sufficient, write operations
1902 * will directly affect the buffer. When more capacity is necessary, then
2663 * The actual capacity of the string buffer may be larger than minCapacity.
2664 * getCapacity() returns the actual capacity.
2665 * For many operations, the full capacity should be used to avoid reallocations.
2685 * default to the current string capacity if minCapacity==-1
2701 * It will set the string length to newLength, at most to the current capacity.
2703 * first NUL in the buffer, or to the capacity if there is no NUL.
2708 * defaults to the current capacity if newLength is greater than that;
2710 * the current capacity of the string
2728 * The capacity of the buffer can be determined with getCapacity().
2762 * The capacity of the buffer can be determined with getCapacity().
2794 * Construct a UnicodeString with capacity to hold <TT>capacity</TT> UChars
2795 * @param capacity the number of UChars this UnicodeString should hold
2797 * code points c take up more space than capacity, then capacity is adjusted
2804 UnicodeString(int32_t capacity, UChar32 c, int32_t count);
2866 * For as long as the capacity of the buffer is sufficient, write operations
2867 * will directly affect the buffer. When more capacity is necessary, then
3173 // We could make a toUTF8(target, capacity, errorCode) public but not
3179 char *target, int32_t capacity) const;
3284 inline void setArray(UChar *array, int32_t len, int32_t capacity); // does not set fFlags
3290 UBool allocate(int32_t capacity);
4195 UnicodeString::setArray(UChar *array, int32_t len, int32_t capacity) {
4198 fUnion.fFields.fCapacity = capacity;
4218 * NUL-terminated if len<capacity.