Lines Matching refs:nCount

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()
115 lcl_DeleteScDataObjects( pItems, nCount ); in FreeAll()
116 nCount = 0; in FreeAll()
124 if ((nCount < MAXCOLLECTIONSIZE) && (nIndex <= nCount) && pItems) in AtInsert()
126 if (nCount == nLimit) in AtInsert()
132 memmove(pNewItems, pItems, nCount * sizeof(ScDataObject*)); in AtInsert()
136 if (nCount > nIndex) in AtInsert()
137 memmove(&pItems[nIndex + 1], &pItems[nIndex], (nCount - nIndex) * sizeof(ScDataObject*)); in AtInsert()
139 nCount++; in AtInsert()
149 return AtInsert(nCount, pScDataObject); in Insert()
156 if (nIndex < nCount) in At()
167 for (sal_uInt16 i = 0; ((i < nCount) && (nIndex == 0xffff)); i++) in IndexOf()
178 lcl_DeleteScDataObjects( pItems, nCount ); in operator =()
180 nCount = r.nCount; in operator =()
184 for ( sal_uInt16 i=0; i<nCount; i++ ) in operator =()
222 rIndex = nCount; in Search()
225 short nHi = nCount - 1; in Search()
285 if ( nCount != rCmp.nCount ) in operator ==()
287 for (sal_uInt16 i=0; i<nCount; i++) in operator ==()
431 if ( rPos != SCPOS_INVALID && rPos < nCount ) in FindText()
440 sal_uInt16 nStartPos = nCount; in FindText()
473 for ( sal_uInt16 i=nStartPos; i<nCount; i++ ) in FindText()
503 for (sal_uInt16 i=0; i<nCount; i++) in GetExactMatch()