Lines Matching refs:labelLength
176 int32_t labelStart, int32_t labelLength,
181 int32_t labelStart, int32_t labelLength,
185 checkLabelBiDi(const UChar *label, int32_t labelLength, IDNAInfo &info) const;
188 isLabelOkContextJ(const UChar *label, int32_t labelLength) const;
551 int32_t labelLength=labelLimit-labelStart; in processUnicode() local
552 int32_t newLength=processLabel(dest, labelStart, labelLength, in processUnicode()
560 destLength+=newLength-labelLength; in processUnicode()
672 const UnicodeString &label, int32_t labelLength) { in replaceLabel() argument
676 return labelLength; in replaceLabel()
681 int32_t labelStart, int32_t labelLength, in processLabel() argument
688 int32_t destLabelLength=labelLength; in processLabel()
690 if(labelLength>=4 && label[0]==0x78 && label[1]==0x6e && label[2]==0x2d && label[3]==0x2d) { in processLabel()
697 return labelLength; in processLabel()
700 int32_t unicodeLength=u_strFromPunycode(label+4, labelLength-4, in processLabel()
708 return labelLength; in processLabel()
711 unicodeLength=u_strFromPunycode(label+4, labelLength-4, in processLabel()
718 return markBadACELabel(dest, labelStart, labelLength, toASCII, info); in processLabel()
729 return labelLength; in processLabel()
733 return markBadACELabel(dest, labelStart, labelLength, toASCII, info); in processLabel()
738 labelLength=fromPunycode.length(); in processLabel()
744 if(labelLength==0) { in processLabel()
748 return replaceLabel(dest, destLabelStart, destLabelLength, *labelString, labelLength); in processLabel()
751 if(labelLength>=4 && label[2]==0x2d && label[3]==0x2d) { in processLabel()
759 if(label[labelLength-1]==0x2d) { in processLabel()
773 const UChar *limit=label+labelLength; in processLabel()
808 labelLength+=1-cpLength; in processLabel()
810 destLabelLength=labelLength; in processLabel()
817 checkLabelBiDi(label, labelLength, info); in processLabel()
820 !isLabelOkContextJ(label, labelLength) in processLabel()
843 int32_t punycodeLength=u_strToPunycode(label, labelLength, in processLabel()
854 punycodeLength=u_strToPunycode(label, labelLength, in processLabel()
870 if(labelLength>63) { in processLabel()
883 return replaceLabel(dest, destLabelStart, destLabelLength, *labelString, labelLength); in processLabel()
891 int32_t labelStart, int32_t labelLength, in markBadACELabel() argument
899 const UChar *limit=label+labelLength; in markBadACELabel()
919 dest.insert(labelStart+labelLength, (UChar)0xfffd); in markBadACELabel()
920 ++labelLength; in markBadACELabel()
922 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
926 return labelLength; in markBadACELabel()
955 UTS46::checkLabelBiDi(const UChar *label, int32_t labelLength, IDNAInfo &info) const { in checkLabelBiDi() argument
971 if(i>=labelLength) { in checkLabelBiDi()
975 U16_PREV_UNSAFE(label, labelLength, c); in checkLabelBiDi()
996 while(i<labelLength) { in checkLabelBiDi()
1104 UTS46::isLabelOkContextJ(const UChar *label, int32_t labelLength) const { in isLabelOkContextJ()
1107 for(int32_t i=0; i<labelLength; ++i) { in isLabelOkContextJ()
1140 if(j==labelLength) { in isLabelOkContextJ()