Lines Matching refs:myTarget
95 UChar *myTarget = args->target; in ucnv_toUnicode_UTF8() local
104 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
116 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
121 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
176 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
182 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8()
184 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
186 *(myTarget++) = (UChar)ch; in ucnv_toUnicode_UTF8()
208 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
214 args->target = myTarget; in ucnv_toUnicode_UTF8()
223 UChar *myTarget = args->target; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
234 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
245 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
250 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
304 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
311 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
314 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
316 *(myTarget++) = (UChar)ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
338 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
343 args->target = myTarget; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
354 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8() local
362 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
369 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
375 *(myTarget++) = (uint8_t) ch; in ucnv_fromUnicode_UTF8()
379 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8()
380 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
382 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
420 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
434 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8()
436 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
441 if (myTarget < targetLimit) { in ucnv_fromUnicode_UTF8()
442 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8()
453 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8()
458 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8()
469 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
478 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
489 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
496 *(myTarget++) = (char) ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
501 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
502 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
505 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
547 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
561 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
563 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
575 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
578 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
591 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
596 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()