Searched refs:neededSize (Results 1 – 5 of 5) sorted by relevance
83 UBool DecimalNumberString::ensureCapacity(int32_t neededSize, UErrorCode &status) { in ensureCapacity() argument87 if (fText.getCapacity() < neededSize) { in ensureCapacity()88 char *newBuf = fText.resize(neededSize, fText.getCapacity()); in ensureCapacity()93 U_ASSERT(fText.getCapacity() >= neededSize); in ensureCapacity()
48 UBool ensureCapacity(int32_t neededSize, UErrorCode &status);
303 int neededSize = length + 1; in getCString() local304 buffer.resize(neededSize); in getCString()328 int neededSize = length + 1; in ascii() local330 asciiBuffer = new char[neededSize]; in ascii()
890 picoos_int16 neededSize) in check_phones_size() argument892 if ((pam->nCurrPhoneme + neededSize) > PICOPAM_MAX_PH_PER_SENT - 1) { in check_phones_size()908 picoos_int16 neededSize) in check_syllables_size() argument910 if ((pam->nCurrSyllable + neededSize) > PICOPAM_MAX_SYLL_PER_SENT - 1) { in check_syllables_size()
1615 int neededSize = len + (int)(bufferEnd - bufferPtr); in XML_GetBuffer() local1621 neededSize += keep; in XML_GetBuffer()1623 if (neededSize <= bufferLim - buffer) { in XML_GetBuffer()1644 } while (bufferSize < neededSize); in XML_GetBuffer()