Home | History | Annotate | Download | only in common

Lines Matching full:pdest

44     UChar *pDest;
64 pDest = dest;
74 if(pDest < destLimit) {
75 *pDest++ = (UChar)ch;
95 if(pDest < destLimit) {
96 *pDest++ = (UChar)ch;
102 if((pDest + 2) <= destLimit) {
103 *pDest++ = U16_LEAD(ch);
104 *pDest++ = U16_TRAIL(ch);
119 reqLength += (int32_t)(pDest - dest);
159 UChar32 *pDest;
179 pDest = dest;
188 if(pDest < destLimit) {
189 *pDest++ = ch;
218 if(pDest < destLimit) {
219 *pDest++ = ch;
225 reqLength += (int32_t)(pDest - dest);
401 UChar *pDest = dest;
446 while(((ch = *pSrc) != 0) && (pDest < pDestLimit)) {
448 *pDest++=(UChar)ch;
458 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
467 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
480 *(pDest++)=(UChar)ch;
482 *(pDest++)=UTF16_LEAD(ch);
483 if(pDest<pDestLimit) {
484 *(pDest++)=UTF16_TRAIL(ch);
542 count = (int32_t)(pDestLimit - pDest);
558 *pDest++=(UChar)ch;
568 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
577 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
601 *(pDest++)=(UChar)ch;
603 *(pDest++)=UTF16_LEAD(ch);
604 *(pDest++)=UTF16_TRAIL(ch);
610 while((pSrc<pSrcLimit) && (pDest<pDestLimit)) {
613 *pDest++=(UChar)ch;
624 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
634 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
647 *(pDest++)=(UChar)ch;
649 *(pDest++)=UTF16_LEAD(ch);
650 if(pDest<pDestLimit){
651 *(pDest++)=UTF16_TRAIL(ch);
701 reqLength+=(int32_t)(pDest - dest);
738 UChar *pDest = dest;
760 while(((ch = *pSrc) != 0) && (pDest < pDestLimit)) {
767 *pDest++=(UChar)ch;
773 *pDest++ = (UChar)((ch << 6) + t1 - 0x3080);
781 *pDest++ = (UChar)((ch << 12) + (t1 << 6) + t2 - 0x2080);
790 *(pDest++) = U16_LEAD(ch);
791 if(pDest < pDestLimit) {
792 *(pDest++) = U16_TRAIL(ch);
802 *pDest++ = 0xfffd;
870 *pDest++=(UChar)ch;
873 *pDest++ = (UChar)((ch << 6) + *pSrc++ - 0x3080);
878 *pDest++ = (UChar)(ch + *pSrc++ - 0x2080);
884 *(pDest++) = U16_LEAD(ch);
885 *(pDest++) = U16_TRAIL(ch);
900 *pDest++=(UChar)ch;
905 *pDest++ = (UChar)((ch << 6) + *pSrc++ - 0x3080);
913 *pDest++ = (UChar)(ch + *pSrc++ - 0x2080);
923 *(pDest++) = U16_LEAD(ch);
924 *(pDest++) = U16_TRAIL(ch);
931 *pDest++ = 0xfffd;
936 reqLength+=(int32_t)(pDest - dest);
949 _appendUTF8(uint8_t *pDest, UChar32 c) {
952 *pDest++=(uint8_t)c;
954 *pDest++=(uint8_t)((c>>6)|0xc0);
955 *pDest++=(uint8_t)((c&0x3f)|0x80);
957 *pDest++=(uint8_t)((c>>12)|0xe0);
958 *pDest++=(uint8_t)(((c>>6)&0x3f)|0x80);
959 *pDest++=(uint8_t)(((c)&0x3f)|0x80);
961 *pDest++=(uint8_t)(((c)>>18)|0xf0);
962 *pDest++=(uint8_t)((((c)>>12)&0x3f)|0x80);
963 *pDest++=(uint8_t)((((c)>>6)&0x3f)|0x80);
964 *pDest++=(uint8_t)(((c)&0x3f)|0x80);
966 return pDest;
980 uint8_t *pDest = (uint8_t *)dest;
981 uint8_t *pDestLimit = pDest + destCapacity;
1006 if(pDest<pDestLimit) {
1007 *pDest++ = (uint8_t)ch;
1013 if((pDestLimit - pDest) >= 2) {
1014 *pDest++=(uint8_t)((ch>>6)|0xc0);
1015 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1021 if((pDestLimit - pDest) >= 3) {
1022 *pDest++=(uint8_t)((ch>>12)|0xe0);
1023 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1024 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1046 if((pDestLimit - pDest) >= length) {
1048 pDest=_appendUTF8(pDest, ch);
1086 count = (int32_t)((pDestLimit - pDest) / 3);
1101 *pDest++ = (uint8_t)ch;
1103 *pDest++=(uint8_t)((ch>>6)|0xc0);
1104 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1106 *pDest++=(uint8_t)((ch>>12)|0xe0);
1107 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1108 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1125 *pDest++=(uint8_t)((ch>>18)|0xf0);
1126 *pDest++=(uint8_t)(((ch>>12)&0x3f)|0x80);
1127 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1128 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1140 pDest=_appendUTF8(pDest, ch);
1149 if(pDest<pDestLimit) {
1150 *pDest++ = (uint8_t)ch;
1156 if((pDestLimit - pDest) >= 2) {
1157 *pDest++=(uint8_t)((ch>>6)|0xc0);
1158 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1164 if((pDestLimit - pDest) >= 3) {
1165 *pDest++=(uint8_t)((ch>>12)|0xe0);
1166 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1167 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1188 if((pDestLimit - pDest) >= length) {
1190 pDest=_appendUTF8(pDest, ch);
1219 reqLength+=(int32_t)(pDest - (uint8_t *)dest);
1257 UChar *pDest = dest;
1289 while(((ch = *pSrc) != 0) && ch <= 0x7f && (pDest < pDestLimit)) {
1290 *pDest++=(UChar)ch;
1294 reqLength=(int32_t)(pDest - dest);
1309 count = (int32_t)(pDestLimit - pDest);
1316 *pDest++=(UChar)ch;
1341 *pDest++=(UChar)ch;
1351 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
1360 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
1381 *(pDest++)=(UChar)subchar;
1383 *(pDest++)=U16_LEAD(subchar);
1384 *(pDest++)=U16_TRAIL(subchar);
1391 while((pSrc<pSrcLimit) && (pDest<pDestLimit)) {
1394 *pDest++=(UChar)ch;
1405 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
1415 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
1430 *(pDest++)=(UChar)subchar;
1432 *(pDest++)=U16_LEAD(subchar);
1433 if(pDest<pDestLimit) {
1434 *(pDest++)=U16_TRAIL(subchar);
1491 reqLength+=(int32_t)(pDest - dest);
1511 uint8_t *pDest = (uint8_t *)dest;
1512 uint8_t *pDestLimit = pDest + destCapacity;
1529 while((ch=*src)<=0x7f && ch != 0 && pDest<pDestLimit) {
1530 *pDest++ = (uint8_t)ch;
1534 reqLength=(int32_t)(pDest - (uint8_t *)dest);
1549 count = (int32_t)(pDestLimit - pDest);
1556 *pDest++=(uint8_t)ch;
1581 *pDest++ = (uint8_t)ch;
1583 *pDest++=(uint8_t)((ch>>6)|0xc0);
1584 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1586 *pDest++=(uint8_t)((ch>>12)|0xe0);
1587 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1588 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1596 if(pDest<pDestLimit) {
1597 *pDest++ = (uint8_t)ch;
1603 if((pDestLimit - pDest) >= 2) {
1604 *pDest++=(uint8_t)((ch>>6)|0xc0);
1605 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1611 if((pDestLimit - pDest) >= 3) {
1612 *pDest++=(uint8_t)((ch>>12)|0xe0);
1613 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1614 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1632 reqLength+=(int32_t)(pDest - (uint8_t *)dest);