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

/external/icu/icu4c/source/common/
H A Ducnv_u16.c291 * and the preceding, unmatched lead surrogate was put into toUBytes[]
294 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus;
299 uint8_t *p=cnv->toUBytes;
346 /* unmatched lead surrogate, handle here for consistent toUBytes[] */
355 * we need to put it into a special place because toUBytes[] will be
440 cnv->toUBytes[0]=(uint8_t)(c>>8);
441 cnv->toUBytes[1]=(uint8_t)c;
478 cnv->toUBytes[cnv->toULength++]=*source++;
509 pArgs->converter->toUBytes[0]=*s++;
537 uint8_t *bytes=pArgs->converter->toUBytes;
[all...]
H A Ducnv_u32.c52 unsigned char *toUBytes = args->converter->toUBytes; local
72 toUBytes[i++] = (char) *(mySource++);
132 unsigned char *toUBytes = args->converter->toUBytes; local
153 toUBytes[i++] = (char) *(mySource++);
438 uprv_memcpy(args->converter->toUBytes, mySource, length);
456 uprv_memcpy(args->converter->toUBytes, mySource, 4);
511 unsigned char *toUBytes = args->converter->toUBytes; local
597 unsigned char *toUBytes = args->converter->toUBytes; local
[all...]
H A Ducnv_u8.c107 unsigned char *toUBytes = cnv->toUBytes; local
135 toUBytes[0] = (char)ch;
144 toUBytes[i] = (char) (ch2 = *mySource);
237 unsigned char *toUBytes = cnv->toUBytes; local
264 toUBytes[0] = (char)ch;
273 toUBytes[i] = (char) (ch2 = *mySource);
640 cnv->toUBytes[0] = myByte;
651 cnv->toUBytes[
[all...]
H A Ducnvhz.c199 args->converter->toUBytes[0] = UCNV_TILDE;
200 args->converter->toUBytes[1] = mySourceChar;
220 args->converter->toUBytes[0] = UCNV_TILDE;
230 args->converter->toUBytes[1] = mySourceChar;
311 args->converter->toUBytes[0] = (uint8_t)(mySourceChar >> 8);
312 args->converter->toUBytes[1] = (uint8_t)mySourceChar;
316 args->converter->toUBytes[0] = (uint8_t)mySourceChar;
H A Ducnvscsu.c377 cnv->toUBytes[0]=b;
382 /* store the first byte of a multibyte sequence in toUBytes[] */
383 cnv->toUBytes[0]=b;
388 cnv->toUBytes[1]=b;
442 cnv->toUBytes[1]=b;
454 cnv->toUBytes[1]=b;
465 cnv->toUBytes[1]=b;
503 cnv->toUBytes[0]=b;
514 cnv->toUBytes[0]=b;
520 cnv->toUBytes[
[all...]
H A Ducnv_bld.h38 /* at most 8 bytes per character in toUBytes[] (UTF-8 uses up to 6) */
187 int8_t toULength; /* number of bytes in toUBytes */
188 uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current character */ member in struct:UConverter
195 * - keeps a lead surrogate between buffers (similar to toUBytes[])
H A Ducnv2022.cpp858 _this->toUBytes[_this->toULength++]=(uint8_t)c;
878 /* discard toUBytes[] for ESC ( B because this sequence is correct and complete */
1062 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength);
1354 uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length);
1388 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8);
1389 cnv->toUBytes[1] = (uint8_t)sourceChar;
1393 cnv->toUBytes[0] =(char) sourceChar;
2119 mySourceChar = args->converter->toUBytes[0];
2291 args->converter->toUBytes[
[all...]
H A Ducnv_ct.c490 mySourceChar = args->converter->toUBytes[0];
496 tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->toULength, err);
500 args->converter->toUBytes[args->converter->toULength++] = *mySource++;
H A Ducnvlat1.c407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++;
550 /* callback(illegal); copy the current bytes to toUBytes[] */
552 cnv->toUBytes[0]=c;
590 cnv->toUBytes[0]=b;
H A Ducnvmbcs.cpp1160 * Input sequence: cnv->toUBytes[0..length[
1192 linear=LINEAR_18030(cnv->toUBytes[0], cnv->toUBytes[1], cnv->toUBytes[2], cnv->toUBytes[3]);
2145 cnv->toUBytes[0]=*(source-1);
2346 cnv->toUBytes[0]=*(source-1);
2517 bytes=cnv->toUBytes;
3138 uint8_t *bytes=cnv->toUBytes;
3153 uint8_t *bytes=cnv->toUBytes;
[all...]
H A Ducnv_ext.cpp288 (const char *)cnv->toUBytes, firstLength,
309 s=(const char *)cnv->toUBytes;
430 uprv_memcpy(cnv->toUBytes, cnv->preToU, cnv->preToUFirstLength);
H A Ducnv_lmb.c1275 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old);
1289 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes);
1333 /* If character incomplete or unmappable/illegal, store it in toUBytes[] */
1336 uprv_memcpy(args->converter->toUBytes, errSource, savebytes);
H A Ducnv_u7.c244 bytes=cnv->toUBytes;
925 bytes=cnv->toUBytes;
H A Ducnvbocu.cpp970 bytes=cnv->toUBytes;
1189 bytes=cnv->toUBytes;
H A Ducnvisci.c1480 args->converter->toUBytes[0] = (uint8_t) sourceChar;
1496 /* set toUBytes[] */
1497 cnv->toUBytes[0] = (uint8_t)*contextCharToUnicode;
H A Ducnv.c1524 /* copy toUBytes[] to invalidCharBuffer[] */
1527 uprv_memcpy(cnv->invalidCharBuffer, cnv->toUBytes, errorInputLength);
1932 * in addition to setting toULength/toUBytes[]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetCompoundText.java240 private static byte findStateFromEscSeq(ByteBuffer source, byte[] toUBytes, int toUBytesLength) { argument
252 if (toUBytes[n] != escSeqCompoundText[i][n]) {

Completed in 824 milliseconds