Lines Matching refs:labelLength
179 int32_t labelStart, int32_t labelLength,
184 int32_t labelStart, int32_t labelLength,
188 checkLabelBiDi(const UChar *label, int32_t labelLength, IDNAInfo &info) const;
191 isLabelOkContextJ(const UChar *label, int32_t labelLength) const;
194 checkLabelContextO(const UChar *label, int32_t labelLength, IDNAInfo &info) const;
549 int32_t labelLength=labelLimit-labelStart; in processUnicode() local
550 int32_t newLength=processLabel(dest, labelStart, labelLength, in processUnicode()
558 destLength+=newLength-labelLength; in processUnicode()
676 const UnicodeString &label, int32_t labelLength, UErrorCode &errorCode) { in replaceLabel() argument
687 return labelLength; in replaceLabel()
692 int32_t labelStart, int32_t labelLength, in processLabel() argument
702 int32_t destLabelLength=labelLength; in processLabel()
704 if(labelLength>=4 && label[0]==0x78 && label[1]==0x6e && label[2]==0x2d && label[3]==0x2d) { in processLabel()
711 return labelLength; in processLabel()
714 int32_t unicodeLength=u_strFromPunycode(label+4, labelLength-4, in processLabel()
722 return labelLength; in processLabel()
725 unicodeLength=u_strFromPunycode(label+4, labelLength-4, in processLabel()
732 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode); in processLabel()
743 return labelLength; in processLabel()
747 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode); in processLabel()
752 labelLength=fromPunycode.length(); in processLabel()
758 if(labelLength==0) { in processLabel()
761 *labelString, labelLength, errorCode); in processLabel()
764 if(labelLength>=4 && label[2]==0x2d && label[3]==0x2d) { in processLabel()
772 if(label[labelLength-1]==0x2d) { in processLabel()
786 const UChar *limit=label+labelLength; in processLabel()
821 labelLength+=1-cpLength; in processLabel()
823 destLabelLength=labelLength; in processLabel()
830 checkLabelBiDi(label, labelLength, info); in processLabel()
833 !isLabelOkContextJ(label, labelLength) in processLabel()
838 checkLabelContextO(label, labelLength, info); in processLabel()
859 int32_t punycodeLength=u_strToPunycode(label, labelLength, in processLabel()
870 punycodeLength=u_strToPunycode(label, labelLength, in processLabel()
886 if(labelLength>63) { in processLabel()
900 *labelString, labelLength, errorCode); in processLabel()
908 int32_t labelStart, int32_t labelLength, in markBadACELabel() argument
919 const UChar *limit=label+labelLength; in markBadACELabel()
939 dest.insert(labelStart+labelLength, (UChar)0xfffd); in markBadACELabel()
944 ++labelLength; in markBadACELabel()
946 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
950 return labelLength; in markBadACELabel()
979 UTS46::checkLabelBiDi(const UChar *label, int32_t labelLength, IDNAInfo &info) const { in checkLabelBiDi() argument
995 if(i>=labelLength) { in checkLabelBiDi()
999 U16_PREV_UNSAFE(label, labelLength, c); in checkLabelBiDi()
1020 while(i<labelLength) { in checkLabelBiDi()
1128 UTS46::isLabelOkContextJ(const UChar *label, int32_t labelLength) const { in isLabelOkContextJ()
1132 for(int32_t i=0; i<labelLength; ++i) { in isLabelOkContextJ()
1165 if(j==labelLength) { in isLabelOkContextJ()
1198 UTS46::checkLabelContextO(const UChar *label, int32_t labelLength, IDNAInfo &info) const { in checkLabelContextO() argument
1199 int32_t labelEnd=labelLength-1; // inclusive in checkLabelContextO()
1225 U16_NEXT(label, j, labelLength, c); in checkLabelContextO()
1290 U16_NEXT(label, j, labelLength, c); in checkLabelContextO()