Lines Matching refs:inBytes
76 int32_t i, inBytes; in ucnv_toUnicode_UTF8() local
81 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8()
102 inBytes = U8_COUNT_BYTES_NON_ASCII(ch); /* lookup current sequence length */ in ucnv_toUnicode_UTF8()
106 while (i < inBytes) in ucnv_toUnicode_UTF8()
111 if (!icu::UTF8::isValidTrail(ch, static_cast<uint8_t>(ch2), i, inBytes) && in ucnv_toUnicode_UTF8()
124 cnv->mode = inBytes; in ucnv_toUnicode_UTF8()
131 if (i == inBytes && (!isCESU8 || i <= 3)) in ucnv_toUnicode_UTF8()
134 ch -= offsetsFromUTF8[inBytes]; in ucnv_toUnicode_UTF8()
194 int32_t i, inBytes; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
199 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
219 inBytes = U8_COUNT_BYTES_NON_ASCII(ch); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
223 while (i < inBytes) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
228 if (!icu::UTF8::isValidTrail(ch, static_cast<uint8_t>(ch2), i, inBytes) && in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
240 cnv->mode = inBytes; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
247 if (i == inBytes && (!isCESU8 || i <= 3)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
250 ch -= offsetsFromUTF8[inBytes]; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()