/trunk/main/stoc/test/ |
H A D | testintrosp.cxx | 734 sal_Int32 nLen = aPropSeq.getLength(); in setPropertyValue() local 735 for( sal_Int32 i = 0 ; i < nLen ; i++ ) in setPropertyValue() 749 sal_Int32 nLen = aPropSeq.getLength(); in getPropertyValue() local 750 for( sal_Int32 i = 0 ; i < nLen ; i++ ) in getPropertyValue() 1205 sal_Int32 nLen = aRetSeq.getLength(); in test_introsp() local 1210 aErrorStr += OString::valueOf( nLen ); in test_introsp() 1222 for( i = 0 ; i < nLen ; i++ ) in test_introsp() 1447 aErrorStr += OString::valueOf( nLen ); in test_introsp() 1454 for( i = 0 ; i < nLen ; i++ ) in test_introsp() 1515 sal_Int32 nLen = aClassSeq.getLength(); in test_introsp() local [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | userlist.cxx | 196 sal_Int32 nLen = xCal.getLength(); in ScUserList() local 198 sal_Int16 nStart = sal::static_int_cast<sal_Int16>(nLen); in ScUserList() 204 sal_Int16 nLast = sal::static_int_cast<sal_Int16>( (nStart + nLen - 1) % nLen ); in ScUserList() 205 for (i = nStart; i != nLast; i = (i+1) % nLen) in ScUserList() 226 sal_Int32 nLen = xCal.getLength() - 1; in ScUserList() local 227 for (i = 0; i < nLen; i++) in ScUserList()
|
/trunk/main/sw/source/core/text/ |
H A D | porlay.hxx | 47 xub_StrLen nStart, nLen; member in SwCharRange 50 const xub_StrLen nInitLen = 0): nStart( nInitStart ), nLen(nInitLen) {} in SwCharRange() 54 { if ( nNew < nStart ) { nLen += nStart-nNew; nStart = nNew; } } in LeftMove() 56 { return nStart + nLen; } in End() 57 inline xub_StrLen &Len() { return nLen; } in Len() 58 inline const xub_StrLen &Len() const { return nLen; } in Len() 62 { return nStart + nLen > rRange.nStart + rRange.nLen; } in operator >()
|
/trunk/main/dbaccess/source/core/recovery/ |
H A D | dbdocrecovery.cxx | 174 const sal_Int32 nLen = i_rIniLine.getLength(); in lcl_isSectionStart() local 175 …if ( ( nLen > 0 ) && ( i_rIniLine.getStr()[0] == '[' ) && ( i_rIniLine.getStr()[ nLen - 1 ] == ']'… in lcl_isSectionStart() 177 o_rSectionName = i_rIniLine.copy( 1, nLen -2 ); in lcl_isSectionStart() 186 const sal_Int32 nLen = io_rLine.getLength(); in lcl_stripTrailingLineFeed() local 187 if ( ( nLen > 0 ) && ( io_rLine.getStr()[ nLen - 1 ] == '\n' ) ) in lcl_stripTrailingLineFeed() 188 io_rLine = io_rLine.copy( 0, nLen - 1 ); in lcl_stripTrailingLineFeed()
|
/trunk/main/stoc/source/inspect/ |
H A D | introspection.cxx | 393 for( int i = 0 ; i < nLen ; ++i ) in getMethodIndex() 696 if( iNextIndex >= nLen ) in checkPropertyArraysSize() 712 sal_Int32 nLen = rSeq.getLength(); in checkInterfaceArraySize() local 713 if( iNextIndex >= nLen ) in checkInterfaceArraySize() 1303 sal_Int32 nLen = aPropSeq.getLength(); in getProperties() local 1632 sal_Int32 nCount32 = nLen / 4; in operator ()() 1633 sal_Int32 nMod32 = nLen % 4; in operator ()() 2272 for( i = 0 ; i < nLen ; i++ ) in implInspect() 2383 for( i = 0 ; i < nLen ; i++ ) in implInspect() 2982 sal_Int32 nLen = fields.getLength(); in implInspect() local [all …]
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | webdavresponseparser.cxx | 209 const sal_Int32 nLen(aName.getLength()); in parseForNamespaceTokens() local 211 if(nLen) in parseForNamespaceTokens() 217 if(-1 != nIndex && nIndex + 1 < nLen) in parseForNamespaceTokens() 251 const sal_Int32 nLen(rSource.getLength()); in splitName() local 255 if(nLen) in splitName() 458 const sal_Int32 nLen(aName.getLength()); in startElement() local 460 if(nLen) in startElement() 573 const sal_Int32 nLen(aName.getLength()); in endElement() local 576 if(mpContext && nLen) in endElement() 947 const sal_Int32 nLen(aChars.getLength()); in characters() local [all …]
|
/trunk/main/io/source/stm/ |
H A D | streamhelper.cxx | 159 sal_Int32 nLen = seq.getLength(); in writeAt() local 161 if( nPos < 0 || nPos > std::numeric_limits< sal_Int32 >::max() - nLen ) in writeAt() 166 if( nPos + nLen - m_nOccupiedBuffer > 0 ) { in writeAt() 175 if( nLen + nStartWritingIndex > m_nBufferLen ) { in writeAt() 179 nLen - (m_nBufferLen-nStartWritingIndex) ); in writeAt() 184 memcpy( &( m_p[nStartWritingIndex]), seq.getConstArray() , nLen ); in writeAt()
|
/trunk/main/comphelper/source/eventattachermgr/ |
H A D | eventattachermgr.cxx | 588 sal_Int32 nLen = ScriptEvents.getLength(); in registerScriptEvents() local 589 for( sal_Int32 i = 0 ; i < nLen ; i++ ) in registerScriptEvents() 794 for(sal_Int32 i = 0; i < nLen; ++i ) in attach() 855 for( sal_Int32 i = 0; i < nLen; i++ ) in detach() 939 sal_Int32 nLen = (*aIt).aEventList.getLength(); in write() 941 OutStream->writeLong( nLen ); in write() 943 for( sal_Int32 i = 0; i < nLen; i++ ) in write() 978 sal_Int32 nLen = InStream->readLong(); in read() local 1009 if( nRealLen != nLen ) in read() 1013 if( nRealLen > nLen || nVersion == 1 ) in read() [all …]
|
/trunk/main/basic/source/comp/ |
H A D | scanner.cxx | 179 sal_Int32 nLen = aBuf.getLength(); in NextSym() local 180 if( nBufPos >= nLen ) in NextSym() 184 while( ( n < nLen ) && ( *p2 != '\n' ) && ( *p2 != '\r' ) ) in NextSym() 191 if( n < nLen ) in NextSym() 500 sal_uInt16 nLen = String( pLine ).Len(); in NextSym() local 501 if( bCompatible && pLine[ nLen - 1 ] == '_' && pLine[ nLen - 2 ] == ' ' ) in NextSym() 503 nCol2 = nCol2 + nLen; in NextSym()
|
/trunk/main/extensions/source/update/check/ |
H A D | download.cxx | 78 sal_Int32 nLen = aURL.getLength(); in openFile() local 79 while( (nLen > 0) && ('/' == aURL[nLen-1]) ) in openFile() 80 aURL = aURL.copy(0, --nLen); in openFile() 379 sal_Int32 nLen = aURL.getLength(); in start() local 380 while( (nLen > 0) && ('/' == aURL[ nLen-1 ]) ) in start() 381 aURL = aURL.copy( 0, --nLen ); in start()
|
/trunk/main/forms/source/component/ |
H A D | EditBase.cxx | 209 sal_Int32 nLen = _rxInStream->readLong(); in readCommonEditProperties() local 222 _rxInStream->skipBytes(nLen); in readCommonEditProperties() 234 sal_Int32 nLen = 0; in writeCommonEditProperties() local 235 _rxOutStream->writeLong(nLen); in writeCommonEditProperties() 243 nLen = xMark->offsetToMark(nMark) - sizeof(nLen); in writeCommonEditProperties() 245 _rxOutStream->writeLong(nLen); in writeCommonEditProperties()
|
/trunk/main/xmloff/source/transform/ |
H A D | FormPropOASISTContext.cxx | 53 sal_Int32 nLen = rValue.getLength(); in GetValueType() local 56 while( nPos < nLen && sal_Unicode(' ') == rValue[nPos] ) in GetValueType() 59 if( nPos < nLen && sal_Unicode('-') == rValue[nPos] ) in GetValueType() 67 while( nPos < nLen && in GetValueType() 78 while( nPos < nLen && sal_Unicode(' ') == rValue[nPos] ) in GetValueType() 81 if( nPos == nLen ) in GetValueType()
|
/trunk/main/sc/source/ui/pagedlg/ |
H A D | areasdlg.cxx | 243 xub_StrLen nLen = aVal.Len(); in AddRefEntry() local 244 aEdPrintArea.SetSelection( Selection( nLen, nLen ) ); in AddRefEntry() 707 xub_StrLen nLen = aStr.Len(); in lcl_CheckOne_OOO() local 709 sal_Bool bStrOk = ( nLen > 0 ) && ( bIsRow ? ( nLen < 6 ) : ( nLen < 4 ) ); in lcl_CheckOne_OOO() 750 xub_StrLen nLen = rStr.Len(); in lcl_CheckOne_XL_R1C1() local 751 if (nLen <= 1) in lcl_CheckOne_XL_R1C1() 813 xub_StrLen nLen = rStr.Len(); in lcl_CheckRepeatString() local 815 for (xub_StrLen i = 0; i < nLen; ++i) in lcl_CheckRepeatString()
|
/trunk/main/oox/source/xls/ |
H A D | biffcodec.cxx | 111 sal_Int32 nLen = aBytePassword.getLength(); in implVerifyPassword() local 112 if( (0 < nLen) && (nLen < 16) ) in implVerifyPassword() 194 sal_Int32 nLen = rPassword.getLength(); in implVerifyPassword() local 195 if( (0 < nLen) && (nLen < 16) ) in implVerifyPassword() 200 const sal_Unicode* pcCharEnd = pcChar + nLen; in implVerifyPassword()
|
/trunk/main/basic/source/sbx/ |
H A D | sbxexec.cxx | 72 sal_uInt16 nLen = 0; in Symbol() local 78 p++, nLen++; in Symbol() 91 p++, nLen++; in Symbol() 97 rSym.Erase( nLen ); in Symbol() 154 sal_uInt16 nLen; in Operand() local 155 if( !refVar->Scan( XubString( p ), &nLen ) ) in Operand() 158 p += nLen; in Operand()
|
/trunk/main/vcl/test/ |
H A D | canvasbitmaptest.cxx | 716 const sal_Size nLen(aTemp.getLength()); in convertIntegerToRGB() local 717 uno::Sequence< rendering::RGBColor > aRes( nLen ); in convertIntegerToRGB() 719 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerToRGB() 732 const sal_Size nLen( deviceColor.getLength() ); in convertIntegerToARGB() local 734 test(nLen%nBytesPerPixel==0, in convertIntegerToARGB() 742 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerToARGB() 753 for( sal_Size i=0; i<nLen; i+=4 ) in convertIntegerToARGB() 769 const sal_Size nLen( deviceColor.getLength() ); in convertIntegerToPARGB() local 771 test(nLen%nBytesPerPixel==0, in convertIntegerToPARGB() 779 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerToPARGB() [all …]
|
/trunk/main/sal/inc/osl/ |
H A D | profile.hxx | 164 int nLen; in getSectionEntries() local 165 for( n = 0; ( nLen = strlen( pBuf+n ) ); n += nLen+1 ) in getSectionEntries() 187 int nLen; in getSections() local 188 for( n = 0; ( nLen = strlen( pBuf+n ) ); n += nLen+1 ) in getSections()
|
/trunk/main/svx/source/xoutdev/ |
H A D | xtabhtch.cxx | 127 xub_StrLen nLen; in Create() local 130 nLen = aStr.Len() - 1; in Create() 132 aStr.SetChar(nLen, sal_Unicode('2')); in Create() 134 aStr.SetChar(nLen, sal_Unicode('3')); in Create() 213 static const sal_uInt32 nLen(8); in CreateBitmapForUI() local 217 aVirtualDevice.DrawCheckered(aNull, rSize, nLen, aW, aG); in CreateBitmapForUI()
|
/trunk/main/stoc/source/typeconv/ |
H A D | convert.cxx | 145 sal_Int32 nLen = rStr.getLength(); in getNumericValue() local 146 if (!nLen || (nLen == 1 && rStr[0] == '0')) // common case in getNumericValue() 191 nLen = trim.getLength(); in getNumericValue() 195 if (nLen && (trim[0] == '-' || trim[0] == '+')) in getNumericValue() 198 while (nPos < nLen) // skip leading zeros in getNumericValue() 205 while (nPos < nLen) // skip trailing zeros in getNumericValue() 223 sal_Int32 nLen = rStr.getLength(); in getHyperValue() local 224 if (!nLen || (nLen == 1 && rStr[0] == '0')) // common case in getHyperValue()
|
/trunk/main/sal/qa/rtl/digest/ |
H A D | rtl_digest.cxx | 769 sal_Int32 nLen = aMsg1.getLength(); in TEST_F() local 771 rtlDigestError aError = rtl_digest_MD2(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_MD2); in TEST_F() 805 sal_Int32 nLen = aMsg1.getLength(); in TEST_F() local 807 rtlDigestError aError = rtl_digest_MD5(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_MD5); in TEST_F() 842 sal_Int32 nLen = aMsg1.getLength(); in TEST_F() local 844 rtlDigestError aError = rtl_digest_SHA(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_SHA); in TEST_F() 878 sal_Int32 nLen = aMsg1.getLength(); in TEST_F() local 880 rtlDigestError aError = rtl_digest_SHA1(pMsg1, nLen, pBuffer, RTL_DIGEST_LENGTH_SHA1); in TEST_F() 918 sal_Int32 nLen = aMsg1.getLength(); in TEST_F() local 920 …rtlDigestError aError = rtl_digest_HMAC_MD5(pKeyBuffer, RTL_DIGEST_LENGTH_HMAC_MD5, pMsg1, nLen, p… in TEST_F() [all …]
|
/trunk/main/editeng/source/misc/ |
H A D | unolingu.cxx | 177 sal_Int32 nLen = rAvailSvcs.getLength(); in lcl_GetNewEntries() local 178 Sequence< OUString > aRes( nLen ); in lcl_GetNewEntries() 183 for (sal_Int32 i = 0; i < nLen; ++i) in lcl_GetNewEntries() 208 sal_Int32 nLen = rSeq.getLength(); in lcl_MergeSeq() local 210 for (sal_Int32 i = 0; i < nLen; ++i) in lcl_MergeSeq() 521 sal_Int32 nLen = aNodeNames.getLength(); in GetCfgLocales() local 524 for (sal_Int32 i = 0; i < nLen; ++i) in GetCfgLocales() 580 sal_Int32 nLen = pLocaleSeq->getLength(); in hasLocale() local 582 const Locale *pEnd = pLocale + nLen; in hasLocale() 1289 sal_Int32 nIdx = nLen - 1; in SvxGetAltSpelling() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | unovwr.cxx | 350 xub_StrLen nStart, nLen; member 354 nNdIdx( nNd ), nStart( nStt ), nLen( nStrLen ) in _UndoTransliterate_Data() 406 xub_StrLen nStart, xub_StrLen nLen, in AddChanges() argument 412 rTNd.GetTxt().Copy( nStart, nLen )); in AddChanges() 423 pNew->pOffsets = new Sequence <sal_Int32> ( nLen ); in AddChanges() 477 Sequence <sal_Int32> aOffsets( pOffsets ? pOffsets->getLength() : nLen ); in SetChangeAtNode() 483 for( xub_StrLen n = 0; n < nLen; ++n, ++p ) in SetChangeAtNode() 486 pTNd->ReplaceTextOnly( nStart, nLen, sText, aOffsets ); in SetChangeAtNode()
|
/trunk/main/comphelper/source/misc/ |
H A D | docpasswordhelper.cxx | 182 sal_uInt32 nLen = aUString.getLength(); in GetWordHashAsUINT32() local 184 if ( nLen ) in GetWordHashAsUINT32() 186 if ( nLen > 15 ) in GetWordHashAsUINT32() 187 nLen = 15; in GetWordHashAsUINT32() 189 sal_uInt16 nHighResult = pInitialCode[nLen - 1]; in GetWordHashAsUINT32() 193 for ( sal_uInt32 nInd = 0; nInd < nLen; nInd++ ) in GetWordHashAsUINT32() 204 nHighResult = nHighResult ^ pEncryptionMatrix[15 - nLen + nInd][nMatrixInd]; in GetWordHashAsUINT32() 210 …_uInt16)( ( ( ( nLowResult >> 14 ) & 0x001 ) | ( ( nLowResult << 1 ) & 0x7FF ) ) ^ nLen ^ 0xCE4B ); in GetWordHashAsUINT32()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par4.cxx | 491 const sal_uInt8* pData, short nLen ) in Read_CRevisionMark() argument 532 if (nLen < 0) in Read_CRevisionMark() 556 void SwWW8ImplReader::Read_CFRMark(sal_uInt16 , const sal_uInt8* pData, short nLen) in Read_CFRMark() argument 558 Read_CRevisionMark( nsRedlineType_t::REDLINE_INSERT, pData, nLen ); in Read_CFRMark() 562 void SwWW8ImplReader::Read_CFRMarkDel(sal_uInt16 , const sal_uInt8* pData, short nLen) in Read_CFRMarkDel() argument 564 Read_CRevisionMark( nsRedlineType_t::REDLINE_DELETE, pData, nLen ); in Read_CFRMarkDel() 568 void SwWW8ImplReader::Read_CPropRMark(sal_uInt16 , const sal_uInt8* pData, short nLen) in Read_CPropRMark() argument 574 Read_CRevisionMark( nsRedlineType_t::REDLINE_FORMAT, pData, nLen ); in Read_CPropRMark()
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeTypeNames.cxx | 299 int i, nLen = rShapeType.getLength(); in Get() local 300 char* pBuf = new char[ nLen + 1 ]; in Get() 301 for ( i = 0; i < nLen; i++ ) in Get() 551 int i, nLen = rShapeType.getLength(); in GetAccName() local 552 char* pBuf = new char[ nLen + 1 ]; in GetAccName() 553 for ( i = 0; i < nLen; i++ ) in GetAccName()
|