Lines Matching refs:mySource
91 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8() local
113 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
115 ch = *(mySource++); in ucnv_toUnicode_UTF8()
130 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
132 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8()
138 ++mySource; in ucnv_toUnicode_UTF8()
205 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
212 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8()
219 const unsigned char *mySource = (unsigned char *) args->source; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
242 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
244 ch = *(mySource++); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
259 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
261 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
267 ++mySource; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
335 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
341 args->source = (const char *) mySource; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
349 const UChar *mySource = args->source; in ucnv_fromUnicode_UTF8() local
366 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8()
368 ch = *(mySource++); in ucnv_fromUnicode_UTF8()
392 if (mySource < sourceLimit) { in ucnv_fromUnicode_UTF8()
394 if(UTF_IS_SURROGATE_FIRST(ch) && UTF_IS_SECOND_SURROGATE(*mySource)) { in ucnv_fromUnicode_UTF8()
396 ch=UTF16_GET_PAIR_VALUE(ch, *mySource); in ucnv_fromUnicode_UTF8()
397 ++mySource; in ucnv_fromUnicode_UTF8()
450 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8()
456 args->source = mySource; in ucnv_fromUnicode_UTF8()
463 const UChar *mySource = args->source; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
486 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
488 ch = *(mySource++); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
518 if (mySource < sourceLimit) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
520 if(UTF_IS_SURROGATE_FIRST(ch) && UTF_IS_SECOND_SURROGATE(*mySource)) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
522 ch=UTF16_GET_PAIR_VALUE(ch, *mySource); in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
523 ++mySource; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
588 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
594 args->source = mySource; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()