Lines Matching refs:labelLength
177 int32_t labelStart, int32_t labelLength,
182 int32_t labelStart, int32_t labelLength,
186 checkLabelBiDi(const UChar *label, int32_t labelLength, IDNAInfo &info) const;
189 isLabelOkContextJ(const UChar *label, int32_t labelLength) const;
192 checkLabelContextO(const UChar *label, int32_t labelLength, IDNAInfo &info) const;
547 int32_t labelLength=labelLimit-labelStart; in processUnicode() local
548 int32_t newLength=processLabel(dest, labelStart, labelLength, in processUnicode()
556 destLength+=newLength-labelLength; in processUnicode()
674 const UnicodeString &label, int32_t labelLength, UErrorCode &errorCode) { in replaceLabel() argument
685 return labelLength; in replaceLabel()
690 int32_t labelStart, int32_t labelLength, in processLabel() argument
700 int32_t destLabelLength=labelLength; in processLabel()
702 if(labelLength>=4 && label[0]==0x78 && label[1]==0x6e && label[2]==0x2d && label[3]==0x2d) { in processLabel()
709 return labelLength; in processLabel()
712 int32_t unicodeLength=u_strFromPunycode(label+4, labelLength-4, in processLabel()
720 return labelLength; in processLabel()
723 unicodeLength=u_strFromPunycode(label+4, labelLength-4, in processLabel()
730 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode); in processLabel()
741 return labelLength; in processLabel()
745 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode); in processLabel()
750 labelLength=fromPunycode.length(); in processLabel()
756 if(labelLength==0) { in processLabel()
759 *labelString, labelLength, errorCode); in processLabel()
762 if(labelLength>=4 && label[2]==0x2d && label[3]==0x2d) { in processLabel()
770 if(label[labelLength-1]==0x2d) { in processLabel()
784 const UChar *limit=label+labelLength; in processLabel()
819 labelLength+=1-cpLength; in processLabel()
821 destLabelLength=labelLength; in processLabel()
828 checkLabelBiDi(label, labelLength, info); in processLabel()
831 !isLabelOkContextJ(label, labelLength) in processLabel()
836 checkLabelContextO(label, labelLength, info); in processLabel()
857 int32_t punycodeLength=u_strToPunycode(label, labelLength, in processLabel()
868 punycodeLength=u_strToPunycode(label, labelLength, in processLabel()
884 if(labelLength>63) { in processLabel()
898 *labelString, labelLength, errorCode); in processLabel()
906 int32_t labelStart, int32_t labelLength, in markBadACELabel() argument
917 const UChar *limit=label+labelLength; in markBadACELabel()
937 dest.insert(labelStart+labelLength, (UChar)0xfffd); in markBadACELabel()
942 ++labelLength; in markBadACELabel()
944 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
948 return labelLength; in markBadACELabel()
977 UTS46::checkLabelBiDi(const UChar *label, int32_t labelLength, IDNAInfo &info) const { in checkLabelBiDi() argument
993 if(i>=labelLength) { in checkLabelBiDi()
997 U16_PREV_UNSAFE(label, labelLength, c); in checkLabelBiDi()
1018 while(i<labelLength) { in checkLabelBiDi()
1126 UTS46::isLabelOkContextJ(const UChar *label, int32_t labelLength) const { in isLabelOkContextJ()
1130 for(int32_t i=0; i<labelLength; ++i) { in isLabelOkContextJ()
1163 if(j==labelLength) { in isLabelOkContextJ()
1196 UTS46::checkLabelContextO(const UChar *label, int32_t labelLength, IDNAInfo &info) const { in checkLabelContextO() argument
1197 int32_t labelEnd=labelLength-1; // inclusive in checkLabelContextO()
1223 U16_NEXT(label, j, labelLength, c); in checkLabelContextO()
1288 U16_NEXT(label, j, labelLength, c); in checkLabelContextO()