Lines Matching refs:myTarget
92 UChar *myTarget = args->target; in ucnv_toUnicode_UTF8() local
101 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
113 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
118 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
173 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
179 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8()
181 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
183 *(myTarget++) = (UChar)ch; in ucnv_toUnicode_UTF8()
205 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
211 args->target = myTarget; in ucnv_toUnicode_UTF8()
220 UChar *myTarget = args->target; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
231 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
242 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
247 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
301 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
308 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
311 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
313 *(myTarget++) = (UChar)ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
335 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
340 args->target = myTarget; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
351 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8() local
359 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
366 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
372 *(myTarget++) = (uint8_t) ch; in ucnv_fromUnicode_UTF8()
376 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8()
377 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
379 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
417 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
431 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8()
433 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
438 if (myTarget < targetLimit) { in ucnv_fromUnicode_UTF8()
439 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8()
450 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8()
455 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8()
466 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
475 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
486 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
493 *(myTarget++) = (char) ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
498 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
499 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
502 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
544 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
558 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
560 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
572 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
575 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
588 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
593 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()