Lines Matching refs:nPos
498 sal_Int32 nPos = 0; in initialize() local
502 nPos = sRelPath.indexOf( '/', nPos + 1 ); in initialize()
504 while( -1 != nPos ); in initialize()
923 sal_Int32 nPos = rValue.getLength(); in ReplaceSingleInchWithIn() local
924 while( nPos && rValue[nPos-1] <= ' ' ) in ReplaceSingleInchWithIn()
925 --nPos; in ReplaceSingleInchWithIn()
926 if( nPos > 2 && in ReplaceSingleInchWithIn()
927 ('c'==rValue[nPos-2] || 'C'==rValue[nPos-2]) && in ReplaceSingleInchWithIn()
928 ('h'==rValue[nPos-1] || 'H'==rValue[nPos-1]) ) in ReplaceSingleInchWithIn()
930 rValue =rValue.copy( 0, nPos-2 ); in ReplaceSingleInchWithIn()
940 sal_Int32 nPos = 1; in ReplaceInchWithIn() local
941 while( nPos < rValue.getLength()-3 ) in ReplaceInchWithIn()
943 sal_Unicode c = rValue[nPos]; in ReplaceInchWithIn()
946 c = rValue[nPos-1]; in ReplaceInchWithIn()
949 c = rValue[nPos+1]; in ReplaceInchWithIn()
952 c = rValue[nPos+2]; in ReplaceInchWithIn()
955 c = rValue[nPos+3]; in ReplaceInchWithIn()
958 rValue = rValue.replaceAt( nPos, in ReplaceInchWithIn()
960 nPos += 2; in ReplaceInchWithIn()
968 ++nPos; in ReplaceInchWithIn()
978 sal_Int32 nPos = rValue.getLength(); in ReplaceSingleInWithInch() local
979 while( nPos && rValue[nPos-1] <= ' ' ) in ReplaceSingleInWithInch()
980 --nPos; in ReplaceSingleInWithInch()
981 if( nPos > 2 && in ReplaceSingleInWithInch()
982 ('i'==rValue[nPos-2] || in ReplaceSingleInWithInch()
983 'I'==rValue[nPos-2]) && in ReplaceSingleInWithInch()
984 ('n'==rValue[nPos-1] || in ReplaceSingleInWithInch()
985 'N'==rValue[nPos-1]) ) in ReplaceSingleInWithInch()
987 nPos -= 2; in ReplaceSingleInWithInch()
988 rValue = rValue.replaceAt( nPos, rValue.getLength() - nPos, in ReplaceSingleInWithInch()
999 sal_Int32 nPos = 1; in ReplaceInWithInch() local
1000 while( nPos < rValue.getLength()-1 ) in ReplaceInWithInch()
1002 sal_Unicode c = rValue[nPos]; in ReplaceInWithInch()
1005 c = rValue[nPos-1]; in ReplaceInWithInch()
1008 c = rValue[nPos+1]; in ReplaceInWithInch()
1011 rValue = rValue.replaceAt( nPos, in ReplaceInWithInch()
1013 nPos += 4; in ReplaceInWithInch()
1019 ++nPos; in ReplaceInWithInch()
1211 sal_Int32 nPos = 0; in NegPercent() local
1215 while( nPos < nLen && sal_Unicode(' ') == rValue[nPos] ) in NegPercent()
1216 nPos++; in NegPercent()
1218 if( nPos < nLen && sal_Unicode('-') == rValue[nPos] ) in NegPercent()
1221 nPos++; in NegPercent()
1225 while( nPos < nLen && in NegPercent()
1226 sal_Unicode('0') <= rValue[nPos] && in NegPercent()
1227 sal_Unicode('9') >= rValue[nPos] ) in NegPercent()
1231 nVal += (rValue[nPos] - sal_Unicode('0')); in NegPercent()
1232 nPos++; in NegPercent()
1235 if( nPos < nLen && sal_Unicode('.') == rValue[nPos] ) in NegPercent()
1237 nPos++; in NegPercent()
1239 while( nPos < nLen && in NegPercent()
1240 sal_Unicode('0') <= rValue[nPos] && in NegPercent()
1241 sal_Unicode('9') >= rValue[nPos] ) in NegPercent()
1245 nVal += ( static_cast<double>(rValue[nPos] - sal_Unicode('0')) / nDiv ); in NegPercent()
1246 nPos++; in NegPercent()
1251 while( nPos < nLen && sal_Unicode(' ') == rValue[nPos] ) in NegPercent()
1252 nPos++; in NegPercent()
1254 if( nPos < nLen && sal_Unicode('%') == rValue[nPos] ) in NegPercent()
1328 sal_Int32 nPos = 1; in ConvertURIToOASIS() local
1330 while( nPos < nLen ) in ConvertURIToOASIS()
1332 switch( rURI[nPos] ) in ConvertURIToOASIS()
1336 nPos = nLen; // leave loop in ConvertURIToOASIS()
1341 nPos = nLen; // leave loop in ConvertURIToOASIS()
1347 ++nPos; in ConvertURIToOASIS()
1394 sal_Int32 nPos = 1; in ConvertURIToOOo() local
1396 while( nPos < nLen ) in ConvertURIToOOo()
1398 switch( rURI[nPos] ) in ConvertURIToOOo()
1402 nPos = nLen; // leave loop in ConvertURIToOOo()
1407 nPos = nLen; // leave loop in ConvertURIToOOo()
1413 ++nPos; in ConvertURIToOOo()
1481 XMLTransformerContextVector::size_type nPos = in GetAncestorContext() local
1484 OSL_ENSURE( nSize >nPos+2 , "invalid context" ); in GetAncestorContext()
1486 return nSize > nPos+2 ? (*m_pContexts)[nSize-(nPos+2)].get() : 0; in GetAncestorContext()