Lines Matching refs:myTarget
104 UChar *myTarget = args->target; in ucnv_toUnicode_UTF8() local
113 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
125 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
130 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
185 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
191 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8()
193 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
195 *(myTarget++) = (UChar)ch; in ucnv_toUnicode_UTF8()
217 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
223 args->target = myTarget; in ucnv_toUnicode_UTF8()
232 UChar *myTarget = args->target; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
243 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
254 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
259 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
313 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
320 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
323 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
325 *(myTarget++) = (UChar)ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
347 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
352 args->target = myTarget; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
363 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8() local
371 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
378 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
384 *(myTarget++) = (uint8_t) ch; in ucnv_fromUnicode_UTF8()
388 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8()
389 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
391 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
429 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
443 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8()
445 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
450 if (myTarget < targetLimit) { in ucnv_fromUnicode_UTF8()
451 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8()
462 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8()
467 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8()
478 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
487 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
498 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
505 *(myTarget++) = (char) ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
510 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
511 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
514 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
556 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
570 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
572 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
584 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
587 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
600 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
605 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()