Lines Matching refs:tempPtr
365 uint8_t *tempPtr; in ucnv_fromUnicode_UTF8() local
429 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
433 tempPtr[0] = (uint8_t) ((ch >> 12) | 0xe0); in ucnv_fromUnicode_UTF8()
437 tempPtr[0] = (uint8_t) ((ch >> 18) | 0xf0); in ucnv_fromUnicode_UTF8()
438 tempPtr[1] = (uint8_t) (((ch >> 12) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
440 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
441 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
443 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8()
449 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
451 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8()
454 cnv->charErrorBuffer[cnv->charErrorBufferLength++] = *tempPtr; in ucnv_fromUnicode_UTF8()
480 uint8_t *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
556 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
560 tempPtr[0] = (uint8_t) ((ch >> 12) | 0xe0); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
564 tempPtr[0] = (uint8_t) ((ch >> 18) | 0xf0); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
565 tempPtr[1] = (uint8_t) (((ch >> 12) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
567 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
568 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
570 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
583 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
587 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
591 cnv->charErrorBuffer[cnv->charErrorBufferLength++] = *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()