Home
last modified time | relevance | path

Searched refs:toULimit (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_u8.cpp660 int8_t oldToULength, toULength, toULimit; in ucnv_UTF8FromUTF8() local
675 toULimit=(int8_t)utf8->mode; in ucnv_UTF8FromUTF8()
678 toULength=oldToULength=toULimit=0; in ucnv_UTF8FromUTF8()
683 if(count<toULimit) { in ucnv_UTF8FromUTF8()
688 } else if(targetCapacity<toULimit) { in ucnv_UTF8FromUTF8()
710 int32_t length=count-toULimit; in ucnv_UTF8FromUTF8()
712 count=toULimit+length; in ucnv_UTF8FromUTF8()
760 toULimit=U8_COUNT_BYTES_NON_ASCII(b); in ucnv_UTF8FromUTF8()
763 while(toULength<toULimit) { in ucnv_UTF8FromUTF8()
766 if(icu::UTF8::isValidTrail(c, b, toULength, toULimit)) { in ucnv_UTF8FromUTF8()
[all …]
Ducnvmbcs.cpp5031 int8_t oldToULength, toULength, toULimit; in ucnv_SBCSFromUTF8() local
5069 toULimit=(int8_t)utf8->mode; in ucnv_SBCSFromUTF8()
5072 toULength=oldToULength=toULimit=0; in ucnv_SBCSFromUTF8()
5083 int32_t length=(int32_t)(sourceLimit-source) - (toULimit-oldToULength); in ucnv_SBCSFromUTF8()
5185 toULimit=U8_COUNT_BYTES_NON_ASCII(b); in ucnv_SBCSFromUTF8()
5188 while(toULength<toULimit) { in ucnv_SBCSFromUTF8()
5198 if(icu::UTF8::isValidTrail(c, b, toULength, toULimit)) { in ucnv_SBCSFromUTF8()
5213 utf8->mode=toULimit; in ucnv_SBCSFromUTF8()
5220 if(toULength==toULimit) { in ucnv_SBCSFromUTF8()
5306 toULimit=U8_COUNT_BYTES(b); in ucnv_SBCSFromUTF8()
[all …]