Home
last modified time | relevance | path

Searched refs:toUBytes (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_u8.cpp73 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8() local
101 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8()
110 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8()
191 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
218 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
227 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
583 cnv->toUBytes[0] = myByte; in ucnv_getNextUChar_UTF8()
595 cnv->toUBytes[0] = myByte; in ucnv_getNextUChar_UTF8()
601 cnv->toUBytes[i++] = b; in ucnv_getNextUChar_UTF8()
638 cnv->toUBytes[i] = *sourceInitial++; in ucnv_getNextUChar_UTF8()
[all …]
Ducnv_u16.cpp298 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16BEToUnicodeWithOffsets()
303 uint8_t *p=cnv->toUBytes; in _UTF16BEToUnicodeWithOffsets()
444 cnv->toUBytes[0]=(uint8_t)(c>>8); in _UTF16BEToUnicodeWithOffsets()
445 cnv->toUBytes[1]=(uint8_t)c; in _UTF16BEToUnicodeWithOffsets()
482 cnv->toUBytes[cnv->toULength++]=*source++; in _UTF16BEToUnicodeWithOffsets()
513 pArgs->converter->toUBytes[0]=*s++; in _UTF16BEGetNextUChar()
541 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16BEGetNextUChar()
558 uint8_t *bytes=pArgs->converter->toUBytes; in _UTF16BEGetNextUChar()
899 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16LEToUnicodeWithOffsets()
904 uint8_t *p=cnv->toUBytes; in _UTF16LEToUnicodeWithOffsets()
[all …]
Ducnv_u32.cpp54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE() local
74 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE()
134 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
155 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
440 uprv_memcpy(args->converter->toUBytes, mySource, length); in T_UConverter_getNextUChar_UTF32_BE()
458 uprv_memcpy(args->converter->toUBytes, mySource, 4); in T_UConverter_getNextUChar_UTF32_BE()
516 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE() local
541 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_LE()
602 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
628 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
[all …]
Ducnvscsu.cpp379 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
385 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
390 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
444 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
456 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
467 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
505 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
516 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
522 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
527 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnvhz.cpp201 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
222 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
232 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
313 args->converter->toUBytes[0] = (uint8_t)(mySourceChar >> 8); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
314 args->converter->toUBytes[1] = (uint8_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
318 args->converter->toUBytes[0] = (uint8_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv2022.cpp847 _this->toUBytes[_this->toULength++]=(uint8_t)c; in changeState_2022()
1051 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
1343 … uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length); in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1377 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback()
1378 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback()
1382 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback()
2108 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2279 args->converter->toUBytes[0] = (uint8_t)mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2622 … uprv_memcpy(subArgs.converter->toUBytes, args->converter->toUBytes, args->converter->toULength); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM()
2652 … uprv_memcpy(args->converter->toUBytes, subArgs.converter->toUBytes, subArgs.converter->toULength); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM()
[all …]
Ducnvmbcs.cpp1199 linear=LINEAR_18030(cnv->toUBytes[0], cnv->toUBytes[1], cnv->toUBytes[2], cnv->toUBytes[3]); in _extToU()
2156 cnv->toUBytes[0]=*(source-1); in ucnv_MBCSSingleToUnicodeWithOffsets()
2357 cnv->toUBytes[0]=*(source-1); in ucnv_MBCSSingleToBMPWithOffsets()
2528 bytes=cnv->toUBytes; in ucnv_MBCSToUnicodeWithOffsets()
3149 uint8_t *bytes=cnv->toUBytes; in ucnv_MBCSGetNextUChar()
3164 uint8_t *bytes=cnv->toUBytes; in ucnv_MBCSGetNextUChar()
5209 utf8->toUBytes[oldToULength++]=*source++; in ucnv_SBCSFromUTF8()
5237 utf8->toUBytes[oldToULength++]=*source++; in ucnv_SBCSFromUTF8()
5304 c=utf8->toUBytes[0]=b=*source++; in ucnv_SBCSFromUTF8()
5308 utf8->toUBytes[toULength++]=b=*source++; in ucnv_SBCSFromUTF8()
[all …]
Ducnvlat1.cpp415 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; in ucnv_Latin1FromUTF8()
566 cnv->toUBytes[0]=c; in _ASCIIToUnicodeWithOffsets()
604 cnv->toUBytes[0]=b; in _ASCIIGetNextUChar()
Ducnv_ct.cpp497 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS()
503 …tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter… in UConverter_toUnicode_CompoundText_OFFSETS()
507 args->converter->toUBytes[args->converter->toULength++] = *mySource++; in UConverter_toUnicode_CompoundText_OFFSETS()
Ducnv_bld.h190 …uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current charact… member
Ducnv_lmb.cpp1287 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old); in _LMBCSToUnicodeWithOffsets()
1301 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes); in _LMBCSToUnicodeWithOffsets()
1348 uprv_memcpy(args->converter->toUBytes, errSource, savebytes); in _LMBCSToUnicodeWithOffsets()
Ducnv_ext.cpp291 (const char *)cnv->toUBytes, firstLength, in ucnv_extInitialMatchToU()
312 s=(const char *)cnv->toUBytes; in ucnv_extInitialMatchToU()
433 uprv_memcpy(cnv->toUBytes, cnv->preToU, cnv->preToUFirstLength); in ucnv_extContinueMatchToU()
Ducnvbocu.cpp989 bytes=cnv->toUBytes; in _Bocu1ToUnicodeWithOffsets()
1208 bytes=cnv->toUBytes; in _Bocu1ToUnicode()
Ducnv_u7.cpp249 bytes=cnv->toUBytes; in _UTF7ToUnicodeWithOffsets()
935 bytes=cnv->toUBytes; in _IMAPToUnicodeWithOffsets()
Ducnvisci.cpp1487 args->converter->toUBytes[0] = (uint8_t) sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1504 cnv->toUBytes[0] = (uint8_t)*contextCharToUnicode; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
Ducnv.cpp1529 uprv_memcpy(cnv->invalidCharBuffer, cnv->toUBytes, errorInputLength); in _toUnicodeWithCallback()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java242 … private static byte findStateFromEscSeq(ByteBuffer source, byte[] toUBytes, int toUBytesLength) { in findStateFromEscSeq() argument
254 if (toUBytes[n] != escSeqCompoundText[i][n]) { in findStateFromEscSeq()