Home
last modified time | relevance | path

Searched refs:requiredLength (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/text/
DStringBuilder.cpp94 void StringBuilder::allocateBuffer(const UChar* currentCharacters, unsigned requiredLength) in allocateBuffer() argument
97 RefPtr<StringImpl> buffer = StringImpl::createUninitialized(requiredLength, m_bufferCharacters); in allocateBuffer()
112 unsigned requiredLength = length + m_length; in appendUninitialized() local
113 if (requiredLength < length) in appendUninitialized()
121 if (requiredLength <= m_buffer->length()) { in appendUninitialized()
124 m_length = requiredLength; in appendUninitialized()
129 allocateBuffer(m_buffer->characters(), std::max(requiredLength, m_buffer->length() * 2)); in appendUninitialized()
132 allocateBuffer(m_string.characters(), std::max(requiredLength, requiredLength * 2)); in appendUninitialized()
136 m_length = requiredLength; in appendUninitialized()
DStringBuilder.h125 void allocateBuffer(const UChar* currentCharacters, unsigned requiredLength);
/external/icu4c/i18n/
Drbnf.cpp325 UChar** nextArray(int32_t& requiredLength);
393 int32_t requiredLength = -1; in doParse() local
396 UChar** elem = nextArray(requiredLength); in doParse()
429 …return new StringLocalizationInfo(data, result, requiredLength-2, numLocs); // subtract first, NULL in doParse()
437 LocDataParser::nextArray(int32_t& requiredLength) { in nextArray() argument
475 if (requiredLength == -1) { in nextArray()
476 requiredLength = array.length() + 1; in nextArray()
477 } else if (array.length() != requiredLength) { in nextArray()