Lines Matching refs:myTarget
70 char16_t *myTarget = args->target; in ucnv_toUnicode_UTF8() local
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
96 *(myTarget++) = (char16_t) ch; in ucnv_toUnicode_UTF8()
140 *(myTarget++) = (char16_t) ch; in ucnv_toUnicode_UTF8()
145 *(myTarget++) = U16_LEAD(ch); in ucnv_toUnicode_UTF8()
147 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
149 *(myTarget++) = (char16_t)ch; in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
177 args->target = myTarget; in ucnv_toUnicode_UTF8()
186 char16_t *myTarget = args->target; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
197 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
213 *(myTarget++) = (char16_t) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
256 *(myTarget++) = (char16_t) ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
262 *(myTarget++) = U16_LEAD(ch); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
265 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
267 *(myTarget++) = (char16_t)ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
289 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
294 args->target = myTarget; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
306 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8() local
314 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
321 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
327 *(myTarget++) = (uint8_t) ch; in ucnv_fromUnicode_UTF8()
331 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8()
332 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
334 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
372 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8()
386 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8()
388 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
393 if (myTarget < targetLimit) { in ucnv_fromUnicode_UTF8()
394 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8()
405 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8()
410 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8()
421 uint8_t *myTarget = (uint8_t *) args->target; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
430 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
441 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
448 *(myTarget++) = (char) ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
453 *(myTarget++) = (uint8_t) ((ch >> 6) | 0xc0); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
454 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
457 *(myTarget++) = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
499 tempPtr = (((targetLimit - myTarget) >= 4) ? myTarget : tempBuf); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
513 if (tempPtr == myTarget) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
515 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
527 if (myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
530 *(myTarget++) = *tempPtr; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
543 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
548 args->target = (char *) myTarget; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()