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

12

/external/chromium_org/third_party/icu/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);
514 unsigned char *toUBytes = args->converter->toUBytes; local
600 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) */
182 int8_t toULength; /* number of bytes in toUBytes */
183 uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current character */ member in struct:UConverter
190 * - keeps a lead surrogate between buffers (similar to toUBytes[])
H A Ducnv2022.cpp817 _this->toUBytes[_this->toULength++]=(uint8_t)c;
837 /* discard toUBytes[] for ESC ( B because this sequence is correct and complete */
1019 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength);
1310 uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length);
1344 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8);
1345 cnv->toUBytes[1] = (uint8_t)sourceChar;
1349 cnv->toUBytes[0] =(char) sourceChar;
2075 mySourceChar = args->converter->toUBytes[0];
2247 args->converter->toUBytes[
[all...]
H A Ducnv_ct.c492 mySourceChar = args->converter->toUBytes[0];
498 tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->toULength, err);
502 args->converter->toUBytes[args->converter->toULength++] = *mySource++;
H A Ducnvlat1.c407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++;
553 /* callback(illegal); copy the current bytes to toUBytes[] */
555 cnv->toUBytes[0]=c;
593 cnv->toUBytes[0]=b;
H A Ducnvmbcs.c1023 * Input sequence: cnv->toUBytes[0..length[
1055 linear=LINEAR_18030(cnv->toUBytes[0], cnv->toUBytes[1], cnv->toUBytes[2], cnv->toUBytes[3]);
2008 cnv->toUBytes[0]=*(source-1);
2209 cnv->toUBytes[0]=*(source-1);
2380 bytes=cnv->toUBytes;
3001 uint8_t *bytes=cnv->toUBytes;
3016 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.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.c244 bytes=cnv->toUBytes;
928 bytes=cnv->toUBytes;
/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);
514 unsigned char *toUBytes = args->converter->toUBytes; local
600 unsigned char *toUBytes = args->converter->toUBytes; local
[all...]
H A Ducnv_u8.c98 unsigned char *toUBytes = cnv->toUBytes; local
126 toUBytes[0] = (char)ch;
135 toUBytes[i] = (char) (ch2 = *mySource);
228 unsigned char *toUBytes = cnv->toUBytes; local
255 toUBytes[0] = (char)ch;
264 toUBytes[i] = (char) (ch2 = *mySource);
631 cnv->toUBytes[0] = myByte;
642 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) */
182 int8_t toULength; /* number of bytes in toUBytes */
183 uint8_t toUBytes[UCNV_MAX_CHAR_LEN-1];/* more "toU status"; keeps the bytes of the current character */ member in struct:UConverter
190 * - keeps a lead surrogate between buffers (similar to toUBytes[])
H A Ducnv2022.cpp822 _this->toUBytes[_this->toULength++]=(uint8_t)c;
842 /* discard toUBytes[] for ESC ( B because this sequence is correct and complete */
1024 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength);
1315 uprv_memcpy(saveThis->toUBytes, myData->currentConverter->toUBytes, length);
1349 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8);
1350 cnv->toUBytes[1] = (uint8_t)sourceChar;
1354 cnv->toUBytes[0] =(char) sourceChar;
2080 mySourceChar = args->converter->toUBytes[0];
2252 args->converter->toUBytes[
[all...]
H A Ducnv_ct.c492 mySourceChar = args->converter->toUBytes[0];
498 tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->toULength, err);
502 args->converter->toUBytes[args->converter->toULength++] = *mySource++;
H A Ducnvlat1.c407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++;
553 /* callback(illegal); copy the current bytes to toUBytes[] */
555 cnv->toUBytes[0]=c;
593 cnv->toUBytes[0]=b;
H A Ducnvmbcs.c1023 * Input sequence: cnv->toUBytes[0..length[
1055 linear=LINEAR_18030(cnv->toUBytes[0], cnv->toUBytes[1], cnv->toUBytes[2], cnv->toUBytes[3]);
2008 cnv->toUBytes[0]=*(source-1);
2209 cnv->toUBytes[0]=*(source-1);
2380 bytes=cnv->toUBytes;
3001 uint8_t *bytes=cnv->toUBytes;
3016 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.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);

Completed in 322 milliseconds

12