Lines Matching refs:indexToWrite
356 int32_t indexToWrite; in ucnv_fromUnicode_UTF8() local
420 indexToWrite = 2; in ucnv_fromUnicode_UTF8()
424 indexToWrite = 3; in ucnv_fromUnicode_UTF8()
428 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
429 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
433 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
437 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
471 int32_t indexToWrite; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
547 indexToWrite = 2; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
551 indexToWrite = 3; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
555 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
556 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
560 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
564 if (indexToWrite >= 3) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
567 myOffsets += (indexToWrite + 1); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
571 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()