Lines Matching refs:nLen

300 …r(const rtl::OUString& rCandidate, const sal_Unicode& rChar, sal_Int32& nPos, const sal_Int32 nLen)  in skip_char()  argument
302 while(nPos < nLen && rChar == rCandidate[nPos]) in skip_char()
308 …idate, const sal_Unicode& rCharA, const sal_Unicode& rCharB, sal_Int32& nPos, const sal_Int32 nLen) in skip_char() argument
310 while(nPos < nLen && (rCharA == rCandidate[nPos] || rCharB == rCandidate[nPos])) in skip_char()
316 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copySign() argument
318 if(nPos < nLen) in copySign()
330 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copyNumber() argument
334 while(bOnNumber && nPos < nLen) in copyNumber()
348 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copyHex() argument
352 while(bOnHex && nPos < nLen) in copyHex()
368 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copyString() argument
372 while(bOnChar && nPos < nLen) in copyString()
388 …, const sal_Unicode& rLimiter, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copyToLimiter() argument
390 while(nPos < nLen && rLimiter != rCandidate[nPos]) in copyToLimiter()
397 …ol readNumber(const rtl::OUString& rCandidate, sal_Int32& nPos, double& fNum, const sal_Int32 nLen) in readNumber() argument
399 if(nPos < nLen) in readNumber()
403 copySign(rCandidate, nPos, aNum, nLen); in readNumber()
404 copyNumber(rCandidate, nPos, aNum, nLen); in readNumber()
406 if(nPos < nLen) in readNumber()
421 copySign(rCandidate, nPos, aNum, nLen); in readNumber()
422 copyNumber(rCandidate, nPos, aNum, nLen); in readNumber()
449 SvgUnit readUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, const sal_Int32 nLen) in readUnit() argument
453 if(nPos < nLen) in readUnit()
457 if(nPos + 1 < nLen) in readUnit()
552 …berAndUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, SvgNumber& aNum, const sal_Int32 nLen) in readNumberAndUnit() argument
556 if(readNumber(rCandidate, nPos, fNum, nLen)) in readNumberAndUnit()
558 skip_char(rCandidate, sal_Unicode(' '), nPos, nLen); in readNumberAndUnit()
559 aNum = SvgNumber(fNum, readUnit(rCandidate, nPos, nLen)); in readNumberAndUnit()
567 …l readAngle(const rtl::OUString& rCandidate, sal_Int32& nPos, double& fAngle, const sal_Int32 nLen) in readAngle() argument
569 if(readNumber(rCandidate, nPos, fAngle, nLen)) in readAngle()
571 skip_char(rCandidate, sal_Unicode(' '), nPos, nLen); in readAngle()
580 if(nPos < nLen) in readAngle()
821 const sal_Int32 nLen(rCandidate.getLength()); in read_color() local
823 if(nLen) in read_color()
834 copyHex(rCandidate, nPos, aNum, nLen); in read_color()
873 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in read_color()
876 if(readNumber(rCandidate, nPos, fR, nLen)) in read_color()
878 skip_char(rCandidate, sal_Unicode(' '), nPos, nLen); in read_color()
880 if(nPos < nLen) in read_color()
888 skip_char(rCandidate, sal_Unicode('%'), nPos, nLen); in read_color()
891 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in read_color()
893 if(readNumber(rCandidate, nPos, fG, nLen)) in read_color()
899 skip_char(rCandidate, sal_Unicode('%'), nPos, nLen); in read_color()
902 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in read_color()
904 if(readNumber(rCandidate, nPos, fB, nLen)) in read_color()
914 skip_char(rCandidate, sal_Unicode('%'), nPos, nLen); in read_color()
917 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in read_color()
940 const sal_Int32 nLen(rCandidate.getLength()); in readViewBox() local
942 if(nLen) in readViewBox()
946 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readViewBox()
948 if(readNumberAndUnit(rCandidate, nPos, aMinX, nLen)) in readViewBox()
951 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readViewBox()
953 if(readNumberAndUnit(rCandidate, nPos, aMinY, nLen)) in readViewBox()
956 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readViewBox()
958 if(readNumberAndUnit(rCandidate, nPos, aWidth, nLen)) in readViewBox()
961 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readViewBox()
963 if(readNumberAndUnit(rCandidate, nPos, aHeight, nLen)) in readViewBox()
982 const sal_Int32 nLen(rCandidate.getLength()); in readTransform() local
984 if(nLen) in readTransform()
987 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
989 while(nPos < nLen) in readTransform()
1008 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in readTransform()
1012 if(readNumberAndUnit(rCandidate, nPos, aVal, nLen)) in readTransform()
1015 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1017 if(readNumberAndUnit(rCandidate, nPos, aVal, nLen)) in readTransform()
1020 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1022 if(readNumberAndUnit(rCandidate, nPos, aVal, nLen)) in readTransform()
1025 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1027 if(readNumberAndUnit(rCandidate, nPos, aVal, nLen)) in readTransform()
1030 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1032 if(readNumberAndUnit(rCandidate, nPos, aVal, nLen)) in readTransform()
1035 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1037 … if(readNumberAndUnit(rCandidate, nPos, aVal, nLen)) in readTransform()
1040 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in readTransform()
1041 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1062 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in readTransform()
1065 if(readNumberAndUnit(rCandidate, nPos, aTransX, nLen)) in readTransform()
1067 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1069 readNumberAndUnit(rCandidate, nPos, aTransY, nLen); in readTransform()
1070 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in readTransform()
1071 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1086 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in readTransform()
1089 if(readNumberAndUnit(rCandidate, nPos, aScaleX, nLen)) in readTransform()
1091 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1093 readNumberAndUnit(rCandidate, nPos, aScaleY, nLen); in readTransform()
1094 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in readTransform()
1095 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1106 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in readTransform()
1109 if(readAngle(rCandidate, nPos, fSkewX, nLen)) in readTransform()
1111 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in readTransform()
1112 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1121 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in readTransform()
1124 if(readAngle(rCandidate, nPos, fSkewY, nLen)) in readTransform()
1126 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in readTransform()
1127 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1140 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode('('), nPos, nLen); in readTransform()
1143 if(readAngle(rCandidate, nPos, fAngle, nLen)) in readTransform()
1145 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1147 readNumberAndUnit(rCandidate, nPos, aX, nLen); in readTransform()
1148 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1150 readNumberAndUnit(rCandidate, nPos, aY, nLen); in readTransform()
1151 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(')'), nPos, nLen); in readTransform()
1152 … skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readTransform()
1186 const sal_Int32 nLen(rCandidate.getLength()); in readSingleNumber() local
1189 return readNumberAndUnit(rCandidate, nPos, aNum, nLen); in readSingleNumber()
1198 const sal_Int32 nLen(rCandidate.getLength()); in readLocalUrl() local
1201 skip_char(rCandidate, sal_Unicode('('), sal_Unicode('#'), nPos, nLen); in readLocalUrl()
1203 copyToLimiter(rCandidate, sal_Unicode(')'), nPos, aTokenValue, nLen); in readLocalUrl()
1214 const sal_Int32 nLen(rCandidate.getLength()); in readSvgPaint() local
1216 if(nLen) in readSvgPaint()
1253 const sal_Int32 nLen(rCandidate.getLength()); in readSvgNumberVector() local
1256 if(nLen) in readSvgNumberVector()
1260 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readSvgNumberVector()
1262 while(readNumberAndUnit(rCandidate, nPos, aNum, nLen)) in readSvgNumberVector()
1265 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readSvgNumberVector()
1276 const sal_Int32 nLen(rCandidate.getLength()); in readSvgAspectRatio() local
1278 if(nLen) in readSvgAspectRatio()
1286 while(nPos < nLen) in readSvgAspectRatio()
1289 skip_char(rCandidate, sal_Unicode(' '), nPos, nLen); in readSvgAspectRatio()
1291 copyString(rCandidate, nPos, aTokenName, nLen); in readSvgAspectRatio()
1401 const sal_Int32 nLen(rCandidate.getLength()); in readSvgStringVector() local
1403 if(nLen) in readSvgStringVector()
1407 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readSvgStringVector()
1409 while(nPos < nLen) in readSvgStringVector()
1411 copyToLimiter(rCandidate, sal_Unicode(','), nPos, aTokenValue, nLen); in readSvgStringVector()
1412 skip_char(rCandidate, sal_Unicode(','), sal_Unicode(' '), nPos, nLen); in readSvgStringVector()
1442 sal_Int32 nLen(rCandidate.getLength()); in readImageLink() local
1446 skip_char(rCandidate, sal_Unicode(' '), nPos, nLen); in readImageLink()
1447 copyToLimiter(rCandidate, sal_Unicode(';'), nPos, aBuffer, nLen); in readImageLink()
1448 skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(';'), nPos, nLen); in readImageLink()
1451 if(rMimeType.getLength() && nPos < nLen) in readImageLink()
1465 nLen = aData.getLength(); in readImageLink()
1467 skip_char(aData, sal_Unicode(' '), sal_Unicode(','), nPos, nLen); in readImageLink()
1469 if(nPos < nLen) in readImageLink()
1487 const sal_Int32 nLen(rCandidate.getLength()); in convert() local
1489 if(nLen) in convert()
1495 while(nPos < nLen) in convert()
1527 const sal_Int32 nLen(rCandidate.getLength()); in consolidateContiguosSpace() local
1529 if(nLen) in consolidateContiguosSpace()
1536 while(nPos < nLen) in consolidateContiguosSpace()
1563 if(aBuffer.getLength() != nLen) in consolidateContiguosSpace()