Lines Matching refs:source
51 const UChar *source;
59 source=pArgs->source;
60 length=(int32_t)(pArgs->sourceLimit-source);
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
93 ++source;
124 c=*source++;
129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
130 ++source;
144 c=*source++;
151 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
152 ++source;
180 if(U16_IS_SINGLE(c=*source++)) {
202 * - source or target too short
207 if(source<pArgs->sourceLimit) {
208 if(U16_IS_TRAIL(trail=*source)) {
210 ++source;
241 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) {
246 pArgs->source=source;
255 const uint8_t *source;
268 source=(const uint8_t *)pArgs->source;
269 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source);
301 p[count++]=*source++;
350 if(((const uint8_t *)pArgs->source-source)>=2) {
351 source-=2;
359 --source;
364 pArgs->source=(const char *)source;
385 c=((UChar)source[0]<<8)|source[1];
386 source+=2;
390 U16_IS_TRAIL(trail=((UChar)source[0]<<8)|source[1])
392 source+=2;
402 c=((UChar)source[0]<<8)|source[1];
403 source+=2;
409 U16_IS_TRAIL(trail=((UChar)source[0]<<8)|source[1])
411 source+=2;
437 * - source or target too short
446 if(U16_IS_TRAIL(trail=((UChar)source[0]<<8)|source[1])) {
448 source+=2;
472 /* check for a remaining source byte */
478 cnv->toUBytes[cnv->toULength++]=*source++;
484 pArgs->source=(const char *)source;
498 s=(const uint8_t *)pArgs->source;
511 pArgs->source=(const char *)s;
564 pArgs->source=(const char *)s;
650 const UChar *source;
658 source=pArgs->source;
659 length=(int32_t)(pArgs->sourceLimit-source);
690 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
692 ++source;
723 c=*source++;
728 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
729 ++source;
743 c=*source++;
750 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
751 ++source;
779 if(U16_IS_SINGLE(c=*source++)) {
801 * - source or target too short
806 if(source<pArgs->sourceLimit) {
807 if(U16_IS_TRAIL(trail=*source)) {
809 ++source;
840 if(U_SUCCESS(*pErrorCode) && source<pArgs->sourceLimit && targetCapacity==0) {
845 pArgs->source=source;
854 const uint8_t *source;
867 source=(const uint8_t *)pArgs->source;
868 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source);
900 p[count++]=*source++;
949 if(((const uint8_t *)pArgs->source-source)>=2) {
950 source-=2;
958 --source;
963 pArgs->source=(const char *)source;
984 c=((UChar)source[1]<<8)|source[0];
985 source+=2;
989 U16_IS_TRAIL(trail=((UChar)source[1]<<8)|source[0])
991 source+=2;
1001 c=((UChar)source[1]<<8)|source[0];
1002 source+=2;
1008 U16_IS_TRAIL(trail=((UChar)source[1]<<8)|source[0])
1010 source+=2;
1036 * - source or target too short
1045 if(U16_IS_TRAIL(trail=((UChar)source[1]<<8)|source[0])) {
1047 source+=2;
1071 /* check for a remaining source byte */
1077 cnv->toUBytes[cnv->toULength++]=*source++;
1083 pArgs->source=(const char *)source;
1097 s=(const uint8_t *)pArgs->source;
1110 pArgs->source=(const char *)s;
1163 pArgs->source=(const char *)s;
1326 const char *source=pArgs->source;
1342 while(source<sourceLimit && U_SUCCESS(*pErrorCode)) {
1345 cnv->toUBytes[0]=(uint8_t)*source++;
1356 b=*source;
1374 ++source;
1376 offsetDelta=(int32_t)(source-pArgs->source);
1379 if(source!=pArgs->source) {
1380 /* reset the source for a correct first offset */
1381 source=pArgs->source;
1401 pArgs->source=source+1;
1417 pArgs->source=source;
1419 source=pArgs->source;
1423 pArgs->source=source;
1425 source=pArgs->source;
1440 pArgs->source=source;
1442 if(source==sourceLimit && pArgs->flush) {