Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnv_u8.c107 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 …]
Ducnv_u16.c294 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()
893 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16LEToUnicodeWithOffsets()
898 uint8_t *p=cnv->toUBytes; in _UTF16LEToUnicodeWithOffsets()
[all …]
Ducnvscsu.c377 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 …]
Ducnv_u32.c52 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()
514 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE() local
539 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_LE()
600 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
626 toUBytes[i++] = (char) *(mySource++); in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
[all …]
Ducnvhz.c199 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()
Ducnv2022.cpp858 _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 …]
Ducnvmbcs.cpp1192 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 …]
Ducnvlat1.c407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; in ucnv_Latin1FromUTF8()
555 cnv->toUBytes[0]=c; in _ASCIIToUnicodeWithOffsets()
593 cnv->toUBytes[0]=b; in _ASCIIGetNextUChar()
Ducnv_ct.c490 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()
Ducnv_bld.h183 …uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current charact… member
Ducnv_lmb.c1278 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old); in _LMBCSToUnicodeWithOffsets()
1292 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes); in _LMBCSToUnicodeWithOffsets()
1339 uprv_memcpy(args->converter->toUBytes, errSource, savebytes); in _LMBCSToUnicodeWithOffsets()
Ducnv_ext.cpp288 (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()
Ducnvbocu.cpp972 bytes=cnv->toUBytes; in _Bocu1ToUnicodeWithOffsets()
1193 bytes=cnv->toUBytes; in _Bocu1ToUnicode()
Ducnv_u7.c244 bytes=cnv->toUBytes; in _UTF7ToUnicodeWithOffsets()
928 bytes=cnv->toUBytes; in _IMAPToUnicodeWithOffsets()
Ducnvisci.c1480 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()
Ducnv.c1537 uprv_memcpy(cnv->invalidCharBuffer, cnv->toUBytes, errorInputLength); in _toUnicodeWithCallback()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java240 … private static byte findStateFromEscSeq(ByteBuffer source, byte[] toUBytes, int toUBytesLength) { in findStateFromEscSeq() argument
252 if (toUBytes[n] != escSeqCompoundText[i][n]) { in findStateFromEscSeq()