Home
last modified time | relevance | path

Searched refs:myTarget (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_u32.c49 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE() local
56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
65 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
88 *(myTarget++) = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE()
92 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE()
94 if (myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
95 *(myTarget++) = (UChar)ch; in T_UConverter_toUnicode_UTF32_BE()
114 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
119 args->target = myTarget; in T_UConverter_toUnicode_UTF32_BE()
128 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
[all …]
Ducnv_u8.c104 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()
[all …]
Ducnvhz.c158 UChar *myTarget = args->target; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
174 if(myTarget < args->targetLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
187 … args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
189 *(myTarget++)=(UChar)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
202 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
233 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
298 …args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)… in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
301 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
328 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
337 char *myTarget = args->target; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
[all …]
Ducnv2022.cpp2102 UChar *myTarget = args->target; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2117 …} else if(args->converter->toULength == 1 && mySource < mySourceLimit && myTarget < args->targetLi… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2130 if(myTarget < args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2177 args->target = myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2300 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2302 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2307 *myTarget = (UChar)(0xd800+(UChar)(targetUniChar>>10)); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2309 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2311 ++myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2312 if(myTarget< args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Dunistr_cnv.cpp367 UChar *array, *myTarget; in doCodepageCreate() local
389 myTarget = array + length(); in doCodepageCreate()
390 ucnv_toUnicode(converter, &myTarget, array + getCapacity(), in doCodepageCreate()
394 setLength((int32_t)(myTarget - array)); in doCodepageCreate()
Ducnv_ct.c463 UChar *myTarget = args->target; in UConverter_toUnicode_CompoundText_OFFSETS() local
488 if(myTarget < args->targetLimit){ in UConverter_toUnicode_CompoundText_OFFSETS()
528 if (myTarget < args->targetLimit) { in UConverter_toUnicode_CompoundText_OFFSETS()
529 *myTarget++ = 0x00ff&(*mySource++); in UConverter_toUnicode_CompoundText_OFFSETS()
542 subArgs.target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
551 myTarget = subArgs.target; in UConverter_toUnicode_CompoundText_OFFSETS()
571 args->target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
Ducnv.c2410 char *myTarget; in ucnv_internalConvert() local
2428 myTarget=target; in ucnv_internalConvert()
2435 &myTarget, targetLimit, in ucnv_internalConvert()
2441 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2456 myTarget=targetBuffer; in ucnv_internalConvert()
2458 &myTarget, targetLimit, in ucnv_internalConvert()
2464 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
/external/icu/icu4c/source/samples/date/
Duprint.c35 char *myTarget; in uprint() local
44 myTarget = buf; in uprint()
59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
64 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint()
67 myTarget = buf; in uprint()
/external/icu/icu4c/source/samples/cal/
Duprint.c34 char *myTarget; in uprint() local
43 myTarget = buf; in uprint()
58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
63 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint()
66 myTarget = buf; in uprint()
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c43 char *myTarget; in uprint() local
51 myTarget = buf; in uprint()
66 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
71 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint()
74 myTarget = buf; in uprint()
/external/icu/icu4c/source/io/
Dustdio.c320 char *myTarget = charBuffer; in u_file_write_flush() local
356 &myTarget, in u_file_write_flush()
369 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush()
371 myTarget += convertChars; in u_file_write_flush()
373 numConverted = (int32_t)(myTarget - charBuffer); in u_file_write_flush()
384 myTarget = charBuffer; in u_file_write_flush()
408 UChar *myTarget; in ufile_fill_uchar_buffer() local
460 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer()
466 &myTarget, in ufile_fill_uchar_buffer()
475 u_charsToUChars(mySource, myTarget, bytesRead); in ufile_fill_uchar_buffer()
[all …]
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1863 CharBuffer myTarget; in smBufDecode() local
1866 myTarget = CharBuffer.allocate(target.capacity()); in smBufDecode()
1871 myTarget = ByteBuffer.allocateDirect(target.capacity() * 2).asCharBuffer(); in smBufDecode()
1879 myTarget.limit(target.limit()); in smBufDecode()
1883 result = decoder.decode(mySource, myTarget, true); in smBufDecode()
1885 result = decoder.flush(myTarget); in smBufDecode()
1901 myTarget.limit(myTarget.position()); in smBufDecode()
1902 myTarget.position(0); in smBufDecode()
1904 if (result.isUnderflow() && !equals(myTarget, target, targetLimit)) { in smBufDecode()
1913 myTarget.limit(target.position()); in smBufDecode()
[all …]
/external/icu/icu4c/source/test/perf/convperf/
Dconvperf.h58 UChar* myTarget = target; in call() local
59 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status); in call()
104 char* myTarget = target; in call() local
105 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status); in call()