Home
last modified time | relevance | path

Searched refs:US_STACKBUF_SIZE (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dunistr_case.cpp101 UChar oldBuffer[2 * US_STACKBUF_SIZE]; in caseMap()
115 if (writable ? oldLength <= UPRV_LENGTHOF(oldBuffer) : oldLength < US_STACKBUF_SIZE) { in caseMap()
126 if (!cloneArrayIfNeeded(US_STACKBUF_SIZE, US_STACKBUF_SIZE, /* doCopyArray= */ FALSE)) { in caseMap()
131 capacity = US_STACKBUF_SIZE; in caseMap()
Dunistr.cpp201 U16_APPEND(fUnion.fStackFields.fBuffer, i, US_STACKBUF_SIZE, ch, isError); in UnicodeString()
371 if(capacity <= US_STACKBUF_SIZE) { in allocate()
457 if(length <= US_STACKBUF_SIZE) { in fromUTF32()
458 capacity = US_STACKBUF_SIZE; in fromUTF32()
1335 if(length <= US_STACKBUF_SIZE) { in setToUTF8()
1336 capacity = US_STACKBUF_SIZE; in setToUTF8()
1489 UChar oldStackBuffer[US_STACKBUF_SIZE]; in doReplace()
1490 if((fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) && (newLength > US_STACKBUF_SIZE)) { in doReplace()
1820 } else if(newCapacity <= US_STACKBUF_SIZE && growCapacity > US_STACKBUF_SIZE) { in cloneArrayIfNeeded()
1821 growCapacity = US_STACKBUF_SIZE; in cloneArrayIfNeeded()
[all …]
Dunistr_cnv.cpp373 if(dataLength <= US_STACKBUF_SIZE) { in doCodepageCreate()
375 arraySize = US_STACKBUF_SIZE; in doCodepageCreate()
/external/icu/icu4c/source/common/unicode/
Dunistr.h3722 US_STACKBUF_SIZE=(int32_t)(UNISTR_OBJECT_SIZE-sizeof(void *)-2)/U_SIZEOF_UCHAR, enumerator
3799 char16_t fBuffer[US_STACKBUF_SIZE]; // buffer for short strings
3916 US_STACKBUF_SIZE : fUnion.fFields.fCapacity; in getCapacity()