Lines Matching defs:source
94 const unsigned char *mySource = (unsigned char *) args->source;
215 args->source = (const char *) mySource;
222 const unsigned char *mySource = (unsigned char *) args->source;
344 args->source = (const char *) mySource;
352 const UChar *mySource = args->source;
459 args->source = mySource;
466 const UChar *mySource = args->source;
597 args->source = mySource;
605 const uint8_t *source;
614 sourceInitial = source = (const uint8_t *)args->source;
615 if (source >= (const uint8_t *)args->sourceLimit)
622 myByte = (uint8_t)*(source++);
625 args->source = (const char *)source;
634 args->source = (const char *)source;
639 if (((const char *)source + extraBytesToWrite - 1) > args->sourceLimit)
645 while(source < (const uint8_t *)args->sourceLimit) {
646 if(U8_IS_TRAIL(myByte = *source)) {
648 ++source;
656 args->source = (const char *)source;
666 ch += (myByte = *source);
673 ++source;
675 ch += (myByte = *source);
682 ++source;
684 ch += (myByte = *source);
691 ++source;
693 ch += (myByte = *source);
700 ++source;
702 ch += (myByte = *source);
708 ++source;
711 args->source = (const char *)source;
732 for(i = 0; sourceInitial < source; ++i) {
756 const uint8_t *source, *sourceLimit;
768 source=(uint8_t *)pToUArgs->source;
782 count=(int32_t)(sourceLimit-source)+oldToULength;
797 * Use a single counter for source and target, counting the minimum of
798 * the source length and the target capacity.
799 * As a result, the source length is checked only once per multi-byte
805 * Count oldToULength (number of source bytes from a previous buffer)
806 * into the source length but reduce the source index by toULimit
820 b=source[count-oldToULength-i-1];
842 b=*source++;
851 (t1=source[0]) >= 0x80 && ((b<0xed && (t1 <= 0xbf)) ||
853 (t2=source[1]) >= 0x80 && t2 <= 0xbf
855 source+=2;
865 (t1=*source) >= 0x80 && t1 <= 0xbf
867 ++source;
875 (t1=source[0]) >= 0xa0 && t1 <= 0xbf &&
876 (t2=source[1]) >= 0x80 && t2 <= 0xbf
878 source+=2;
894 if(source<sourceLimit) {
895 b=*source;
897 ++source;
905 source-=(toULength-oldToULength);
907 utf8->toUBytes[oldToULength++]=*source++;
912 pToUArgs->source=(char *)source;
931 source-=(toULength-oldToULength);
933 utf8->toUBytes[oldToULength++]=*source++;
936 pToUArgs->source=(char *)source;
949 source-=(toULength-oldToULength);
951 *target++=*source++;
958 if(U_SUCCESS(*pErrorCode) && source<sourceLimit) {
962 b=*source;
964 if(toULimit>(sourceLimit-source)) {
970 if(++source==sourceLimit) {
971 /* partial byte sequence at end of source */
976 } else if(!U8_IS_TRAIL(b=*source)) {
992 pToUArgs->source=(char *)source;