Lines Matching refs:labelStart
166 int32_t labelStart, int32_t mappingStart,
173 mapDevChars(UnicodeString &dest, int32_t labelStart, int32_t mappingStart,
179 int32_t labelStart, int32_t labelLength,
184 int32_t labelStart, int32_t labelLength,
334 int32_t labelStart=0; in process() local
339 if((i-labelStart)>63) { in process()
343 if(!isLabel && i>=254 && (i>254 || labelStart<i)) { in process()
363 if(i==(labelStart+3) && srcArray[i-1]==0x2d) { in process()
368 if(i==labelStart) { in process()
382 if(i==labelStart) { in process()
385 if(toASCII && (i-labelStart)>63) { in process()
390 labelStart=i+1; in process()
396 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info, errorCode); in process()
398 (!info.isOkBiDi || (labelStart>0 && !isASCIIOkBiDi(dest.getBuffer(), labelStart))) in process()
427 int32_t labelStart=0; in processUTF8() local
439 if((i-labelStart)>63) { in processUTF8()
443 if(!isLabel && i>=254 && (i>254 || labelStart<i)) { in processUTF8()
464 if(i==(labelStart+3) && srcArray[i-1]==0x2d) { in processUTF8()
468 if(i==labelStart) { in processUTF8()
480 if(i==labelStart) { in processUTF8()
483 if(toASCII && (i-labelStart)>63) { in processUTF8()
488 labelStart=i+1; in processUTF8()
494 int32_t mappingStart=i-labelStart; in processUTF8()
495 destString=UnicodeString::fromUTF8(StringPiece(destArray+labelStart, mappingStart)); in processUTF8()
497 dest.Append(destArray, labelStart); in processUTF8()
498 processUnicode(UnicodeString::fromUTF8(StringPiece(src, labelStart)), 0, mappingStart, in processUTF8()
511 int32_t length=labelStart+destString.length(); in processUTF8()
514 (labelStart<254 && destString[253-labelStart]!=0x2e)) in processUTF8()
520 (!info.isOkBiDi || (labelStart>0 && !isASCIIOkBiDi(srcArray, labelStart))) in processUTF8()
528 int32_t labelStart, int32_t mappingStart, in processUnicode() argument
545 int32_t labelLimit=labelStart; in processUnicode()
549 int32_t labelLength=labelLimit-labelStart; in processUnicode()
550 int32_t newLength=processLabel(dest, labelStart, labelLength, in processUnicode()
559 labelLimit=labelStart+=newLength+1; in processUnicode()
566 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode); in processUnicode()
579 labelLimit==labelStart || !U16_IS_LEAD(destArray[labelLimit-1])) { in processUnicode()
592 if(0==labelStart || labelStart<labelLimit) { in processUnicode()
593 processLabel(dest, labelStart, labelLimit-labelStart, in processUnicode()
601 UTS46::mapDevChars(UnicodeString &dest, int32_t labelStart, int32_t mappingStart, in mapDevChars() argument
660 uts46Norm2.normalize(dest.tempSubString(labelStart), normalized, errorCode); in mapDevChars()
662 dest.replace(labelStart, 0x7fffffff, normalized); in mapDevChars()
703 int32_t labelStart, int32_t labelLength, in processLabel() argument
711 const UChar *label=dest.getBuffer()+labelStart; in processLabel()
712 int32_t destLabelStart=labelStart; in processLabel()
743 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode); in processLabel()
758 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode); in processLabel()
762 labelStart=0; in processLabel()
830 labelString->replace(labelStart, cpLength, (UChar)0xfffd); in processLabel()
831 label=labelString->getBuffer()+labelStart; in processLabel()
919 int32_t labelStart, int32_t labelLength, in markBadACELabel() argument
927 const UChar *label=dest.getBuffer()+labelStart; in markBadACELabel()
950 dest.insert(labelStart+labelLength, (UChar)0xfffd); in markBadACELabel()
1079 int32_t labelStart=0; in isASCIIOkBiDi() local
1083 if(i>labelStart) { in isASCIIOkBiDi()
1090 labelStart=i+1; in isASCIIOkBiDi()
1091 } else if(i==labelStart) { in isASCIIOkBiDi()
1111 int32_t labelStart=0; in isASCIIOkBiDi() local
1115 if(i>labelStart) { in isASCIIOkBiDi()
1122 labelStart=i+1; in isASCIIOkBiDi()
1123 } else if(i==labelStart) { in isASCIIOkBiDi()