/core/cui/source/dialogs/ |
H A D | widgettestdlg.cxx | 41 for (size_t nCount = 0; nCount < 4; nCount++) in FillTreeView() local 43 OUString sText = OUString::Concat("Test ") + OUString::Concat(OUString::number(nCount)); in FillTreeView() 46 m_xTreeView->set_image(*xEntry, (nCount % 2 == 0) ? aImage1 : aImage2); in FillTreeView() 49 m_xTreeView2->set_image(nCount, (nCount % 2 == 0) ? aImage1 : aImage2); in FillTreeView() 50 m_xTreeView2->set_text(nCount, u"First Column"_ustr, 0); in FillTreeView() 52 nCount, OUString::Concat("Row ") + OUString::Concat(OUString::number(nCount)), 1); in FillTreeView() 53 m_xTreeView2->set_id(nCount, OUString::number(nCount)); in FillTreeView()
|
/core/vcl/source/filter/ipbm/ |
H A D | ipbm.cxx | 120 …lette[i] = Color( static_cast<sal_uInt8>(nCount), static_cast<sal_uInt8>(nCount), static_cast<sal_… in ReadPBM() 144 sal_uInt8 nMax, nCount = 0; in ImplReadHeader() local 201 nCount++; in ImplReadHeader() 216 if ( nCount == 0 ) in ImplReadHeader() 264 sal_uInt8 nDat = 0, nCount; in ImplReadBody() local 387 nCount = 0; in ImplReadBody() 392 if ( nCount ) in ImplReadBody() 394 nCount--; in ImplReadBody() 419 nCount++; in ImplReadBody() 460 nCount = 0; in ImplReadBody() [all …]
|
/core/xmloff/source/text/ |
H A D | XMLTextCharStyleNamesElementExport.cxx | 40 nCount( 0 ) in XMLTextCharStyleNamesElementExport() 50 nCount = aNames.getLength(); in XMLTextCharStyleNamesElementExport() 51 OSL_ENSURE( nCount > 0, "no char style found" ); in XMLTextCharStyleNamesElementExport() 52 if ( bAllStyles ) ++nCount; in XMLTextCharStyleNamesElementExport() 53 if( nCount > 1 ) in XMLTextCharStyleNamesElementExport() 57 for( sal_Int32 i = 1; i < nCount; ++i ) in XMLTextCharStyleNamesElementExport() 68 if( nCount > 1 ) in ~XMLTextCharStyleNamesElementExport() 70 for( sal_Int32 i = 1; i < nCount; ++i ) in ~XMLTextCharStyleNamesElementExport()
|
/core/sal/osl/unx/ |
H A D | interlck.cxx | 41 register oslInterlockedCount nCount asm("%eax"); in osl_incrementInterlockedCount() 42 nCount = 1; in osl_incrementInterlockedCount() 46 : "+r" (nCount), "+m" (*pCount) in osl_incrementInterlockedCount() 49 return ++nCount; in osl_incrementInterlockedCount() 54 register oslInterlockedCount nCount asm("%eax"); in osl_decrementInterlockedCount() 55 nCount = -1; in osl_decrementInterlockedCount() 59 : "+r" (nCount), "+m" (*pCount) in osl_decrementInterlockedCount() 62 return --nCount; in osl_decrementInterlockedCount()
|
/core/basegfx/source/polygon/ |
H A D | b3dpolygon.cxx | 177 if(nCount) in insert() 190 if(nCount) in insert() 203 if(nCount) in remove() 316 if(nCount) in insert() 332 if(nCount) in insert() 348 if(nCount) in remove() 456 if(nCount) in insert() 472 if(nCount) in insert() 488 if(nCount) in remove() 604 if(nCount) in insert() [all …]
|
H A D | b2dpolypolygon.cxx | 110 assert(nCount > 0); in insert() 121 void reserve(sal_uInt32 nCount) in reserve() argument 123 maPolygons.reserve(nCount); in reserve() 140 assert(nCount > 0); in remove() 144 auto aEnd(aStart + nCount); in remove() 280 if(nCount) in insert() 286 if(nCount) in append() 292 if(nCount) in reserve() 293 mpPolyPolygon->reserve(nCount); in reserve() 339 if(nCount) in remove() [all …]
|
H A D | b2dpolygon.cxx | 42 : maVector(nCount) in CoordinateDataArray2D() 85 assert(nCount > 0); in insert() 115 assert(nCount > 0); in remove() 231 : maVector(nCount), in ControlVectorArray2D() 344 assert(nCount > 0); in insert() 818 if(nCount) in appendBezierSegment() 1184 if(nCount) in insert() 1192 if(nCount) in append() 1410 if(!nCount) in append() 1413 if (!nCount) in append() [all …]
|
/core/comphelper/source/property/ |
H A D | propertysethelper.cxx | 114 if( nCount != rValues.getLength() ) in setPropertyValues() 117 if( !nCount ) in setPropertyValues() 121 pEntries[nCount] = nullptr; in setPropertyValues() 123 for (sal_Int32 n = 0; n < nCount; n++) in setPropertyValues() 137 if( !nCount ) in getPropertyValues() 142 for (sal_Int32 n = 0; n < nCount; n++) in getPropertyValues() 149 pEntries[nCount] = nullptr; in getPropertyValues() 150 Sequence< Any > aValues(nCount); in getPropertyValues() 194 if( nCount ) in getPropertyStates() 199 for (n = 0; n < nCount; n++) in getPropertyStates() [all …]
|
/core/sc/source/ui/view/ |
H A D | gridmerg.cxx | 39 , nCount(0) in ScGridMerger() 55 if ( nCount ) in AddLine() 73 else if ( nCount == 1 ) in AddLine() 76 ++nCount; in AddLine() 81 ++nCount; in AddLine() 84 if ( !nCount ) in AddLine() 92 nCount = 1; in AddLine() 186 if (!nCount) in Flush() 191 if ( nCount == 1 ) in Flush() 212 if ( nCount == 1 ) in Flush() [all …]
|
/core/connectivity/source/drivers/dbase/ |
H A D | dindexnode.cxx | 73 , nCount(0) in ONDXPage() 115 nCount = 0; in QueryDelete() 168 else if (i == nCount) in Find() 314 if (nCount) in Insert() 316 ++nCount; in Insert() 323 nCount++; in Insert() 447 for (sal_uInt16 i = nCount - (nCount / 2), j = 0 ; i < nCount; i++) in Split() 452 nCount = nCount - (nCount / 2); in Split() 461 for (sal_uInt16 i = (nCount + 1) / 2 + 1, j = 0 ; i < nCount; i++) in Split() 465 nCount = (nCount + 1) / 2; in Split() [all …]
|
/core/svx/source/table/ |
H A D | tablemodel.cxx | 58 if( (nIndex + nCount) >= nSize ) in remove_range() 74 if( nCount ) in insert_range() 583 if( !(nCount && mpTableObj) ) in insertColumns() 639 nColSpan += nCount; in insertColumns() 672 nCount = nColCount - nIndex; in removeColumns() 685 nColCount = nIndex + nCount + 1; in removeColumns() 773 if( !(nCount && mpTableObj) ) in insertRows() 785 RowVector aNewRows(nCount); in insertRows() 813 nRowSpan += nCount; in insertRows() 849 nCount = nRowCount - nIndex; in removeRows() [all …]
|
/core/test/source/sheet/ |
H A D | xlabelranges.cxx | 27 const sal_Int32 nCount = xLabelRanges->getCount(); in testAddNew() local 31 CPPUNIT_ASSERT_MESSAGE("Unable to add new range", nCount < xLabelRanges->getCount()); in testAddNew() 38 const sal_Int32 nCount = xLabelRanges->getCount(); in testRemoveByIndex() local 39 xLabelRanges->removeByIndex(nCount - 1); in testRemoveByIndex() 40 CPPUNIT_ASSERT_EQUAL_MESSAGE("Unable to remove range", (nCount - 1), xLabelRanges->getCount()); in testRemoveByIndex()
|
/core/svx/source/sdr/contact/ |
H A D | viewcontact.cxx | 70 const sal_uInt32 nCount(maViewObjectContactVector.size()); in GetViewObjectContact() local 73 for (sal_uInt32 a(0); !pRetval && a < nCount; a++) in GetViewObjectContact() 116 const sal_uInt32 nCount(maViewObjectContactVector.size()); in HasViewObjectContacts() local 118 for (sal_uInt32 a(0); a < nCount; a++) in HasViewObjectContacts() 132 const sal_uInt32 nCount(maViewObjectContactVector.size()); in isAnimatedInAnyViewObjectContact() local 134 for (sal_uInt32 a(0); a < nCount; a++) in isAnimatedInAnyViewObjectContact() 174 for (sal_uInt32 a(0); a < nCount; a++) in ActionChildInserted() 193 for (sal_uInt32 a(0); a < nCount; a++) in ActionChanged() 211 for (sal_uInt32 a(0); a < nCount; a++) in ActionChangedIfDifferentPageView() 306 const sal_uInt32 nCount(GetObjectCount()); in flushViewObjectContacts() local [all …]
|
/core/i18npool/source/transliteration/ |
H A D | ignoreKiKuFollowedBySa_ja_JP.cxx | 29 …ja_JP::foldingImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in foldingImpl() argument 33 rtl_uString * newStr = rtl_uString_alloc(nCount); in foldingImpl() 39 pOffset->realloc( nCount ); in foldingImpl() 49 while (-- nCount > 0) { in foldingImpl() 59 nCount --; in foldingImpl() 68 if (nCount == 0) { in foldingImpl()
|
H A D | ignoreIandEfollowedByYa_ja_JP.cxx | 68 …ja_JP::foldingImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in foldingImpl() argument 72 rtl_uString * newStr = rtl_uString_alloc(nCount); in foldingImpl() 78 pOffset->realloc( nCount ); in foldingImpl() 91 while (-- nCount > 0) { in foldingImpl() 101 nCount --; in foldingImpl() 110 if (nCount == 0) { in foldingImpl()
|
H A D | transliteration_body.cxx | 94 const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, in transliterateImpl() argument 111 if (nCount <= nLocalBuf) in transliterateImpl() 115 pHeapBuf.reset(new sal_Unicode[ nCount * NMAPPINGMAX ]); in transliterateImpl() 126 sal_Int32 nOffsetCount = std::max<sal_Int32>(nLocalBuf, nCount); in transliterateImpl() 136 for (sal_Int32 i = 0; i < nCount; i++) in transliterateImpl() 152 for ( sal_Int32 i = 0; i < nCount; i++) in transliterateImpl() 194 return transliterateImpl(inStr, startPos, nCount, pOffset); in foldingImpl() 238 std::u16string_view inStr, sal_Int32 startPos, sal_Int32 nCount, in transliterate_titlecase_Impl() argument 242 const OUString aText( inStr.substr( startPos, nCount ) ); in transliterate_titlecase_Impl() 282 const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, in transliterateImpl() argument [all …]
|
H A D | halfwidthToFullwidth.cxx | 38 …:transliterateImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in transliterateImpl() argument 41 …const OUString& newStr = transliteration_OneToOne::transliterateImpl( inStr, startPos, nCount, nul… in transliterateImpl() 56 …:transliterateImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in transliterateImpl() argument 59 …const OUString& newStr = transliteration_OneToOne::transliterateImpl( inStr, startPos, nCount, nul… in transliterateImpl() 74 …:transliterateImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in transliterateImpl() argument 77 …const OUString& newStr = transliteration_OneToOne::transliterateImpl( inStr, startPos, nCount, nul… in transliterateImpl()
|
/core/sw/source/filter/ww8/ |
H A D | WW8Sttbf.cxx | 71 sal_Int32 nCount) in getUString() argument 75 if (nCount > 0) in getUString() 82 if (o3tl::make_unsigned(nCount) > nAvailable) in getUString() 83 nCount = nAvailable; in getUString() 84 OUStringBuffer aBuf(nCount); in getUString() 85 for (sal_Int32 i = 0; i < nCount; ++i) in getUString() 91 << "\" count=\"" << nCount << "\">" << aResult << "</WW8Struct-getUString>" ); in getUString()
|
/core/tools/source/stream/ |
H A D | stream.cxx | 1070 nCount = GetData( pData,nCount); in ReadBytes() 1104 nCount = GetData( pData, nCount ); in ReadBytes() 1139 return nCount; in ReadBytes() 1144 if( !nCount ) in WriteBytes() 1156 nCount = CryptAndWriteBuffer( pData, nCount ); in WriteBytes() 1158 nCount = PutData( pData, nCount ); in WriteBytes() 1190 nCount = CryptAndWriteBuffer( pData, nCount ); in WriteBytes() 1192 nCount = PutData( pData, nCount ); in WriteBytes() 1209 return nCount; in WriteBytes() 1337 return nCount; in CryptAndWriteBuffer() [all …]
|
/core/dbaccess/source/ui/misc/ |
H A D | singledoccontroller.cxx | 112 size_t nCount(GetUndoManager().GetUndoActionCount()); in GetState() local 113 Sequence<OUString> aSeq(nCount); in GetState() 115 for (size_t n = 0; n < nCount; ++n) in GetState() 124 size_t nCount(GetUndoManager().GetRedoActionCount()); in GetState() local 125 Sequence<OUString> aSeq(nCount); in GetState() 127 for (size_t n = 0; n < nCount; ++n) in GetState() 146 sal_Int16 nCount(1); in Execute() local 148 _rArgs[0].Value >>= nCount; in Execute() 150 while (nCount--) in Execute()
|
/core/sc/source/core/tool/ |
H A D | interpr6.cxx | 101 int nCount=1; in GetGammaSeries() local 107 nCount = nCount+1; in GetGammaSeries() 111 if (nCount>10000) in GetGammaSeries() 448 fRes = nCount; in lcl_IterResult() 451 if ( !nCount ) in lcl_IterResult() 468 sal_uLong nCount = 0; in IterateParameters() local 531 nCount++; in IterateParameters() 572 nCount++; in IterateParameters() 597 nCount++; in IterateParameters() 713 nCount = 0; in IterateParameters() [all …]
|
/core/i18nutil/source/utility/ |
H A D | widthfolding.cxx | 42 …voiced_sound_marks (const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in decompose_ja_voiced_sound_marks() argument 47 rtl_uString * newStr = rtl_uString_alloc(nCount * 2); in decompose_ja_voiced_sound_marks() 53 pOffset->realloc( nCount * 2 ); in decompose_ja_voiced_sound_marks() 63 while (nCount -- > 0) { in decompose_ja_voiced_sound_marks() 104 …voiced_sound_marks (const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int… in compose_ja_voiced_sound_marks() argument 109 rtl_uString * newStr = rtl_uString_alloc(nCount); in compose_ja_voiced_sound_marks() 116 if (nCount > 0) { in compose_ja_voiced_sound_marks() 131 pOffset->realloc( nCount ); in compose_ja_voiced_sound_marks() 141 while (-- nCount > 0) { in compose_ja_voiced_sound_marks() 174 nCount --; in compose_ja_voiced_sound_marks() [all …]
|
/core/sc/source/filter/xml/ |
H A D | XMLCodeNameProvider.cxx | 68 SCTAB nCount = mpDoc->GetTableCount(); in hasByName() local 70 for( SCTAB i = 0; i < nCount; i++ ) in hasByName() 92 SCTAB nCount = mpDoc->GetTableCount(); in getByName() local 94 for( SCTAB i = 0; i < nCount; i++ ) in getByName() 109 SCTAB nCount = mpDoc->GetTableCount() + 1; in getElementNames() local 111 aNames.reserve(nCount); in getElementNames() 117 for( SCTAB i = 0; i < nCount; i++ ) in getElementNames() 140 SCTAB nCount = mpDoc->GetTableCount(); in hasElements() local 142 for( SCTAB i = 0; i < nCount; i++ ) in hasElements() 164 SCTAB nCount = pDoc->GetTableCount(); in set() local [all …]
|
/core/svgio/source/svgreader/ |
H A D | svgtextnode.cxx | 105 const sal_uInt32 nCount(rChildren.size()); in DecomposeChild() local 107 if(nCount && rSvgTextPathNode.isValid()) in DecomposeChild() 114 for(sal_uInt32 a(0); a < nCount; a++) in DecomposeChild() 141 const sal_uInt32 nCount(rChildren.size()); in DecomposeChild() local 143 if(nCount) in DecomposeChild() 148 for(sal_uInt32 a(0); a < nCount; a++) in DecomposeChild() 170 const sal_uInt32 nCount(rChildren.size()); in DecomposeChild() local 173 if(nCount) in DecomposeChild() 175 for(sal_uInt32 a(0); a < nCount; a++) in DecomposeChild() 218 const sal_uInt32 nCount(rChildren.size()); in decomposeSvgNode() local [all …]
|
/core/sc/source/ui/docshell/ |
H A D | pagedata.cxx | 36 void ScPrintRangeData::SetPagesX( size_t nCount, const SCCOL* pData ) in SetPagesX() argument 38 mvPageEndX.resize( nCount ); in SetPagesX() 39 memcpy( mvPageEndX.data(), pData, nCount * sizeof(SCCOL) ); in SetPagesX() 42 void ScPrintRangeData::SetPagesY( size_t nCount, const SCROW* pData ) in SetPagesY() argument 44 mvPageEndY.resize(nCount); in SetPagesY() 45 memcpy( mvPageEndY.data(), pData, nCount * sizeof(SCROW) ); in SetPagesY()
|