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 oldStackBuffer[US_STACKBUF_SIZE]; in caseMap()
116 if(oldLength <= US_STACKBUF_SIZE) { in caseMap()
117 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()
1334 if(length <= US_STACKBUF_SIZE) { in setToUTF8()
1335 capacity = US_STACKBUF_SIZE; in setToUTF8()
1469 UChar oldStackBuffer[US_STACKBUF_SIZE]; in doReplace()
1471 if((fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) && (newLength > US_STACKBUF_SIZE)) { in doReplace()
1784 } else if(newCapacity <= US_STACKBUF_SIZE && growCapacity > US_STACKBUF_SIZE) { in cloneArrayIfNeeded()
1785 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.h3617 US_STACKBUF_SIZE=(int32_t)(UNISTR_OBJECT_SIZE-sizeof(void *)-2)/U_SIZEOF_UCHAR, enumerator
3694 UChar fBuffer[US_STACKBUF_SIZE]; // buffer for short strings
3799 US_STACKBUF_SIZE : fUnion.fFields.fCapacity; in getCapacity()