/external/icu/icu4c/source/common/ |
D | ucnv_u8.c | 107 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8() local 135 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8() 144 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8() 237 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local 264 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() 273 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() 640 cnv->toUBytes[0] = myByte; in ucnv_getNextUChar_UTF8() 651 cnv->toUBytes[0] = myByte; in ucnv_getNextUChar_UTF8() 656 cnv->toUBytes[i++] = myByte; in ucnv_getNextUChar_UTF8() 742 cnv->toUBytes[i] = *sourceInitial++; in ucnv_getNextUChar_UTF8() [all …]
|
D | ucnv_u16.c | 294 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16BEToUnicodeWithOffsets() 299 uint8_t *p=cnv->toUBytes; in _UTF16BEToUnicodeWithOffsets() 440 cnv->toUBytes[0]=(uint8_t)(c>>8); in _UTF16BEToUnicodeWithOffsets() 441 cnv->toUBytes[1]=(uint8_t)c; in _UTF16BEToUnicodeWithOffsets() 478 cnv->toUBytes[cnv->toULength++]=*source++; in _UTF16BEToUnicodeWithOffsets() 509 pArgs->converter->toUBytes[0]=*s++; in _UTF16BEGetNextUChar() 537 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16BEGetNextUChar() 554 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16BEGetNextUChar() 890 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16LEToUnicodeWithOffsets() 895 uint8_t *p=cnv->toUBytes; in _UTF16LEToUnicodeWithOffsets() [all …]
|
D | ucnvscsu.c | 377 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets() 383 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets() 388 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets() 442 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets() 454 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets() 465 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets() 503 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets() 514 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets() 520 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets() 525 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets() [all …]
|
D | ucnv_u32.c | 52 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE() local 72 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE() 132 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local 153 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() 438 uprv_memcpy(args->converter->toUBytes, mySource, length); in T_UConverter_getNextUChar_UTF32_BE() 456 uprv_memcpy(args->converter->toUBytes, mySource, 4); in T_UConverter_getNextUChar_UTF32_BE() 511 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE() local 536 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_LE() 597 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local 623 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() [all …]
|
D | ucnvhz.c | 199 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 200 args->converter->toUBytes[1] = mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 220 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 230 args->converter->toUBytes[1] = mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 311 args->converter->toUBytes[0] = (uint8_t)(mySourceChar >> 8); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 312 args->converter->toUBytes[1] = (uint8_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 316 args->converter->toUBytes[0] = (uint8_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
|
D | ucnv2022.cpp | 858 _this->toUBytes[_this->toULength++]=(uint8_t)c; in changeState_2022() 1062 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022() 1354 … uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length); in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1388 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback() 1389 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback() 1393 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback() 2119 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2291 args->converter->toUBytes[0] = (uint8_t)mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2634 … uprv_memcpy(subArgs.converter->toUBytes, args->converter->toUBytes, args->converter->toULength); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM() 2664 … uprv_memcpy(args->converter->toUBytes, subArgs.converter->toUBytes, subArgs.converter->toULength); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM() [all …]
|
D | ucnvmbcs.cpp | 1192 linear=LINEAR_18030(cnv->toUBytes[0], cnv->toUBytes[1], cnv->toUBytes[2], cnv->toUBytes[3]); in _extToU() 2145 cnv->toUBytes[0]=*(source-1); in ucnv_MBCSSingleToUnicodeWithOffsets() 2346 cnv->toUBytes[0]=*(source-1); in ucnv_MBCSSingleToBMPWithOffsets() 2517 bytes=cnv->toUBytes; in ucnv_MBCSToUnicodeWithOffsets() 3138 uint8_t *bytes=cnv->toUBytes; in ucnv_MBCSGetNextUChar() 3153 uint8_t *bytes=cnv->toUBytes; in ucnv_MBCSGetNextUChar() 5188 utf8->toUBytes[oldToULength++]=*source++; in ucnv_SBCSFromUTF8() 5220 utf8->toUBytes[oldToULength++]=*source++; in ucnv_SBCSFromUTF8() 5287 c=utf8->toUBytes[0]=b=*source++; in ucnv_SBCSFromUTF8() 5291 utf8->toUBytes[toULength++]=b=*source++; in ucnv_SBCSFromUTF8() [all …]
|
D | ucnvlat1.c | 407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; in ucnv_Latin1FromUTF8() 552 cnv->toUBytes[0]=c; in _ASCIIToUnicodeWithOffsets() 590 cnv->toUBytes[0]=b; in _ASCIIGetNextUChar()
|
D | ucnv_ct.c | 490 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS() 496 …tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter… in UConverter_toUnicode_CompoundText_OFFSETS() 500 args->converter->toUBytes[args->converter->toULength++] = *mySource++; in UConverter_toUnicode_CompoundText_OFFSETS()
|
D | ucnv_bld.h | 188 …uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current charact… member
|
D | ucnv_lmb.c | 1275 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old); in _LMBCSToUnicodeWithOffsets() 1289 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes); in _LMBCSToUnicodeWithOffsets() 1336 uprv_memcpy(args->converter->toUBytes, errSource, savebytes); in _LMBCSToUnicodeWithOffsets()
|
D | ucnv_ext.cpp | 288 (const char *)cnv->toUBytes, firstLength, in ucnv_extInitialMatchToU() 309 s=(const char *)cnv->toUBytes; in ucnv_extInitialMatchToU() 430 uprv_memcpy(cnv->toUBytes, cnv->preToU, cnv->preToUFirstLength); in ucnv_extContinueMatchToU()
|
D | ucnvbocu.cpp | 970 bytes=cnv->toUBytes; in _Bocu1ToUnicodeWithOffsets() 1189 bytes=cnv->toUBytes; in _Bocu1ToUnicode()
|
D | ucnv_u7.c | 244 bytes=cnv->toUBytes; in _UTF7ToUnicodeWithOffsets() 925 bytes=cnv->toUBytes; in _IMAPToUnicodeWithOffsets()
|
D | ucnvisci.c | 1480 args->converter->toUBytes[0] = (uint8_t) sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC() 1497 cnv->toUBytes[0] = (uint8_t)*contextCharToUnicode; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
|
D | ucnv.c | 1527 uprv_memcpy(cnv->invalidCharBuffer, cnv->toUBytes, errorInputLength); in _toUnicodeWithCallback()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetCompoundText.java | 240 … private static byte findStateFromEscSeq(ByteBuffer source, byte[] toUBytes, int toUBytesLength) { in findStateFromEscSeq() argument 252 if (toUBytes[n] != escSeqCompoundText[i][n]) { in findStateFromEscSeq()
|