• Home
  • Raw
  • Download

Lines Matching refs:toULength

79     if (cnv->toULength > 0 && myTarget < targetLimit)  in ucnv_toUnicode_UTF8()
82 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8()
83 cnv->toULength = 0; in ucnv_toUnicode_UTF8()
125 cnv->toULength = (int8_t) i; in ucnv_toUnicode_UTF8()
163 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8()
197 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
200 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
201 cnv->toULength = 0; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
241 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
281 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
584 cnv->toULength = 1; in ucnv_getNextUChar_UTF8()
609 cnv->toULength = i; in ucnv_getNextUChar_UTF8()
640 cnv->toULength = i; in ucnv_getNextUChar_UTF8()
660 int8_t oldToULength, toULength, toULimit; in ucnv_UTF8FromUTF8() local
673 if(utf8->toULength > 0) { in ucnv_UTF8FromUTF8()
674 toULength=oldToULength=utf8->toULength; in ucnv_UTF8FromUTF8()
678 toULength=oldToULength=toULimit=0; in ucnv_UTF8FromUTF8()
717 utf8->toULength=0; in ucnv_UTF8FromUTF8()
759 toULength=1; in ucnv_UTF8FromUTF8()
763 while(toULength<toULimit) { in ucnv_UTF8FromUTF8()
766 if(icu::UTF8::isValidTrail(c, b, toULength, toULimit)) { in ucnv_UTF8FromUTF8()
768 ++toULength; in ucnv_UTF8FromUTF8()
775 source-=(toULength-oldToULength); in ucnv_UTF8FromUTF8()
776 while(oldToULength<toULength) { in ucnv_UTF8FromUTF8()
780 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()
788 if(toULength!=toULimit) { in ucnv_UTF8FromUTF8()
790 source-=(toULength-oldToULength); in ucnv_UTF8FromUTF8()
791 while(oldToULength<toULength) { in ucnv_UTF8FromUTF8()
794 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()
808 source-=(toULength-oldToULength); in ucnv_UTF8FromUTF8()
809 for(; i<toULength; ++i) { in ucnv_UTF8FromUTF8()
812 count-=toULength; in ucnv_UTF8FromUTF8()
826 toULength=0; in ucnv_UTF8FromUTF8()
829 utf8->toUBytes[toULength++]=b; in ucnv_UTF8FromUTF8()
833 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()
836 } else if(!icu::UTF8::isValidTrail(c, b=*source, toULength, toULimit)) { in ucnv_UTF8FromUTF8()
837 utf8->toULength=toULength; in ucnv_UTF8FromUTF8()