Lines Matching defs: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;
339 if((i-labelStart)>63) {
342 // There is a trailing dot if labelStart==i.
343 if(!isLabel && i>=254 && (i>254 || labelStart<i)) {
363 if(i==(labelStart+3) && srcArray[i-1]==0x2d) {
368 if(i==labelStart) {
382 if(i==labelStart) {
385 if(toASCII && (i-labelStart)>63) {
390 labelStart=i+1;
396 processUnicode(src, labelStart, i, isLabel, toASCII, dest, info, errorCode);
398 (!info.isOkBiDi || (labelStart>0 && !isASCIIOkBiDi(dest.getBuffer(), labelStart)))
427 int32_t labelStart=0;
439 if((i-labelStart)>63) {
442 // There is a trailing dot if labelStart==i.
443 if(!isLabel && i>=254 && (i>254 || labelStart<i)) {
464 if(i==(labelStart+3) && srcArray[i-1]==0x2d) {
468 if(i==labelStart) {
480 if(i==labelStart) {
483 if(toASCII && (i-labelStart)>63) {
488 labelStart=i+1;
494 int32_t mappingStart=i-labelStart;
495 destString=UnicodeString::fromUTF8(StringPiece(destArray+labelStart, mappingStart));
497 dest.Append(destArray, labelStart);
498 processUnicode(UnicodeString::fromUTF8(StringPiece(src, labelStart)), 0, mappingStart,
509 // length==labelStart==254 means that there is a trailing dot (ok) and
510 // destString is empty (do not index at 253-labelStart).
511 int32_t length=labelStart+destString.length();
514 (labelStart<254 && destString[253-labelStart]!=0x2e))
520 (!info.isOkBiDi || (labelStart>0 && !isASCIIOkBiDi(srcArray, labelStart)))
528 int32_t labelStart, int32_t mappingStart,
545 int32_t labelLimit=labelStart;
549 int32_t labelLength=labelLimit-labelStart;
550 int32_t newLength=processLabel(dest, labelStart, labelLength,
559 labelLimit=labelStart+=newLength+1;
566 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode);
579 labelLimit==labelStart || !U16_IS_LEAD(destArray[labelLimit-1])) {
589 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok)
592 if(0==labelStart || labelStart<labelLimit) {
593 processLabel(dest, labelStart, labelLimit-labelStart,
601 UTS46::mapDevChars(UnicodeString &dest, int32_t labelStart, int32_t mappingStart,
660 uts46Norm2.normalize(dest.tempSubString(labelStart), normalized, errorCode);
662 dest.replace(labelStart, 0x7fffffff, normalized);
703 int32_t labelStart, int32_t labelLength,
711 const UChar *label=dest.getBuffer()+labelStart;
712 int32_t destLabelStart=labelStart;
743 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode);
758 return markBadACELabel(dest, labelStart, labelLength, toASCII, info, errorCode);
762 labelStart=0;
830 labelString->replace(labelStart, cpLength, (UChar)0xfffd);
831 label=labelString->getBuffer()+labelStart;
919 int32_t labelStart, int32_t labelLength,
927 const UChar *label=dest.getBuffer()+labelStart;
950 dest.insert(labelStart+labelLength, (UChar)0xfffd);
1079 int32_t labelStart=0;
1083 if(i>labelStart) {
1090 labelStart=i+1;
1091 } else if(i==labelStart) {
1111 int32_t labelStart=0;
1115 if(i>labelStart) {
1122 labelStart=i+1;
1123 } else if(i==labelStart) {