Home
last modified time | relevance | path

Searched refs:myTarget (Results 1 – 25 of 25) 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.c95 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()
[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.cpp2063 UChar *myTarget = args->target; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2078 …} else if(args->converter->toULength == 1 && mySource < mySourceLimit && myTarget < args->targetLi… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2091 if(myTarget < args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2138 args->target = myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2261 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2263 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2268 *myTarget = (UChar)(0xd800+(UChar)(targetUniChar>>10)); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2270 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2272 ++myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2273 if(myTarget< args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Dunistr_cnv.cpp377 UChar *array, *myTarget; in doCodepageCreate() local
399 myTarget = array + length(); in doCodepageCreate()
400 ucnv_toUnicode(converter, &myTarget, array + getCapacity(), in doCodepageCreate()
404 setLength((int32_t)(myTarget - array)); in doCodepageCreate()
Ducnv_ct.c465 UChar *myTarget = args->target; in UConverter_toUnicode_CompoundText_OFFSETS() local
490 if(myTarget < args->targetLimit){ in UConverter_toUnicode_CompoundText_OFFSETS()
530 if (myTarget < args->targetLimit) { in UConverter_toUnicode_CompoundText_OFFSETS()
531 *myTarget++ = 0x00ff&(*mySource++); in UConverter_toUnicode_CompoundText_OFFSETS()
544 subArgs.target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
553 myTarget = subArgs.target; in UConverter_toUnicode_CompoundText_OFFSETS()
573 args->target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
Ducnv.c2420 char *myTarget; in ucnv_internalConvert() local
2438 myTarget=target; in ucnv_internalConvert()
2445 &myTarget, targetLimit, in ucnv_internalConvert()
2451 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2466 myTarget=targetBuffer; in ucnv_internalConvert()
2468 &myTarget, targetLimit, in ucnv_internalConvert()
2474 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
/external/chromium_org/third_party/icu/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.cpp2058 UChar *myTarget = args->target; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2073 …} else if(args->converter->toULength == 1 && mySource < mySourceLimit && myTarget < args->targetLi… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2086 if(myTarget < args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2133 args->target = myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2256 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2258 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2263 *myTarget = (UChar)(0xd800+(UChar)(targetUniChar>>10)); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2265 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2267 ++myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2268 if(myTarget< args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Dunistr_cnv.cpp377 UChar *array, *myTarget; in doCodepageCreate() local
399 myTarget = array + length(); in doCodepageCreate()
400 ucnv_toUnicode(converter, &myTarget, array + getCapacity(), in doCodepageCreate()
404 setLength((int32_t)(myTarget - array)); in doCodepageCreate()
Ducnv_ct.c465 UChar *myTarget = args->target; in UConverter_toUnicode_CompoundText_OFFSETS() local
490 if(myTarget < args->targetLimit){ in UConverter_toUnicode_CompoundText_OFFSETS()
530 if (myTarget < args->targetLimit) { in UConverter_toUnicode_CompoundText_OFFSETS()
531 *myTarget++ = 0x00ff&(*mySource++); in UConverter_toUnicode_CompoundText_OFFSETS()
544 subArgs.target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
553 myTarget = subArgs.target; in UConverter_toUnicode_CompoundText_OFFSETS()
573 args->target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
Ducnv.c2420 char *myTarget; in ucnv_internalConvert() local
2438 myTarget=target; in ucnv_internalConvert()
2445 &myTarget, targetLimit, in ucnv_internalConvert()
2451 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2466 myTarget=targetBuffer; in ucnv_internalConvert()
2468 &myTarget, targetLimit, in ucnv_internalConvert()
2474 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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/source/extra/uconv/
Duwmsg.c45 char *myTarget; in uprint() local
53 myTarget = buf; in uprint()
68 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
73 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint()
76 myTarget = buf; in uprint()
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c45 char *myTarget; in uprint() local
53 myTarget = buf; in uprint()
68 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
73 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint()
76 myTarget = buf; in uprint()
/external/icu/icu4c/source/io/
Dustdio.c317 char *myTarget = charBuffer; in u_file_write_flush() local
353 &myTarget, in u_file_write_flush()
366 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush()
368 myTarget += convertChars; in u_file_write_flush()
370 numConverted = (int32_t)(myTarget - charBuffer); in u_file_write_flush()
381 myTarget = charBuffer; in u_file_write_flush()
405 UChar *myTarget; in ufile_fill_uchar_buffer() local
457 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer()
463 &myTarget, in ufile_fill_uchar_buffer()
472 u_charsToUChars(mySource, myTarget, bytesRead); in ufile_fill_uchar_buffer()
[all …]
/external/chromium_org/third_party/icu/source/io/
Dustdio.c317 char *myTarget = charBuffer; in u_file_write_flush() local
353 &myTarget, in u_file_write_flush()
366 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush()
368 myTarget += convertChars; in u_file_write_flush()
370 numConverted = (int32_t)(myTarget - charBuffer); in u_file_write_flush()
381 myTarget = charBuffer; in u_file_write_flush()
405 UChar *myTarget; in ufile_fill_uchar_buffer() local
457 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer()
463 &myTarget, in ufile_fill_uchar_buffer()
472 u_charsToUChars(mySource, myTarget, bytesRead); in ufile_fill_uchar_buffer()
[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()
/external/chromium_org/third_party/icu/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()
/external/chromium_org/third_party/icu/patches/
Duconv.patch247 if (cnv->toUnicodeStatus && myTarget < targetLimit)
265 if (cnv->fromUChar32 && myTarget < targetLimit)
274 if (cnv->fromUChar32 && myTarget < targetLimit)