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

/external/icu4c/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.c51 unsigned char *toUBytes = args->converter->toUBytes; local
71 toUBytes[i++] = (char) *(mySource++);
131 unsigned char *toUBytes = args->converter->toUBytes; local
152 toUBytes[i++] = (char) *(mySource++);
437 uprv_memcpy(args->converter->toUBytes, mySource, length);
455 uprv_memcpy(args->converter->toUBytes, mySource, 4);
513 unsigned char *toUBytes = args->converter->toUBytes; local
599 unsigned char *toUBytes = args->converter->toUBytes; local
[all...]
H A Ducnv_u8.c95 unsigned char *toUBytes = cnv->toUBytes; local
123 toUBytes[0] = (char)ch;
132 toUBytes[i] = (char) (ch2 = *mySource);
225 unsigned char *toUBytes = cnv->toUBytes; local
252 toUBytes[0] = (char)ch;
261 toUBytes[i] = (char) (ch2 = *mySource);
628 cnv->toUBytes[0] = myByte;
639 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.c376 cnv->toUBytes[0]=b;
381 /* store the first byte of a multibyte sequence in toUBytes[] */
382 cnv->toUBytes[0]=b;
387 cnv->toUBytes[1]=b;
441 cnv->toUBytes[1]=b;
453 cnv->toUBytes[1]=b;
464 cnv->toUBytes[1]=b;
502 cnv->toUBytes[0]=b;
513 cnv->toUBytes[0]=b;
519 cnv->toUBytes[
[all...]
H A Ducnv_bld.h37 /* at most 8 bytes per character in toUBytes[] (UTF-8 uses up to 6) */
181 int8_t toULength; /* number of bytes in toUBytes */
182 uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current character */ member in struct:UConverter
189 * - keeps a lead surrogate between buffers (similar to toUBytes[])
H A Ducnv2022.c810 _this->toUBytes[_this->toULength++]=(uint8_t)c;
830 /* discard toUBytes[] for ESC ( B because this sequence is correct and complete */
1012 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength);
1303 uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length);
1337 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8);
1338 cnv->toUBytes[1] = (uint8_t)sourceChar;
1342 cnv->toUBytes[0] =(char) sourceChar;
2068 mySourceChar = args->converter->toUBytes[0];
2240 args->converter->toUBytes[
[all...]
H A Ducnvlat1.c406 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++;
552 /* callback(illegal); copy the current bytes to toUBytes[] */
554 cnv->toUBytes[0]=c;
592 cnv->toUBytes[0]=b;
H A Ducnvmbcs.c1020 * Input sequence: cnv->toUBytes[0..length[
1052 linear=LINEAR_18030(cnv->toUBytes[0], cnv->toUBytes[1], cnv->toUBytes[2], cnv->toUBytes[3]);
2006 cnv->toUBytes[0]=*(source-1);
2207 cnv->toUBytes[0]=*(source-1);
2378 bytes=cnv->toUBytes;
2999 uint8_t *bytes=cnv->toUBytes;
3014 uint8_t *bytes=cnv->toUBytes;
[all...]
H A Ducnv_ext.c287 (const char *)cnv->toUBytes, firstLength,
308 s=(const char *)cnv->toUBytes;
429 uprv_memcpy(cnv->toUBytes, cnv->preToU, cnv->preToUFirstLength);
H A Ducnv_lmb.c1280 uprv_memcpy(LMBCS, args->converter->toUBytes, size_old);
1294 uprv_memcpy(args->converter->toUBytes, LMBCS, savebytes);
1338 /* If character incomplete or unmappable/illegal, store it in toUBytes[] */
1341 uprv_memcpy(args->converter->toUBytes, errSource, savebytes);
H A Ducnv_u7.c243 bytes=cnv->toUBytes;
902 bytes=cnv->toUBytes;
H A Ducnvbocu.c967 bytes=cnv->toUBytes;
1188 bytes=cnv->toUBytes;
H A Ducnvisci.c1476 args->converter->toUBytes[0] = (uint8_t) sourceChar;
1492 /* set toUBytes[] */
1493 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[]

Completed in 121 milliseconds