Lines Matching refs:toULength
118 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8()
119 cnv->toULength = 0; in ucnv_toUnicode_UTF8()
160 cnv->toULength = (int8_t) i; in ucnv_toUnicode_UTF8()
211 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8()
248 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
249 cnv->toULength = 0; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
288 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
341 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
643 cnv->toULength = 1; in ucnv_getNextUChar_UTF8()
666 cnv->toULength = i; in ucnv_getNextUChar_UTF8()
750 cnv->toULength = i; in ucnv_getNextUChar_UTF8()
776 int8_t oldToULength, toULength, toULimit; in ucnv_UTF8FromUTF8() local
791 toULength=oldToULength=utf8->toULength; in ucnv_UTF8FromUTF8()
794 toULength=oldToULength=toULimit=0; in ucnv_UTF8FromUTF8()
850 utf8->toULength=0; in ucnv_UTF8FromUTF8()
904 toULength=1; in ucnv_UTF8FromUTF8()
908 while(toULength<toULimit) { in ucnv_UTF8FromUTF8()
913 ++toULength; in ucnv_UTF8FromUTF8()
920 source-=(toULength-oldToULength); in ucnv_UTF8FromUTF8()
921 while(oldToULength<toULength) { in ucnv_UTF8FromUTF8()
925 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()
933 if( toULength==toULimit && /* consumed all trail bytes */ in ucnv_UTF8FromUTF8()
934 (toULength==3 || toULength==2) && /* BMP */ in ucnv_UTF8FromUTF8()
935 (c-=utf8_offsets[toULength])>=utf8_minLegal[toULength] && in ucnv_UTF8FromUTF8()
940 toULength==toULimit && toULength==4 && in ucnv_UTF8FromUTF8()
946 source-=(toULength-oldToULength); in ucnv_UTF8FromUTF8()
947 while(oldToULength<toULength) { in ucnv_UTF8FromUTF8()
950 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()
964 source-=(toULength-oldToULength); in ucnv_UTF8FromUTF8()
965 for(; i<toULength; ++i) { in ucnv_UTF8FromUTF8()
968 count-=toULength; in ucnv_UTF8FromUTF8()
981 toULength=0; in ucnv_UTF8FromUTF8()
984 utf8->toUBytes[toULength++]=b; in ucnv_UTF8FromUTF8()
988 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()
993 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()