/trunk/main/svgio/inc/svgio/svgreader/ |
H A D | svgtools.hxx | 194 …(const rtl::OUString& rCandidate, const sal_Unicode& rChar, sal_Int32& nPos, const sal_Int32 nLen); 195 …date, const sal_Unicode& rCharA, const sal_Unicode& rCharB, sal_Int32& nPos, const sal_Int32 nLen); 196 …st rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen); 197 …st rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen); 198 …st rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen); 199 …st rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen); 200 … const sal_Unicode& rLimiter, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen); 201 …l readNumber(const rtl::OUString& rCandidate, sal_Int32& nPos, double& fNum, const sal_Int32 nLen); 202 SvgUnit readUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, const sal_Int32 nLen); 203 …erAndUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, SvgNumber& aNum, const sal_Int32 nLen); [all …]
|
/trunk/main/tools/source/string/ |
H A D | tstring.cxx | 192 sal_Int32 nLen = mpData->mnLen; in IsLowerAscii() local 194 while ( nIndex < nLen ) in IsLowerAscii() 213 sal_Int32 nLen = mpData->mnLen; in IsUpperAscii() local 215 while ( nIndex < nLen ) in IsUpperAscii() 234 sal_Int32 nLen = mpData->mnLen; in IsAlphaAscii() local 236 while ( nIndex < nLen ) in IsAlphaAscii() 256 sal_Int32 nLen = mpData->mnLen; in IsNumericAscii() local 258 while ( nIndex < nLen ) in IsNumericAscii() 277 sal_Int32 nLen = mpData->mnLen; in IsAlphaNumericAscii() local 279 while ( nIndex < nLen ) in IsAlphaNumericAscii()
|
/trunk/main/basegfx/source/tools/ |
H A D | stringconversiontools.cxx | 34 const sal_Int32 nLen) in lcl_skipSpaces() argument 36 while( io_rPos < nLen && in lcl_skipSpaces() 45 const sal_Int32 nLen) in lcl_skipSpacesAndCommas() argument 47 while(io_rPos < nLen in lcl_skipSpacesAndCommas() 125 const sal_Int32 nLen ) in lcl_importDoubleAndSpaces() argument 130 lcl_skipSpacesAndCommas(io_rPos, rStr, nLen); in lcl_importDoubleAndSpaces() 138 const sal_Int32 nLen) in lcl_importNumberAndSpaces() argument 158 lcl_skipSpacesAndCommas(io_rPos, rStr, nLen); in lcl_importNumberAndSpaces() 168 const sal_Int32 nLen) in lcl_skipNumber() argument 172 while(io_rPos < nLen && lcl_isOnNumberChar(rStr, io_rPos, bSignAllowed, true)) in lcl_skipNumber()
|
/trunk/main/svtools/source/svhtml/ |
H A D | htmlout.cxx | 450 while( nLen-- ) in lcl_ConvertCharToHTML() 464 while( nLen-- ) in lcl_ConvertCharToHTML() 472 nLen = rtl_convertUnicodeToText( in lcl_ConvertCharToHTML() 479 while( nLen-- ) in lcl_ConvertCharToHTML() 507 sal_Bool bRet = nLen > 0; in lcl_FlushToAscii() 509 while( nLen-- ) in lcl_FlushToAscii() 520 for( sal_uInt32 i=0UL, nLen = rSrc.Len(); i < nLen; i++ ) in ConvertStringToHTML() local 550 xub_StrLen nLen = rStr.Len(); in Out_String() local 574 if( nLen>=sizeof(aNToABuf) ) in Out_Hex() 575 nLen = (sizeof(aNToABuf)-1); in Out_Hex() [all …]
|
/trunk/main/linguistic/source/ |
H A D | dicimp.cxx | 152 sal_uInt16 nLen; in ReadDicVersion() local 156 *rpStream >> nLen; in ReadDicVersion() 161 pMagicHeader[nLen] = '\0'; in ReadDicVersion() 316 sal_uInt16 nLen = 0; in loadEntries() local 322 *pStream >> nLen; in loadEntries() 325 if ( nLen < BUFSIZE ) in loadEntries() 330 *(aWordBuf + nLen) = 0; in loadEntries() 347 *pStream >> nLen; in loadEntries() 353 if (nLen >= BUFSIZE) in loadEntries() 357 if (nLen < BUFSIZE) in loadEntries() [all …]
|
/trunk/main/unotools/source/misc/ |
H A D | fontdefs.cxx | 325 xub_StrLen nLen = rName.Len(); in GetEnglishSearchFontName() local 328 xub_StrLen i = nLen; in GetEnglishSearchFontName() 331 if ( i != nLen ) in GetEnglishSearchFontName() 338 if ( (nLen >= 3) && rName.GetChar( nLen-1 ) == ')' ) in GetEnglishSearchFontName() 353 nLen = nTempLen; in GetEnglishSearchFontName() 366 while ( i < nLen ) in GetEnglishSearchFontName() 400 nLen--; in GetEnglishSearchFontName() 578 const int nLen = rStr.Len(); in operator ()() local 580 switch( nLen ) in operator ()() 583 nHash += nLen; in operator ()() [all …]
|
/trunk/main/filter/source/graphicfilter/ieps/ |
H A D | ieps.cxx | 125 int nLen = 0; in ImplGetLen() local 126 while( nLen != nMax ) in ImplGetLen() 131 nLen++; in ImplGetLen() 133 return nLen; in ImplGetLen() 438 int nLen; in MakePreview() local 446 sal_uInt8 aOldValue(pDest[ nLen ]); pDest[ nLen ] = 0; in MakePreview() 453 pDest[ nLen ] = aOldValue; in MakePreview() 462 sal_uInt8 aOldValue(pDest[ nLen ]); pDest[ nLen ] = 0; in MakePreview() 466 pDest[ nLen ] = aOldValue; in MakePreview() 475 sal_uInt8 aOldValue(pDest[ nLen ]); pDest[ nLen ] = 0; in MakePreview() [all …]
|
/trunk/main/svl/source/misc/ |
H A D | lngmisc.cxx | 43 sal_Int32 nLen = rTxt.getLength(); in GetNumControlChars() local 44 for (sal_Int32 i = 0; i < nLen; ++i) in GetNumControlChars() 74 sal_Int32 nLen = rTxt.getLength(); in RemoveControlChars() local 75 sal_Int32 nSize = nLen - nCtrlChars; in RemoveControlChars() 79 for (sal_Int32 i = 0; i < nLen; ++i) in RemoveControlChars() 109 sal_Int32 nLen = rTxt.getLength(); in ReplaceControlChars() local 110 OUStringBuffer aBuf( nLen ); in ReplaceControlChars() 112 for (sal_Int32 i = 0; i < nLen; ++i) in ReplaceControlChars() 119 DBG_ASSERT( nCnt < nLen, "index out of range" ); in ReplaceControlChars()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | enhwmf.cxx | 213 if ( nLen ) in ImplReadRegion() 1067 if ( nLen && ( nLen < SAL_MAX_UINT32 / sizeof(sal_Int32) ) ) in ReadEnhWMF() 1074 pDX = new sal_Int32[ nLen ]; in ReadEnhWMF() 1076 for ( i = 0; i < nLen; i++ ) in ReadEnhWMF() 1084 if ( nLen <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF() 1086 sal_Char* pBuf = new sal_Char[ nLen ]; in ReadEnhWMF() 1087 pWMF->Read( pBuf, nLen ); in ReadEnhWMF() 1091 if ( aText.Len() != nLen ) in ReadEnhWMF() 1112 pWMF->Read( pBuf, nLen << 1 ); in ReadEnhWMF() 1284 sal_uInt32 nLen; in ReadEnhWMF() local [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 213 while( nPos < nLen && in convertMeasure() 242 if( nPos < nLen ) in convertMeasure() 692 while( nPos < nLen && in convertNumber64() 1521 if (nLen > 3) in ThreeByteToFourByte() 1522 nLen = 3; in ThreeByteToFourByte() 1523 if (nLen == 0) in ThreeByteToFourByte() 1530 switch (nLen) in ThreeByteToFourByte() 1559 if (nLen == 1) in ThreeByteToFourByte() 1564 if (nLen == 2) in ThreeByteToFourByte() 1673 if( 0 == nLen ) in convertNumFormat() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | txtfrm.cxx | 975 xub_StrLen nPos, nLen; in Modify() local 989 nLen = ((SwInsTxt*)pNew)->nLen; in Modify() 990 if( IsIdxInside( nPos, nLen ) ) in Modify() 992 if( !nLen ) in Modify() 1001 _InvalidateRange( SwCharRange( nPos, nLen ), nLen ); in Modify() 1003 SET_WRONG( nPos, nLen, true ) in Modify() 1024 nLen = ((SwDelTxt*)pNew)->nLen; in Modify() 1025 long m = nLen; in Modify() 1029 if( !nLen ) in Modify() 1053 if( !nLen ) in Modify() [all …]
|
H A D | wrong.cxx | 43 xub_StrLen nLen) in SwWrongArea() argument 44 : maType(rType), mxPropertyBag(xPropertyBag), mnPos(nPos), mnLen(nLen), mpSubList(0) in SwWrongArea() 53 xub_StrLen nLen, in SwWrongArea() argument 376 sal_Bool bRet = nLen && ( nCursorPos > nPos + nLen || nCursorPos < nPos ); in Fresh() 390 if( nCnt < Count() && nWrPos == nPos && Len( nCnt ) == nLen ) in Fresh() 401 nWrEnd = nPos + nLen; in Fresh() 405 nPos = nPos + nLen; in Fresh() 558 void SwWrongList::Remove(sal_uInt16 nIdx, sal_uInt16 nLen ) in Remove() argument 565 if ( nIdx + nLen >= static_cast<sal_uInt16>(maList.size()) ) in Remove() 568 i2 += nLen; in Remove() [all …]
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | DAVProperties.cxx | 104 sal_Int32 nLen = aFullName.indexOf( ' ' ) - nStart; in createCurlPropName() local 105 rName.name = strdup( aFullName.copy( nStart, nLen ).getStr() ); in createCurlPropName() 107 nStart = aFullName.indexOf( '=', nStart + nLen ) + 2; // after =" in createCurlPropName() 108 nLen = aFullName.getLength() - RTL_CONSTASCII_LENGTH( "\">" ) - nStart; in createCurlPropName() 109 rName.nspace = strdup( aFullName.copy( nStart, nLen ).getStr() ); in createCurlPropName() 199 sal_Int32 nLen = rFullName.getLength(); in isUCBSpecialProperty() local 200 if ( nLen <= 0 || in isUCBSpecialProperty() 220 if ( nEnd != nLen - RTL_CONSTASCII_LENGTH( "\">" ) ) in isUCBSpecialProperty() 224 if ( !( nLen = sNamesp.getLength() ) ) in isUCBSpecialProperty() 228 if ( sNamesp[nLen - 1] != '/' ) in isUCBSpecialProperty()
|
/trunk/main/svl/source/numbers/ |
H A D | zformat.cxx | 1097 nLen--; in ImpGetNumber() 1193 nLen--; in ImpNextSymbol() 1755 nLen = rStr.Len(); in StripNewCurrencyDelimiters() 3621 if ( sStr.Len() > nLen && sStr.Equals( rDecSep, sStr.Len() - nLen, nLen ) ) in ImpGetNumberOutput() 4428 if ( !nLen ) in HasStringNegativeSign() 4487 --nLen; in EraseCommentBraces() 4492 --nLen; in EraseCommentBraces() 4494 if ( nLen && rStr.GetChar( nLen-1 ) == '}' ) in EraseCommentBraces() 4496 if ( nLen && rStr.GetChar( nLen-1 ) == ' ' ) in EraseCommentBraces() 4543 if ( nPos >= nLen ) in IsInQuote() [all …]
|
/trunk/main/filter/source/placeware/ |
H A D | Base64Codec.cxx | 77 sal_Int32 nLen(nFullLen - nStart); in ThreeByteToFourByte() local 78 if (nLen > 3) in ThreeByteToFourByte() 79 nLen = 3; in ThreeByteToFourByte() 80 if (nLen == 0) in ThreeByteToFourByte() 87 switch (nLen) in ThreeByteToFourByte() 116 if (nLen == 1) in ThreeByteToFourByte() 121 if (nLen == 2) in ThreeByteToFourByte() 148 sal_Int32 nLen (sString.getLength()); 150 if (nLen != 4)
|
/trunk/main/filter/source/xsltfilter/ |
H A D | XMLBase64Codec.cxx | 77 sal_Int32 nLen(nFullLen - nStart); in ThreeByteToFourByte() local 78 if (nLen > 3) in ThreeByteToFourByte() 79 nLen = 3; in ThreeByteToFourByte() 80 if (nLen == 0) in ThreeByteToFourByte() 87 switch (nLen) in ThreeByteToFourByte() 116 if (nLen == 1) in ThreeByteToFourByte() 121 if (nLen == 2) in ThreeByteToFourByte() 151 sal_Int32 nLen (sString.getLength()); 153 if (nLen != 4)
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8scan.cxx | 803 aSrch.nLen = 0; in GetSprmInfo() 1663 *pStr >> nLen; in OpenPieceTable() 1684 *pStr >> nLen; in OpenPieceTable() 2145 if (nLen) in SafeReadString() 2147 nWasRead = rStrm.Read( rStr.AllocBuffer( nLen ), nLen); in SafeReadString() 2177 if( 0 >= nLen ) in WW8ReadString() 2905 sal_Int32 nLen; in HasSprm() local 2918 sal_Int32 nLen; in HasSprm() local 3848 long nFc, nLen; in WW8PLCFx_FLD() local 3882 if( nLen ) in WW8PLCFx_FLD() [all …]
|
/trunk/main/sw/inc/ |
H A D | ndtxt.hxx | 143 const SwIndex & rStart, /*const*/ xub_StrLen nLen, 283 const xub_StrLen nLen, 338 const xub_StrLen nLen, 343 xub_StrLen nLen, 347 const SwIndex & rStart, const xub_StrLen nLen); 349 const SwIndex & rStart, const xub_StrLen nLen); 713 const xub_StrLen nLen = STRING_LEN, 719 xub_StrLen nIdx = 0, xub_StrLen nLen = STRING_LEN, 730 xub_StrLen nLen = STRING_LEN, 888 const SwIndex & rStart, const xub_StrLen nLen) in CutText() argument [all …]
|
/trunk/main/desktop/source/deployment/ |
H A D | dp_persmap.cxx | 79 const sal_Int32 nLen = rStr.getLength(); in encodeString() local 80 sal_Int32 i = nLen; in encodeString() 94 OStringBuffer aEncStr( nLen + 32); in encodeString() 95 aEncStr.append( pChar - (nLen-i), nLen - i); in encodeString() 115 static OString decodeString( const sal_Char* pEncChars, int nLen) in decodeString() argument 118 sal_Int32 i = nLen; in decodeString() 124 return OString( pEncChars, nLen); in decodeString() 127 OStringBuffer aDecStr( nLen); in decodeString() 129 for( i = nLen; --i >= 0;) in decodeString()
|
/trunk/main/sdext/source/pdfimport/pdfparse/ |
H A D | pdfparse.cxx | 65 virtual bool write( const void* pBuf, unsigned int nLen ) throw() in write() argument 67 m_aBuf.append( (const sal_Char*)pBuf, nLen ); in write() 73 write( m_aBuf.getStr() + nOrigOffset, nLen ) : false; } in copyOrigBytes() 78 rtl_copyMemory( pBuf, m_aBuf.getStr()+nOrigOffset, nLen ); in readOrigBytes() 79 return nLen; in readOrigBytes() 555 PDFEntry* PDFReader::read( const char* pBuffer, unsigned int nLen ) in read() argument 563 pBuffer+nLen, in read() 618 unsigned int nLen = (unsigned int)ftell( fp ); in read() local 620 char* pBuf = (char*)rtl_allocateMemory( nLen ); in read() 623 fread( pBuf, 1, nLen, fp ); in read() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | SwStyleNameMapper.cxx | 322 if( nLen > 8 && in SuffixIsUser() 323 pChar[nLen-7] == ' ' && in SuffixIsUser() 329 pChar[nLen-1] == ')' ) in SuffixIsUser() 337 if (nLen > 8 && in CheckSuffixAndDelete() 338 pChar[nLen-7] == ' ' && in CheckSuffixAndDelete() 339 pChar[nLen-6] == '(' && in CheckSuffixAndDelete() 340 pChar[nLen-5] == 'u' && in CheckSuffixAndDelete() 341 pChar[nLen-4] == 's' && in CheckSuffixAndDelete() 342 pChar[nLen-3] == 'e' && in CheckSuffixAndDelete() 343 pChar[nLen-2] == 'r' && in CheckSuffixAndDelete() [all …]
|
/trunk/main/automation/source/simplecm/ |
H A D | packethandler.cxx | 78 comm_BOOL PacketHandler::ReceiveData( void* &pData, comm_UINT32 &nLen ) in ReceiveData() argument 82 nLen = 0; in ReceiveData() 182 nLen = nBytes; in ReceiveData() 200 comm_BOOL PacketHandler::TransferData( const void* pData, comm_UINT32 nLen, CMProtocol nProtocol ) in TransferData() argument 202 comm_UINT32 nBuffer = nLen; in TransferData() 247 WRITE_SOCKET( pData, nLen ); in TransferData() 251 …L PacketHandler::SendHandshake( HandshakeType aHandshakeType, const void* pData, comm_UINT32 nLen ) in SendHandshake() argument 287 nBuffer += nLen; // Extra data in Buffer in SendHandshake() 327 WRITE_SOCKET( pData, nLen ); in SendHandshake()
|
/trunk/main/linguistic/workben/ |
H A D | sprophelp.cxx | 92 INT32 nLen = aPropNames.getLength(); in AddAsPropListener() local 94 for (INT32 i = 0; i < nLen; ++i) in AddAsPropListener() 106 INT32 nLen = aPropNames.getLength(); in RemoveAsPropListener() local 108 for (INT32 i = 0; i < nLen; ++i) in RemoveAsPropListener() 194 INT32 nLen = GetPropNames().getLength(); in PropertyHelper_Spell() local 195 if (rxPropSet.is() && nLen) in PropertyHelper_Spell() 198 for (INT32 i = 0; i < nLen; ++i) in PropertyHelper_Spell() 343 INT32 nLen = rPropVals.getLength(); in SetTmpPropVals() local 344 if (nLen) in SetTmpPropVals() 347 for (INT32 i = 0; i < nLen; ++i) in SetTmpPropVals()
|
/trunk/main/sal/rtl/source/ |
H A D | math.cxx | 216 rtl_string_newFromStr_WithLength(pString, pChars, nLen); in createString() 234 sal_Int32 nLen) in appendChars() 237 *pOffset += nLen; in appendChars() 242 sal_Int32 nLen) in appendAscii() 244 rtl_stringbuffer_insert(pBuffer, pCapacity, *pOffset, pStr, nLen); in appendAscii() 245 *pOffset += nLen; in appendAscii() 258 rtl_uString_newFromStr_WithLength(pString, pChars, nLen); in createString() 279 *pOffset += nLen; in appendChars() 284 sal_Char const * pStr, sal_Int32 nLen) in appendAscii() 287 nLen); in appendAscii() [all …]
|
/trunk/main/sc/source/filter/qpro/ |
H A D | qpro.cxx | 64 sal_uInt16 nLen = getLength(); in readSheet() local 65 if (nLen >= 7) in readSheet() 67 readString( aLabel, nLen - 7 ); in readSheet() 109 sal_uInt16 nState, nLen; in readSheet() local 110 *mpStream >> nCol >> nDummy >> nRow >> nStyle >> nValue >> nState >> nLen; in readSheet() 114 if (ConvOK != aConv.Convert( pArray, nLen )) in readSheet() 201 sal_uInt16 nLen = getLength(); in import() local 202 if (nLen >= 4) in import() 203 readString( aLabel, nLen - 4 ); in import()
|