Lines Matching defs:source
69 const unsigned char *mySource = (unsigned char *) args->source;
178 args->source = (const char *) mySource;
185 const unsigned char *mySource = (unsigned char *) args->source;
295 args->source = (const char *) mySource;
304 const UChar *mySource = args->source;
411 args->source = mySource;
418 const UChar *mySource = args->source;
549 args->source = mySource;
558 const uint8_t *source;
566 sourceInitial = source = (const uint8_t *)args->source;
567 if (source >= (const uint8_t *)args->sourceLimit)
574 myByte = (uint8_t)*(source++);
577 args->source = (const char *)source;
586 args->source = (const char *)source;
591 if (((const char *)source + countTrailBytes) > args->sourceLimit)
598 while(source < (const uint8_t *)args->sourceLimit) {
599 uint8_t b = *source;
602 ++source;
610 args->source = (const char *)source;
616 uint8_t t1 = *source, t2;
617 if(U8_IS_VALID_LEAD3_AND_T1(myByte, t1) && U8_IS_TRAIL(t2 = *++source)) {
618 args->source = (const char *)(source + 1);
622 uint8_t t1 = *source;
624 args->source = (const char *)(source + 1);
628 uint8_t t1 = *source, t2, t3;
629 if(U8_IS_VALID_LEAD4_AND_T1(myByte, t1) && U8_IS_TRAIL(t2 = *++source) &&
630 U8_IS_TRAIL(t3 = *++source)) {
631 args->source = (const char *)(source + 1);
635 args->source = (const char *)source;
637 for(i = 0; sourceInitial < source; ++i) {
655 const uint8_t *source, *sourceLimit;
667 source=(uint8_t *)pToUArgs->source;
682 count=(int32_t)(sourceLimit-source)+oldToULength;
696 // Use a single counter for source and target, counting the minimum of
697 // the source length and the target capacity.
711 U8_TRUNCATE_IF_INCOMPLETE(source, 0, length);
724 b=*source++;
734 U8_IS_VALID_LEAD3_AND_T1(b, t1=source[0]) &&
735 U8_IS_TRAIL(t2=source[1])
737 source+=2;
747 U8_IS_TRAIL(t1=*source)
749 ++source;
764 if(source<sourceLimit) {
765 b=*source;
767 ++source;
775 source-=(toULength-oldToULength);
777 utf8->toUBytes[oldToULength++]=*source++;
782 pToUArgs->source=(char *)source;
790 source-=(toULength-oldToULength);
792 utf8->toUBytes[oldToULength++]=*source++;
795 pToUArgs->source=(char *)source;
808 source-=(toULength-oldToULength);
810 *target++=*source++;
818 if(U_SUCCESS(*pErrorCode) && source<sourceLimit) {
822 b=*source;
824 if(toULimit>(sourceLimit-source)) {
830 if(++source==sourceLimit) {
831 /* partial byte sequence at end of source */
836 } else if(!icu::UTF8::isValidTrail(c, b=*source, toULength, toULimit)) {
851 pToUArgs->source=(char *)source;