Lines Matching refs:pDest
50 UChar *pDest;
70 pDest = dest;
80 if(pDest < destLimit) {
81 *pDest++ = (UChar)ch;
101 if(pDest < destLimit) {
102 *pDest++ = (UChar)ch;
108 if(pDest!=NULL && ((pDest + 2) <= destLimit)) {
109 *pDest++ = U16_LEAD(ch);
110 *pDest++ = U16_TRAIL(ch);
125 reqLength += (int32_t)(pDest - dest);
165 UChar32 *pDest;
185 pDest = dest;
194 if(pDest < destLimit) {
195 *pDest++ = ch;
224 if(pDest < destLimit) {
225 *pDest++ = ch;
231 reqLength += (int32_t)(pDest - dest);
409 UChar *pDest = dest;
454 while(((ch = *pSrc) != 0) && (pDest < pDestLimit)) {
456 *pDest++=(UChar)ch;
466 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
475 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
488 *(pDest++)=(UChar)ch;
490 *(pDest++)=U16_LEAD(ch);
491 if(pDest<pDestLimit) {
492 *(pDest++)=U16_TRAIL(ch);
550 count = (int32_t)(pDestLimit - pDest);
566 *pDest++=(UChar)ch;
576 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
585 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
609 *(pDest++)=(UChar)ch;
611 *(pDest++)=U16_LEAD(ch);
612 *(pDest++)=U16_TRAIL(ch);
618 while((pSrc<pSrcLimit) && (pDest<pDestLimit)) {
621 *pDest++=(UChar)ch;
632 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
642 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
655 *(pDest++)=(UChar)ch;
657 *(pDest++)=U16_LEAD(ch);
658 if(pDest<pDestLimit){
659 *(pDest++)=U16_TRAIL(ch);
709 reqLength+=(int32_t)(pDest - dest);
746 UChar *pDest = dest;
768 while(((ch = *pSrc) != 0) && (pDest < pDestLimit)) {
775 *pDest++=(UChar)ch;
781 *pDest++ = (UChar)((ch << 6) + t1 - 0x3080);
789 *pDest++ = (UChar)((ch << 12) + (t1 << 6) + t2 - 0x2080);
798 *(pDest++) = U16_LEAD(ch);
799 if(pDest < pDestLimit) {
800 *(pDest++) = U16_TRAIL(ch);
810 *pDest++ = 0xfffd;
878 *pDest++=(UChar)ch;
881 *pDest++ = (UChar)((ch << 6) + *pSrc++ - 0x3080);
886 *pDest++ = (UChar)(ch + *pSrc++ - 0x2080);
892 *(pDest++) = U16_LEAD(ch);
893 *(pDest++) = U16_TRAIL(ch);
908 *pDest++=(UChar)ch;
913 *pDest++ = (UChar)((ch << 6) + *pSrc++ - 0x3080);
921 *pDest++ = (UChar)(ch + *pSrc++ - 0x2080);
931 *(pDest++) = U16_LEAD(ch);
932 *(pDest++) = U16_TRAIL(ch);
939 *pDest++ = 0xfffd;
944 reqLength+=(int32_t)(pDest - dest);
957 _appendUTF8(uint8_t *pDest, UChar32 c) {
960 *pDest++=(uint8_t)c;
962 *pDest++=(uint8_t)((c>>6)|0xc0);
963 *pDest++=(uint8_t)((c&0x3f)|0x80);
965 *pDest++=(uint8_t)((c>>12)|0xe0);
966 *pDest++=(uint8_t)(((c>>6)&0x3f)|0x80);
967 *pDest++=(uint8_t)(((c)&0x3f)|0x80);
969 *pDest++=(uint8_t)(((c)>>18)|0xf0);
970 *pDest++=(uint8_t)((((c)>>12)&0x3f)|0x80);
971 *pDest++=(uint8_t)((((c)>>6)&0x3f)|0x80);
972 *pDest++=(uint8_t)(((c)&0x3f)|0x80);
974 return pDest;
988 uint8_t *pDest = (uint8_t *)dest;
989 uint8_t *pDestLimit = (pDest!=NULL)?(pDest + destCapacity):NULL;
1014 if(pDest<pDestLimit) {
1015 *pDest++ = (uint8_t)ch;
1021 if((pDestLimit - pDest) >= 2) {
1022 *pDest++=(uint8_t)((ch>>6)|0xc0);
1023 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1029 if((pDestLimit - pDest) >= 3) {
1030 *pDest++=(uint8_t)((ch>>12)|0xe0);
1031 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1032 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1054 if((pDestLimit - pDest) >= length) {
1056 pDest=_appendUTF8(pDest, ch);
1094 count = (int32_t)((pDestLimit - pDest) / 3);
1109 *pDest++ = (uint8_t)ch;
1111 *pDest++=(uint8_t)((ch>>6)|0xc0);
1112 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1114 *pDest++=(uint8_t)((ch>>12)|0xe0);
1115 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1116 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1133 *pDest++=(uint8_t)((ch>>18)|0xf0);
1134 *pDest++=(uint8_t)(((ch>>12)&0x3f)|0x80);
1135 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1136 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1148 pDest=_appendUTF8(pDest, ch);
1157 if(pDest<pDestLimit) {
1158 *pDest++ = (uint8_t)ch;
1164 if((pDestLimit - pDest) >= 2) {
1165 *pDest++=(uint8_t)((ch>>6)|0xc0);
1166 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1172 if((pDestLimit - pDest) >= 3) {
1173 *pDest++=(uint8_t)((ch>>12)|0xe0);
1174 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1175 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1196 if((pDestLimit - pDest) >= length) {
1198 pDest=_appendUTF8(pDest, ch);
1227 reqLength+=(int32_t)(pDest - (uint8_t *)dest);
1265 UChar *pDest = dest;
1297 while(((ch = *pSrc) != 0) && ch <= 0x7f && (pDest < pDestLimit)) {
1298 *pDest++=(UChar)ch;
1302 reqLength=(int32_t)(pDest - dest);
1317 count = (int32_t)(pDestLimit - pDest);
1324 *pDest++=(UChar)ch;
1349 *pDest++=(UChar)ch;
1359 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
1368 *pDest++ = (UChar)(((ch & 0x1f) << 6) | t1);
1389 *(pDest++)=(UChar)subchar;
1391 *(pDest++)=U16_LEAD(subchar);
1392 *(pDest++)=U16_TRAIL(subchar);
1399 while((pSrc<pSrcLimit) && (pDest<pDestLimit)) {
1402 *pDest++=(UChar)ch;
1413 *pDest++ = (UChar)((ch << 12) | (t1 << 6) | t2);
1423 *pDest
1438 *(pDest++)=(UChar)subchar;
1440 *(pDest++)=U16_LEAD(subchar);
1441 if(pDest<pDestLimit) {
1442 *(pDest++)=U16_TRAIL(subchar);
1499 reqLength+=(int32_t)(pDest - dest);
1519 uint8_t *pDest = (uint8_t *)dest;
1520 uint8_t *pDestLimit = pDest + destCapacity;
1537 while((ch=*src)<=0x7f && ch != 0 && pDest<pDestLimit) {
1538 *pDest++ = (uint8_t)ch;
1542 reqLength=(int32_t)(pDest - (uint8_t *)dest);
1557 count = (int32_t)(pDestLimit - pDest);
1564 *pDest++=(uint8_t)ch;
1589 *pDest++ = (uint8_t)ch;
1591 *pDest++=(uint8_t)((ch>>6)|0xc0);
1592 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1594 *pDest++=(uint8_t)((ch>>12)|0xe0);
1595 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1596 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1604 if(pDest<pDestLimit) {
1605 *pDest++ = (uint8_t)ch;
1611 if((pDestLimit - pDest) >= 2) {
1612 *pDest++=(uint8_t)((ch>>6)|0xc0);
1613 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1619 if((pDestLimit - pDest) >= 3) {
1620 *pDest++=(uint8_t)((ch>>12)|0xe0);
1621 *pDest++=(uint8_t)(((ch>>6)&0x3f)|0x80);
1622 *pDest++=(uint8_t)((ch&0x3f)|0x80);
1640 reqLength+=(int32_t)(pDest - (uint8_t *)dest);