/trunk/main/framework/source/jobs/ |
H A D | job.cxx | 445 sal_Int32 nLength = lAllArgs.getLength(); in impl_generateJobArgs() local 446 lAllArgs.realloc(nLength+1); in impl_generateJobArgs() 448 lAllArgs[nLength].Value <<= lConfigArgs; in impl_generateJobArgs() 452 sal_Int32 nLength = lAllArgs.getLength(); in impl_generateJobArgs() local 453 lAllArgs.realloc(nLength+1); in impl_generateJobArgs() 459 sal_Int32 nLength = lAllArgs.getLength(); in impl_generateJobArgs() local 460 lAllArgs.realloc(nLength+1); in impl_generateJobArgs() 462 lAllArgs[nLength].Value <<= lEnvArgs; in impl_generateJobArgs() 466 sal_Int32 nLength = lAllArgs.getLength(); in impl_generateJobArgs() local 467 lAllArgs.realloc(nLength+1); in impl_generateJobArgs() [all …]
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 298 long nLength = aDown.Y() - aUp.Y(); in DrawPage() local 299 nLength -= nLength * pColMgr->GetLineHeightPercent() / 100; in DrawPage() 303 case COLADJ_TOP: aDown.Y() -= nLength; break; in DrawPage() 305 aUp.Y() += nLength / 2; in DrawPage() 306 aDown.Y() -= nLength / 2; in DrawPage() 396 long nLength = aLogSize.Height() - 2 * aTL.Y(); in Paint() local 398 Point aDown( aTL.X(), nLength ); in Paint() 407 nLength -= nLength * nPercent / 100; in Paint() 411 case COLADJ_TOP: aDown.Y() -= nLength; break; in Paint() 413 aUp.Y() += nLength / 2; in Paint() [all …]
|
/trunk/main/accessibility/source/standard/ |
H A D | vclxaccessiblebutton.cxx | 165 sal_Int32 nLength = aName.getLength(); in getAccessibleName() local 167 if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM("..."), nLength - 3 ) ) in getAccessibleName() 169 if ( nLength == 3 ) in getAccessibleName() 177 aName = aName.copy( 0, nLength - 3 ); in getAccessibleName() 180 else if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM("<< "), 0 ) ) in getAccessibleName() 183 aName = aName.copy( 3, nLength - 3 ); in getAccessibleName() 185 else if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM(" >>"), nLength - 3 ) ) in getAccessibleName() 188 aName = aName.copy( 0, nLength - 3 ); in getAccessibleName()
|
/trunk/main/svl/source/misc/ |
H A D | sharecontrolfile.cxx | 174 sal_Int64 nLength = m_xSeekable->getLength(); in GetUsersData() local 175 if ( nLength > SAL_MAX_INT32 ) in GetUsersData() 178 uno::Sequence< sal_Int8 > aBuffer( (sal_Int32)nLength ); in GetUsersData() 181 sal_Int32 nRead = m_xInputStream->readBytes( aBuffer, (sal_Int32)nLength ); in GetUsersData() 182 nLength -= nRead; in GetUsersData() 183 while ( nLength > 0 ) in GetUsersData() 185 uno::Sequence< sal_Int8 > aTmpBuf( (sal_Int32)nLength ); in GetUsersData() 186 nRead = m_xInputStream->readBytes( aTmpBuf, (sal_Int32)nLength ); in GetUsersData() 187 if ( nRead > nLength ) in GetUsersData() 191 aBuffer[aBuffer.getLength() - (sal_Int32)nLength + nInd] = aTmpBuf[nInd]; in GetUsersData() [all …]
|
/trunk/main/sc/source/filter/lotus/ |
H A D | op.cxx | 580 if (nLength <= 4) in OP_SheetName123() 582 rStream.SeekRel(nLength); in OP_SheetName123() 595 sSheetName.reserve(nLength-4); in OP_SheetName123() 596 for (sal_uInt16 i = 4; i < nLength; ++i) in OP_SheetName123() 612 sal_uInt16 nOpcode, nLength; in OP_ApplyPatternArea123() local 617 rStream >> nOpcode >> nLength; in OP_ApplyPatternArea123() 633 if( nLength >= 2 ) in OP_ApplyPatternArea123() 655 rStream.SeekRel( nLength ); in OP_ApplyPatternArea123() 658 if( nLength >= 2 ) in OP_ApplyPatternArea123() 671 rStream.SeekRel( nLength ); in OP_ApplyPatternArea123() [all …]
|
/trunk/main/filter/source/xmlfilterdetect/ |
H A D | filterdetect.cxx | 110 sal_Int32 nLength; in detect() local 113 nLength = aArguments.getLength(); in detect() 114 sal_Int32 location=nLength; in detect() 115 for ( sal_Int32 i = 0 ; i < nLength; i++) in detect() 160 nLength = myTypes.getLength(); in detect() 165 while( (i < nLength) && (sTypeName.equalsAscii(""))) in detect() 234 aArguments.realloc(nLength+1); in detect() 269 sal_Int32 nLength = aArguments.getLength(); in initialize() local 270 if ( nLength && ( aArguments[0] >>= aAnySeq ) ) in initialize() 273 nLength = aAnySeq.getLength(); in initialize() [all …]
|
/trunk/main/forms/source/xforms/ |
H A D | model_ui.cxx | 277 sal_Int32 nLength = rString.getLength(); in lcl_isWhitespace() local 443 sal_Int32 nLength, in lcl_findProp() argument 448 for( ; !bFound && n < nLength; n++ ) in lcl_findProp() 458 sal_Int32 nLength = pInstances->countItems(); in lcl_findInstance() local 461 for( ; !bFound && n < nLength; n++ ) in lcl_findInstance() 481 sal_Int32 nLength = aSeq.getLength(); in renameInstance() local 487 aSeq.realloc( nLength + 1 ); in renameInstance() 490 nProp = nLength; in renameInstance() 653 for( sal_Int32 n = 0; n < nLength; n++ ) in renameNode() 806 sal_Int32 nLength = xNodes->getLength(); in lcl_serializeForDisplay() local [all …]
|
H A D | xmlhelper.cxx | 96 sal_Int32 nLength = sName.getLength(); in isValidQName() local 101 if( nLength > 0 ) in isValidQName() 104 for( sal_Int32 n = 1; n < nLength; n++ ) in isValidQName() 121 sal_Int32 nLength = sName.getLength(); in isValidPrefixName() local 125 if( nLength > 0 ) in isValidPrefixName() 128 for( sal_Int32 n = 1; n < nLength; n++ ) in isValidPrefixName()
|
/trunk/main/package/source/package/zipapi/ |
H A D | Inflater.cxx | 45 nLength(0), in Inflater() 78 nLength = rBuffer.getLength(); in setInput() 125 pStream->avail_in = nLength; in doInflateBytes() 140 nOffset += nLength - pStream->avail_in; in doInflateBytes() 141 nLength = pStream->avail_in; in doInflateBytes() 146 nOffset += nLength - pStream->avail_in; in doInflateBytes() 147 nLength = pStream->avail_in; in doInflateBytes() 152 if ( nLength && nNewLength ) in doInflateBytes()
|
/trunk/main/i18npool/source/textconversion/ |
H A D | textconversion_ko.cxx | 123 TextConversion_ko::getCharConversions(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength… in getCharConversions() argument 156 … rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength ); // defined in x_rtl_ustring.h in getCharConversions() 158 while (count < nLength) in getCharConversions() 203 TextConversion_ko::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument 218 else if (length > nLength) in getConversions() 219 length = nLength; in getConversions() 293 TextConversion_ko::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument 301 else if (length > nLength) in getConversion() 302 length = nLength; in getConversion() 327 …version_ko::getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversionWithOffset() argument [all …]
|
/trunk/main/svx/workben/msview/ |
H A D | xmlconfig.hxx | 41 virtual rtl::OUString format( SvStream& rStream, sal_Size& nLength ) const; 46 static rtl::OUString dump_hex( SvStream& rStream, sal_Size& nLength ); 47 static rtl::OUString dump_byte( SvStream& rStream, sal_Size& nLength ); 48 static rtl::OUString dump_uint( SvStream& rStream, sal_Size& nLength ); 49 static rtl::OUString dump_unistring( SvStream& rStream, sal_Size& nLength ); 50 static rtl::OUString dump_float( SvStream& rStream, sal_Size& nLength ); 81 virtual rtl::OUString format( SvStream& rStream, sal_Size& nLength ) const; 109 virtual rtl::OUString format( SvStream& rStream, sal_Size& nLength ) const;
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ |
H A D | OnewayExecutor.java | 199 int nLength = lArgs.length+1; in codeDispatch() local 201 lParams[0] = new Vector(nLength); in codeDispatch() 204 --nLength; in codeDispatch() 206 while (nLength>0) in codeDispatch() 209 --nLength; in codeDispatch() 215 int nLength = lParams[0].size()-1; in codeDispatch() local 218 lArgs[0] = new com.sun.star.beans.PropertyValue[nLength]; in codeDispatch() 221 while (nPos<nLength) in codeDispatch()
|
/trunk/main/svgio/source/svgreader/ |
H A D | svgtextpathnode.cxx | 62 …ge(sal_uInt32 nCount, basegfx::B2DHomMatrix& rNewTransform, sal_uInt32 nIndex, sal_uInt32 nLength); 87 const sal_uInt32 nLength(rText.getLength()); in getLength() local 89 if(nLength) in getLength() 91 return getTextLayouter().getTextWidth(rText, 0, nLength); in getLength() 168 …sal_uInt32 /*nCount*/, basegfx::B2DHomMatrix& rNewTransform, sal_uInt32 nIndex, sal_uInt32 nLength) in allowChange() argument 172 if(mfPosition < mfBasegfxPathLength && nLength && mnIndex < mnMaxIndex) in allowChange() 178 nLength)); in allowChange() 183 const ::rtl::OUString aTrimmedChars(aText.copy(nIndex, nLength).trim()); in allowChange() 466 const sal_Int32 nLength(rPathContent.getLength()); in decomposePathNode() local 469 while(fPosition < fBasegfxPathLength && nCurrent < nLength) in decomposePathNode()
|
H A D | svgcharacternode.cxx | 176 …ge(sal_uInt32 nCount, basegfx::B2DHomMatrix& rNewTransform, sal_uInt32 nIndex, sal_uInt32 nLength); 246 sal_uInt32 nLength(getText().getLength()); in createSimpleTextPrimitive() local 248 if(nLength) in createSimpleTextPrimitive() 299 if(!aTextArray.empty() && aTextArray.size() < nLength) in createSimpleTextPrimitive() 303 if(nArray < nLength) in createSimpleTextPrimitive() 316 …ctor< double > aExtendArray(aTextLayouterDevice.getTextArray(getText(), nArray, nLength - nArray)); in createSimpleTextPrimitive() 317 aTextArray.reserve(nLength); in createSimpleTextPrimitive() 328 double fTextWidth(aTextLayouterDevice.getTextWidth(getText(), nIndex, nLength)); in createSimpleTextPrimitive() 341 … aTextArray = aTextLayouterDevice.getTextArray(getText(), nIndex, nLength); in createSimpleTextPrimitive() 471 nLength, in createSimpleTextPrimitive() [all …]
|
/trunk/main/reportdesign/source/ui/dlg/ |
H A D | PageNumber.cxx | 136 sal_Int32 nLength = 0; in Execute() local 138 aValues[nLength].Name = PROPERTY_POSITION; in Execute() 139 aValues[nLength++].Value <<= awt::Point(nPosX,0); in Execute() 141 aValues[nLength].Name = PROPERTY_PAGEHEADERON; in Execute() 142 aValues[nLength++].Value <<= m_aTopPage.IsChecked(); in Execute() 144 aValues[nLength].Name = PROPERTY_STATE; in Execute() 145 aValues[nLength++].Value <<= m_aPageNofM.IsChecked(); in Execute()
|
/trunk/main/tools/bootstrp/ |
H A D | rscdep.cxx | 94 const sal_Int32 nLength (strlen(aBuf)); in main() local 97 printf("option %d is [%s] and has length %d\n", i, aBuf, (int)nLength); in main() 100 if (nLength == 0) in main() 105 if (aBuf[0] == '-' && nLength > 0) in main() 114 if (nLength>1 && aBuf[2] == '=' ) in main() 121 if (nLength>2 && aBuf[2] == 'o' && aBuf[3] == '=' ) in main() 125 else if (nLength>2 && aBuf[2] == 'p' && aBuf[3] == '=' ) in main()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ReportSection.cxx | 259 const sal_Int32 nLength = _aAllreadyCopiedObjects.getLength(); in Paste() local 261 const beans::NamedValue* pEnd = pIter + nLength; in Paste() 395 const sal_Int32 nLength = _rAllreadyCopiedObjects.getLength(); in Copy() local 396 _rAllreadyCopiedObjects.realloc( nLength + 1); in Copy() 839 sal_Int32 nLength = aCurrent.getLength(); in ExecuteDrop() local 840 if ( nLength ) in ExecuteDrop() 842 aCurrent.realloc(nLength + 3); in ExecuteDrop() 843 aCurrent[nLength].Name = PROPERTY_POSITION; in ExecuteDrop() 844 aCurrent[nLength++].Value <<= AWTPoint(aDropPos); in ExecuteDrop() 847 aCurrent[nLength++].Value <<= _rEvt.mnAction; in ExecuteDrop() [all …]
|
/trunk/main/automation/source/simplecm/ |
H A D | packethandler.cxx | 67 #define READ_SOCKET( pBuffer, nLength )\ argument 70 bWasError |= pReceiver->ReceiveBytes( pBuffer, nLength ) != C_ERROR_NONE;\ 73 #define READ_SOCKET_LEN( pBuffer, nLength, nTotal )\ argument 74 READ_SOCKET( pBuffer, nLength );\ 76 {nTotal += nLength;} 194 #define WRITE_SOCKET( pBuffer, nLength )\ argument 196 {bWasError |= pTransmitter->TransferBytes( pBuffer, nLength ) != C_ERROR_NONE;}
|
/trunk/main/sw/source/core/access/ |
H A D | accpara.cxx | 701 sal_Int32 nPos, sal_Int32 nLength) in IsValidChar() argument 703 return (nPos >= 0) && (nPos < nLength); in IsValidChar() 707 sal_Int32 nPos, sal_Int32 nLength) in IsValidPosition() argument 709 return (nPos >= 0) && (nPos <= nLength); in IsValidPosition() 715 return IsValidPosition(nBegin, nLength) && IsValidPosition(nEnd, nLength); in IsValidRange() 1508 if ( ! IsValidPosition( nIndex, nLength ) ) in setCaretPosition() 1914 sal_Int32 nLength = aValues.getLength(); in getCharacterAttributes() local 1917 for( i = 0; i < nLength; i++ ) in getCharacterAttributes() 1923 for( i = 0; i < nLength; i++ ) in getCharacterAttributes() 3243 for( i = 0; i < nLength; i++ ) in setAttributes() [all …]
|
/trunk/main/xmlsecurity/tools/uno/ |
H A D | AttributeListHelper.java | 52 int nLength = m_AttributeList.size(); in setAttribute() local 55 for (int i=0; i<nLength; ++i) in setAttribute() 113 int nLength = m_AttributeList.size(); in getTypeByName() local 116 for (int i=0; i<nLength; ++i) in getTypeByName() 130 int nLength = m_AttributeList.size(); in getValueByName() local 133 for (int i=0; i<nLength; ++i) in getValueByName()
|
/trunk/main/sd/source/core/ |
H A D | CustomAnimationEffect.cxx | 176 while( nLength-- ) in setNode() 414 if( nLength ) in get_node_type() 417 while( nLength-- ) in get_node_type() 446 if( nLength ) in setPresetClass() 449 while( nLength-- ) in setPresetClass() 487 if( nLength ) in setNodeType() 490 while( nLength-- ) in setNodeType() 528 if( nLength ) in setGroupId() 531 while( nLength-- ) in setGroupId() 1839 while( nLength-- ) in append() [all …]
|
/trunk/main/svx/source/items/ |
H A D | customshapeitem.cxx | 219 sal_Int32 nLength = aPropSeq.getLength(); in ClearPropertyValue() local 220 if ( nLength ) in ClearPropertyValue() 223 if ( nIndex != ( nLength - 1 ) ) // resizing sequence in ClearPropertyValue() 225 PropertyHashMap::iterator aHashIter2( aPropHashMap.find( aPropSeq[ nLength - 1 ].Name ) ); in ClearPropertyValue() 249 sal_Int32 nLength = rSecSequence.getLength(); in ClearPropertyValue() local 250 if ( nLength ) in ClearPropertyValue() 253 if ( nIndex != ( nLength - 1 ) ) // resizing sequence in ClearPropertyValue() 255 …hIter2( aPropPairHashMap.find( PropertyPair( rSequenceName, rSecSequence[ nLength - 1 ].Name ) ) ); in ClearPropertyValue() 257 rSecSequence[ nIndex ] = rSecSequence[ nLength - 1 ]; in ClearPropertyValue()
|
/trunk/main/sc/source/filter/xcl97/ |
H A D | XclExpChangeTrack.cxx | 56 DBG_ASSERT( nLength >= nStrBytes, "lcl_WriteFixedString - String too long" ); in lcl_WriteFixedString() 59 if( nLength > nStrBytes ) in lcl_WriteFixedString() 60 rStrm.WriteZeroBytes( nLength - nStrBytes ); in lcl_WriteFixedString() 518 nLength( rCopy.nLength ), in XclExpChTrAction() 536 nLength( 0 ), in XclExpChTrAction() 579 rStrm << nLength in SaveCont() 697 GetCellData( rAction.GetNewCell(), pNewData, nLength, nDummy16 ); in XclExpChTrCellContent() 837 nLength = 0x00000030; in XclExpChTrInsert() 910 nLength = 0x0000021C; in XclExpChTrInsertTab() 947 nLength = 0x00000042; in XclExpChTrMoveRange() [all …]
|
/trunk/main/svx/source/sidebar/ |
H A D | nbdtmg.cxx | 797 sal_uInt16 nLength = 0; in GetDescription() local 800 if ( nIndex >= nLength ) in GetDescription() 816 sal_uInt16 nLength = 0; in IsCustomized() local 819 if ( nIndex >= nLength ) in IsCustomized() 1649 sal_uInt16 nLength = 0; in GetDescription() local 1652 if ( nIndex >= nLength ) in GetDescription() 1663 sal_uInt16 nLength = 0; in IsCustomized() local 1666 if ( nIndex >= nLength ) in IsCustomized() 1870 if ( nIndex >= nLength ) in RelplaceNumRule() 2054 sal_uInt16 nLength = 0; in GetDescription() local [all …]
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | textbreakuphelper.cxx | 65 …kupPortion(Primitive2DVector& rTempResult, sal_uInt32 nIndex, sal_uInt32 nLength, bool bWordLineMo… in breakupPortion() argument 67 … if(nLength && !(nIndex == mrSource.getTextPosition() && nLength == mrSource.getTextLength())) in breakupPortion() 79 … mrSource.getDXArray().begin() + ((nIndex + nLength) - mrSource.getTextPosition())); in breakupPortion() 131 const bool bCreate(allowChange(rTempResult.size(), aNewTransform, nIndex, nLength)); in breakupPortion() 147 nLength, in breakupPortion() 177 nLength, in breakupPortion()
|