/external/icu/icu4c/source/common/ |
D | ucnv_u32.cpp | 51 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE() local 58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 90 *(myTarget++) = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 94 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE() 96 if (myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 97 *(myTarget++) = (UChar)ch; in T_UConverter_toUnicode_UTF32_BE() 116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE() 121 args->target = myTarget; in T_UConverter_toUnicode_UTF32_BE() 130 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local [all …]
|
D | ucnv_u8.cpp | 70 UChar *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++) = (UChar) ch; in ucnv_toUnicode_UTF8() 140 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8() 145 *(myTarget++) = U16_LEAD(ch); in ucnv_toUnicode_UTF8() 147 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8() 149 *(myTarget++) = (UChar)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() [all …]
|
D | ucnvhz.cpp | 160 UChar *myTarget = args->target; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local 176 if(myTarget < args->targetLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 189 … args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 191 *(myTarget++)=(UChar)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 204 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 235 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 300 …args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)… in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 303 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 330 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 339 char *myTarget = args->target; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local [all …]
|
D | ucnv2022.cpp | 2091 UChar *myTarget = args->target; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 2106 …} else if(args->converter->toULength == 1 && mySource < mySourceLimit && myTarget < args->targetLi… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2119 if(myTarget < args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2166 args->target = myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2288 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2290 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2295 *myTarget = (UChar)(0xd800+(UChar)(targetUniChar>>10)); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2297 …args->offsets[myTarget - args->target] = (int32_t)(mySource - args->source - (mySourceChar <= 0xff… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2299 ++myTarget; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2300 if(myTarget< args->targetLimit){ in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() [all …]
|
D | unistr_cnv.cpp | 369 UChar *array, *myTarget; in doCodepageCreate() local 391 myTarget = array + length(); in doCodepageCreate() 392 ucnv_toUnicode(converter, &myTarget, array + getCapacity(), in doCodepageCreate() 396 setLength((int32_t)(myTarget - array)); in doCodepageCreate()
|
D | ucnv_ct.cpp | 470 UChar *myTarget = args->target; in UConverter_toUnicode_CompoundText_OFFSETS() local 495 if(myTarget < args->targetLimit){ in UConverter_toUnicode_CompoundText_OFFSETS() 535 if (myTarget < args->targetLimit) { in UConverter_toUnicode_CompoundText_OFFSETS() 536 *myTarget++ = 0x00ff&(*mySource++); in UConverter_toUnicode_CompoundText_OFFSETS() 549 subArgs.target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS() 558 myTarget = subArgs.target; in UConverter_toUnicode_CompoundText_OFFSETS() 578 args->target = myTarget; in UConverter_toUnicode_CompoundText_OFFSETS()
|
D | ucnv.cpp | 2404 char *myTarget; in ucnv_internalConvert() local 2422 myTarget=target; in ucnv_internalConvert() 2429 &myTarget, targetLimit, in ucnv_internalConvert() 2435 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert() 2450 myTarget=targetBuffer; in ucnv_internalConvert() 2452 &myTarget, targetLimit, in ucnv_internalConvert() 2458 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
|
/external/icu/icu4c/source/samples/cal/ |
D | uprint.c | 38 char *myTarget; in uprint() local 47 myTarget = buf; in uprint() 62 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint() 67 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint() 70 myTarget = buf; in uprint()
|
/external/icu/icu4c/source/samples/date/ |
D | uprint.c | 39 char *myTarget; in uprint() local 48 myTarget = buf; in uprint() 63 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint() 68 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint() 71 myTarget = buf; in uprint()
|
/external/icu/icu4c/source/extra/uconv/ |
D | uwmsg.c | 46 char *myTarget; in uprint() local 54 myTarget = buf; in uprint() 69 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint() 74 fwrite(buf, sizeof(char), myTarget - buf, f); in uprint() 77 myTarget = buf; in uprint()
|
/external/icu/icu4c/source/io/ |
D | ustdio.cpp | 322 char *myTarget = charBuffer; in u_file_write_flush() local 358 &myTarget, in u_file_write_flush() 371 u_UCharsToChars(mySource, myTarget, convertChars); in u_file_write_flush() 373 myTarget += convertChars; in u_file_write_flush() 375 numConverted = (int32_t)(myTarget - charBuffer); in u_file_write_flush() 386 myTarget = charBuffer; in u_file_write_flush() 410 UChar *myTarget; in ufile_fill_uchar_buffer() local 462 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer() 468 &myTarget, in ufile_fill_uchar_buffer() 477 u_charsToUChars(mySource, myTarget, bytesRead); in ufile_fill_uchar_buffer() [all …]
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 1902 CharBuffer myTarget; in smBufDecode() local 1905 myTarget = CharBuffer.allocate(target.capacity()); in smBufDecode() 1910 myTarget = ByteBuffer.allocateDirect(target.capacity() * 2).asCharBuffer(); in smBufDecode() 1918 myTarget.limit(target.limit()); in smBufDecode() 1922 result = decoder.decode(mySource, myTarget, true); in smBufDecode() 1924 result = decoder.flush(myTarget); in smBufDecode() 1940 myTarget.limit(myTarget.position()); in smBufDecode() 1941 myTarget.position(0); in smBufDecode() 1943 if (result.isUnderflow() && !equals(myTarget, target, targetLimit)) { in smBufDecode() 1952 myTarget.limit(target.position()); in smBufDecode() [all …]
|
/external/icu/icu4c/source/test/perf/convperf/ |
D | convperf.h | 62 UChar* myTarget = target; in call() local 63 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status); in call() 108 char* myTarget = target; in call() local 109 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status); in call()
|