| /trunk/main/tools/source/memtools/ |
| H A D | contnr.cxx | 63 if ( p->nCount > p->nSize ) in DBG_NAME() 90 nCount = 0; in CBlock() 114 nCount = _nSize; in CBlock() 139 nCount = r.nCount; in CBlock() 143 memcpy( pNodes, r.pNodes, nCount*sizeof(PVOID) ); in CBlock() 177 DBG_ASSERT( nIndex <= nCount, "CBlock::Insert(): Index > nCount" ); in Insert() 180 if ( nCount == nSize ) in Insert() 187 if ( nCount == nIndex ) in Insert() 190 memcpy( pNewNodes, pNodes, nCount*sizeof(PVOID) ); in Insert() 198 (nCount-nIndex)*sizeof(PVOID) ); in Insert() [all …]
|
| /trunk/main/basegfx/source/polygon/ |
| H A D | b3dpolygon.cxx | 85 explicit CoordinateDataArray3D(sal_uInt32 nCount) in CoordinateDataArray3D() argument 86 : maVector(nCount) in CoordinateDataArray3D() 95 …CoordinateDataArray3D(const CoordinateDataArray3D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in CoordinateDataArray3D() argument 96 … : maVector(rOriginal.maVector.begin() + nIndex, rOriginal.maVector.begin() + (nIndex + nCount)) in CoordinateDataArray3D() 191 void insert(sal_uInt32 nIndex, const CoordinateData3D& rValue, sal_uInt32 nCount) in insert() argument 193 if(nCount) in insert() 198 maVector.insert(aIndex, nCount, rValue); in insert() 204 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local 206 if(nCount) in insert() 217 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument [all …]
|
| H A D | b2dpolygon.cxx | 70 explicit CoordinateDataArray2D(sal_uInt32 nCount) in CoordinateDataArray2D() argument 71 : maVector(nCount) in CoordinateDataArray2D() 80 …CoordinateDataArray2D(const CoordinateDataArray2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in CoordinateDataArray2D() argument 81 … : maVector(rOriginal.maVector.begin() + nIndex, rOriginal.maVector.begin() + (nIndex + nCount)) in CoordinateDataArray2D() 105 void reserve(sal_uInt32 nCount) in reserve() argument 107 maVector.reserve(nCount); in reserve() 115 void insert(sal_uInt32 nIndex, const CoordinateData2D& rValue, sal_uInt32 nCount) in insert() argument 117 if(nCount) in insert() 122 maVector.insert(aIndex, nCount, rValue); in insert() 128 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local [all …]
|
| /trunk/main/UnoControls/source/base/ |
| H A D | basecontainercontrol.cxx | 231 sal_uInt32 nCount = 0; in dispose() local 233 for ( nCount = 0; nCount < nMaxCount; ++nCount ) in dispose() 240 for ( nCount = 0; nCount < nCtrls; ++nCount ) in dispose() 242 …pCtrls [ nCount ] -> removeEventListener ( static_cast< XEventListener* >( static_cast< XWindow… in dispose() 243 pCtrls [ nCount ] -> dispose ( ) ; in dispose() 424 for( sal_uInt32 nCount = 0; nCount < nControls; ++nCount ) in getControl() local 426 IMPL_ControlInfo* pSearchControl = m_pControlInfoList->GetObject ( nCount ) ; in getControl() 452 sal_uInt32 nCount = 0 ; in getControls() local 455 for( nCount = 0; nCount < nControls; ++nCount ) in getControls() 457 IMPL_ControlInfo* pCopyControl = m_pControlInfoList->GetObject ( nCount ) ; in getControls() [all …]
|
| /trunk/main/tools/source/stream/ |
| H A D | stream.cxx | 182 ErrCode SvLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount, in ReadAt() argument 192 sal_Size nTheRead = m_pStream->Read(pBuffer, nCount); in ReadAt() 200 ErrCode SvLockBytes::WriteAt(sal_Size nPos, const void * pBuffer, sal_Size nCount, in WriteAt() argument 210 sal_Size nTheWritten = m_pStream->Write(pBuffer, nCount); in WriteAt() 295 ErrCode SvAsyncLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount, in ReadAt() argument 299 return SvOpenLockBytes::ReadAt(nPos, pBuffer, nCount, pRead); in ReadAt() 302 sal_Size nTheCount = std::min(nPos < m_nSize ? m_nSize - nPos : 0, nCount); in ReadAt() 305 return !nCount || nTheCount == nCount || nError ? nError : in ReadAt() 313 sal_Size nCount, sal_Size * pWritten) in WriteAt() argument 316 return SvOpenLockBytes::WriteAt(nPos, pBuffer, nCount, pWritten); in WriteAt() [all …]
|
| /trunk/main/svx/source/table/ |
| H A D | tablemodel.cxx | 67 …late< class Vec, class Iter > void remove_range( Vec& rVector, sal_Int32 nIndex, sal_Int32 nCount ) in remove_range() argument 70 if( nCount && (nIndex >= 0) && (nIndex < nSize) ) in remove_range() 72 if( (nIndex + nCount) >= nSize ) in remove_range() 82 if( nCount == 1 ) in remove_range() 90 while( nCount-- ) in remove_range() 101 …lass Iter, class Entry > sal_Int32 insert_range( Vec& rVector, sal_Int32 nIndex, sal_Int32 nCount ) in insert_range() argument 103 if( nCount ) in insert_range() 109 rVector.resize( nIndex + nCount ); in insert_range() 120 rVector.insert( aIter, nCount, aEmpty ); in insert_range() 240 void TableModel::UndoInsertRows( sal_Int32 nIndex, sal_Int32 nCount ) in UndoInsertRows() argument [all …]
|
| /trunk/main/connectivity/source/drivers/dbase/ |
| H A D | dindexnode.cxx | 79 ,nCount(0) in ONDXPage() 117 nCount = 0; in QueryDelete() 139 while (i < nCount && rKey > ((*this)[i]).GetKey()) in FindPos() 154 while (i < nCount && rKey > ((*this)[i]).GetKey()) in Find() 165 else if (i == nCount) in Find() 195 aSplitNode = (*this)[nCount-1]; in Insert() 204 --nCount; // (sonst bekomme ich u.U. Assertions und GPFs - 60593) in Insert() 210 while (++nPos < nCount && rNode.GetKey() > ((*this)[nPos]).GetKey()) ; in Insert() 212 --nCount; // (sonst bekomme ich u.U. Assertions und GPFs - 60593) in Insert() 219 nCount++; in Insert() [all …]
|
| /trunk/main/sc/source/core/tool/ |
| H A D | collect.cxx | 47 void lcl_DeleteScDataObjects( ScDataObject** p, sal_uInt16 nCount ) in lcl_DeleteScDataObjects() argument 51 for (sal_uInt16 i = 0; i < nCount; i++) delete p[i]; in lcl_DeleteScDataObjects() 58 nCount ( 0 ), in ScCollection() 76 nCount ( 0 ), in ScCollection() 88 lcl_DeleteScDataObjects( pItems, nCount ); in ~ScCollection() 92 sal_uInt16 ScCollection::GetCount() const { return nCount; } in GetCount() 95 if ((pItems) && (nIndex < nCount)) in AtFree() 98 --nCount; // before memmove in AtFree() 99 memmove ( &pItems[nIndex], &pItems[nIndex + 1], (nCount - nIndex) * sizeof(ScDataObject*)); in AtFree() 100 pItems[nCount] = NULL; in AtFree() [all …]
|
| /trunk/main/filter/source/graphicfilter/ipbm/ |
| H A D | ipbm.cxx | 136 sal_uLong nCount = 255 * i / mnCol; in ReadPBM() local 137 …mpAcc->SetPaletteColor( i, BitmapColor( (sal_uInt8)nCount, (sal_uInt8)nCount, (sal_uInt8)nCount ) … in ReadPBM() 165 sal_uInt8 nMax, nCount = 0; in ImplReadHeader() local 218 if ( ( nCount == 0 ) && mnWidth ) in ImplReadHeader() 219 nCount++; in ImplReadHeader() 220 else if ( ( nCount == 1 ) && mnHeight ) in ImplReadHeader() 222 if ( ++nCount == nMax ) in ImplReadHeader() 225 else if ( ( nCount == 2 ) && mnMaxVal ) in ImplReadHeader() 234 if ( nCount == 0 ) in ImplReadHeader() 239 else if ( nCount == 1 ) in ImplReadHeader() [all …]
|
| /trunk/main/sal/osl/unx/ |
| H A D | interlck.c | 44 register oslInterlockedCount nCount asm("%eax"); in osl_incrementInterlockedCount() 46 nCount = 1; in osl_incrementInterlockedCount() 51 : "+r" (nCount), "+m" (*pCount) in osl_incrementInterlockedCount() 59 : "+r" (nCount), "+m" (*pCount) in osl_incrementInterlockedCount() 64 return ++nCount; in osl_incrementInterlockedCount() 69 register oslInterlockedCount nCount asm("%eax"); in osl_decrementInterlockedCount() 71 nCount = -1; in osl_decrementInterlockedCount() 76 : "+r" (nCount), "+m" (*pCount) in osl_decrementInterlockedCount() 84 : "+r" (nCount), "+m" (*pCount) in osl_decrementInterlockedCount() 89 return --nCount; in osl_decrementInterlockedCount() [all …]
|
| /trunk/main/sc/source/core/data/ |
| H A D | compressedarray.cxx | 35 : nCount(1) in ScCompressedArray() 49 : nCount(0) in ScCompressedArray() 60 pData[nCount].aValue = aValue; in ScCompressedArray() 61 pData[nCount].nEnd = j-1; in ScCompressedArray() 62 ++nCount; in ScCompressedArray() 66 pData[nCount].aValue = aValue; in ScCompressedArray() 67 pData[nCount].nEnd = nMaxAccess; in ScCompressedArray() 68 ++nCount; in ScCompressedArray() 69 Resize( nCount); in ScCompressedArray() 83 if ((nCount <= nNewLimit && nNewLimit < nLimit) || nLimit < nNewLimit) in Resize() [all …]
|
| H A D | dptabres.cxx | 259 nCount( 0 ) in ScDPInitState() 273 DBG_ASSERT( nCount < SC_DAPI_MAXFIELDS, "too many InitState members" ); in AddMember() 274 if ( nCount < SC_DAPI_MAXFIELDS ) in AddMember() 276 pIndex[nCount] = nSourceIndex; in AddMember() 277 pData[nCount] = nMember; in AddMember() 278 ++nCount; in AddMember() 284 DBG_ASSERT( nCount > 0, "RemoveColIndex without index" ); in RemoveMember() 285 if ( nCount > 0 ) in RemoveMember() 286 --nCount; in RemoveMember() 291 for (long i=0; i<nCount; i++) in GetNameIdForIndex() [all …]
|
| H A D | column.cxx | 71 nCount( 0 ), in ScColumn() 129 while ( nIndex < nCount && pItems[nIndex].nRow <= nRow2 ) in GetBlockMatrixEdges() 178 while ( !bFound && nIndex < nCount && pItems[nIndex].nRow <= nBottom ) in HasSelectionMatrixFragment() 688 if ( !pItems || !nCount ) in Search() 699 SCROW nMaxRow = pItems[nCount-1].nRow; in Search() 704 nIndex = nCount - 1; in Search() 709 nIndex = nCount; in Search() 716 long nHi = nOldHi = Min(static_cast<long>(nCount)-1, static_cast<long>(nRow) ); in Search() 720 sal_Bool bInterpol = (static_cast<SCSIZE>(nMaxRow - nMinRow) < nCount * 2); in Search() 732 if ( i < 0 || static_cast<SCSIZE>(i) >= nCount ) in Search() [all …]
|
| H A D | column3.cxx | 74 if (pItems && nCount>0) in Insert() 76 if (pItems[nCount-1].nRow < nRow) in Insert() 99 if ( nIndex >= nCount || pItems[nIndex].nRow != nRow ) in Insert() 107 if (nCount + 1 > nLimit) in Insert() 126 memmove( pNewItems, pItems, nCount * sizeof(ColEntry) ); in Insert() 131 memmove( &pItems[nIndex + 1], &pItems[nIndex], (nCount - nIndex) * sizeof(ColEntry) ); in Insert() 134 ++nCount; in Insert() 175 if (nCount + 1 > nLimit) in Append() 194 memmove( pNewItems, pItems, nCount * sizeof(ColEntry) ); in Append() 199 pItems[nCount].pCell = pCell; in Append() [all …]
|
| H A D | markarr.cxx | 42 nCount( 0 ), in ScMarkArray() 65 nCount = nLimit = 1; in Reset() 76 long nHi = static_cast<long>(nCount) - 1; in Search() 80 sal_Bool bFound = (nCount == 1); in Search() 135 SCSIZE nNeeded = nCount + 2; in SetMarkArea() 142 memcpy( pNewData, pData, nCount*sizeof(ScMarkEntry) ); in SetMarkArea() 186 while ( nj < nCount && pData[nj].nRow <= nEndRow ) in SetMarkArea() 190 if ( nj < nCount && pData[nj].bMarked == bMarked ) in SetMarkArea() 219 memmove( pData + ni, pData + nj, (nCount - nj) * sizeof(ScMarkEntry) ); in SetMarkArea() 220 nCount -= nj - ni; in SetMarkArea() [all …]
|
| H A D | documen8.cxx | 326 const SCTAB nCount = GetTableCount(); in InvalidateTextWidth() local 327 for ( SCTAB i=0; i<nCount && pTab[i]; i++ ) in InvalidateTextWidth() 346 const SCTAB nCount = GetTableCount(); in IsPageStyleInUse() local 349 for ( i = 0; !bInUse && i < nCount && pTab[i]; i++ ) in IsPageStyleInUse() 363 const SCTAB nCount = GetTableCount(); in RemovePageStyleInUse() local 365 for ( SCTAB i=0; i<nCount && pTab[i]; i++ ) in RemovePageStyleInUse() 378 const SCTAB nCount = GetTableCount(); in RenamePageStyleInUse() local 380 for ( SCTAB i=0; i<nCount && pTab[i]; i++ ) in RenamePageStyleInUse() 497 sal_uInt16 nCount = 0; in IdleCalcTextWidth() local 504 while ( (nZoom > 0) && (nCount < CALCMAX) && (nRestart < 2) ) in IdleCalcTextWidth() [all …]
|
| H A D | olinetab.cxx | 147 sal_uInt16 nCount = rArray.aCollections[nLevel].GetCount(); in ScOutlineArray() local 148 for (sal_uInt16 nEntry=0; nEntry<nCount; nEntry++) in ScOutlineArray() 167 sal_uInt16 nCount = pCollect->GetCount(); in FindEntry() local 168 for (sal_uInt16 i=0; i<nCount; i++) in FindEntry() 232 sal_uInt16 nCount = aCollections[nMoveLevel].GetCount(); in Insert() local 234 for ( sal_uInt16 i=0; i<nCount; i += bMoved ? 0 : 1 ) in Insert() 247 nCount = aCollections[nMoveLevel].GetCount(); in Insert() 313 sal_uInt16 nCount = pCollect->GetCount(); in FindTouchedLevel() local 314 for (sal_uInt16 i=0; i<nCount; i++) in FindTouchedLevel() 337 sal_uInt16 nCount = pCollect->GetCount(); in RemoveSub() local [all …]
|
| /trunk/main/writerfilter/source/doctok/ |
| H A D | WW8StyleSheet.cxx | 31 sal_uInt32 nCount = getEntryCount(); in initPayload() local 34 for (sal_uInt32 n = 0; n < nCount; ++n) in initPayload() 60 sal_uInt32 nCount = entryOffsets[nIndex + 1] - entryOffsets[nIndex]; in getEntry() local 62 if (nCount > get_cbSTDBaseInFile() + 2U) in getEntry() 64 WW8Style * pStyle = new WW8Style(this, entryOffsets[nIndex], nCount); in getEntry() 76 sal_uInt32 nCount = getU8(0xc); in get_xstzName() local 78 if (nCount > 0) in get_xstzName() 80 Sequence aSeq(mSequence, 0xe, nCount * 2); in get_xstzName() 103 sal_uInt32 nCount = getU16(nOffset); in get_xstzName1() local 105 if (nCount > 0) in get_xstzName1() [all …]
|
| /trunk/main/basegfx/source/range/ |
| H A D | b2dpolyrange.cxx | 110 …void insertElement(sal_uInt32 nIndex, const B2DPolyRange::ElementType& rElement, sal_uInt32 nCount) in insertElement() argument 112 maRanges.insert(maRanges.begin()+nIndex, nCount, boost::get<0>(rElement)); in insertElement() 113 maOrient.insert(maOrient.begin()+nIndex, nCount, boost::get<1>(rElement)); in insertElement() 117 …tElement(sal_uInt32 nIndex, const B2DRange& rRange, B2VectorOrientation eOrient, sal_uInt32 nCount) in insertElement() argument 119 maRanges.insert(maRanges.begin()+nIndex, nCount, rRange); in insertElement() 120 maOrient.insert(maOrient.begin()+nIndex, nCount, eOrient); in insertElement() 124 void appendElement(const B2DPolyRange::ElementType& rElement, sal_uInt32 nCount) in appendElement() argument 126 maRanges.insert(maRanges.end(), nCount, boost::get<0>(rElement)); in appendElement() 127 maOrient.insert(maOrient.end(), nCount, boost::get<1>(rElement)); in appendElement() 131 void appendElement(const B2DRange& rRange, B2VectorOrientation eOrient, sal_uInt32 nCount) in appendElement() argument [all …]
|
| /trunk/main/vcl/source/gdi/ |
| H A D | cvtsvm.cxx | 828 … for( sal_uInt16 nPoly = 0, nCount = aPolyPoly.Count(); nPoly < nCount; nPoly++ ) in ImplConvertFromSVM1() local 1436 sal_uLong nCount = 0; in ImplWriteActions() local 1451 nCount++; in ImplWriteActions() 1462 nCount++; in ImplWriteActions() 1510 nCount++; in ImplWriteActions() 1515 nCount += 3; in ImplWriteActions() 1519 nCount += 1; in ImplWriteActions() 1524 nCount += 1; in ImplWriteActions() 1530 nCount += 1; in ImplWriteActions() 1544 nCount++; in ImplWriteActions() [all …]
|
| /trunk/main/i18npool/source/transliteration/ |
| H A D | transliterationImpl.cxx | 291 TransliterationImpl::transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, in transliterate() argument 297 if (offset.getLength() != nCount) in transliterate() 298 offset.realloc(nCount); in transliterate() 301 if ( startPos == 0 && nCount == inStr.getLength() ) in transliterate() 302 return bodyCascade[0]->transliterate( inStr, 0, nCount, offset); in transliterate() 305 OUString tmpStr = inStr.copy(startPos, nCount); in transliterate() 306 tmpStr = bodyCascade[0]->transliterate(tmpStr, 0, nCount, offset); in transliterate() 310 nCount = offset.getLength(); in transliterate() 311 for (sal_Int32 j = 0; j < nCount; j++) in transliterate() 319 OUString tmpStr = inStr.copy(startPos, nCount); in transliterate() [all …]
|
| /trunk/main/tools/source/string/ |
| H A D | strimp.cxx | 44 xub_StrLen nCount ) in ImplStringCompare() argument 47 while ( nCount && in ImplStringCompare() 53 --nCount; in ImplStringCompare() 62 sal_Int32 nCount ) in ImplStringCompareWithoutZero() argument 65 while ( nCount && in ImplStringCompareWithoutZero() 70 --nCount; in ImplStringCompareWithoutZero() 107 xub_StrLen nCount ) in ImplStringICompare() argument 114 if ( !nCount ) in ImplStringICompare() 130 --nCount; in ImplStringICompare() 140 sal_Int32 nCount ) in ImplStringICompareWithoutZero() argument [all …]
|
| /trunk/main/sfx2/source/bastyp/ |
| H A D | bitset.cxx | 52 aSet.nCount = aSet.nCount - CountBits( *(aSet.pBitmap+nBlock) ); in operator <<() 53 aSet.nCount = aSet.nCount - in operator <<() 102 nCount = rSet.nCount; in CopyFrom() 121 nCount = 0; in BitSet() 141 nCount(nSize) in BitSet() 146 for ( sal_uInt16 n = 0; n < nCount; ++n ) in BitSet() 159 for ( sal_uInt16 n = 0; n < nCount; ++n ) in BitSet() 169 ++nCount; in BitSet() 226 nCount = 1; in operator =() 252 --nCount; in operator -=() [all …]
|
| /trunk/main/sal/osl/os2/ |
| H A D | semaphor.c | 38 int nCount; member 73 pSemaphoreImpl->nCount = initialCount; in osl_createSemaphore() 112 int nCount; in osl_acquireSemaphore() local 117 while( pSemaphoreImpl->nCount < 1 ) in osl_acquireSemaphore() 129 pSemaphoreImpl->nCount--; in osl_acquireSemaphore() 146 int nCount; in osl_tryToAcquireSemaphore() local 151 nCount = pSemaphoreImpl->nCount; in osl_tryToAcquireSemaphore() 152 if( pSemaphoreImpl->nCount > 0 ) in osl_tryToAcquireSemaphore() 153 pSemaphoreImpl->nCount--; in osl_tryToAcquireSemaphore() 157 return( nCount > 0 ); in osl_tryToAcquireSemaphore() [all …]
|
| /trunk/main/svl/source/misc/ |
| H A D | strmadpt.cxx | 160 sal_uLong nCount, sal_uLong * pWritten) in WriteAt() argument 164 return FillAppend(pBuffer, nCount, pWritten); in WriteAt() 204 sal_uLong nCount, in FillAppend() argument 209 if (nCount > 0 in FillAppend() 210 && nCount > std::numeric_limits< sal_uLong >::max() - m_nPosition) in FillAppend() 212 nCount = std::numeric_limits< sal_uLong >::max() - m_nPosition; in FillAppend() 213 if (nCount == 0) in FillAppend() 220 static_cast< sal_Int8 const * >(pBuffer), nCount)); in FillAppend() 226 m_nPosition += nCount; in FillAppend() 228 *pWritten = nCount; in FillAppend() [all …]
|