Lines Matching refs:pItems
61 pItems ( NULL ) in ScCollection()
71 pItems = new ScDataObject*[nLimit]; in ScCollection()
79 pItems ( NULL ) in ScCollection()
88 lcl_DeleteScDataObjects( pItems, nCount ); in ~ScCollection()
95 if ((pItems) && (nIndex < nCount)) in AtFree()
97 delete pItems[nIndex]; 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()
117 pItems = new ScDataObject*[nLimit]; in FreeAll()
124 if ((nCount < MAXCOLLECTIONSIZE) && (nIndex <= nCount) && pItems) in AtInsert()
132 memmove(pNewItems, pItems, nCount * sizeof(ScDataObject*)); in AtInsert()
133 delete[] pItems; in AtInsert()
134 pItems = pNewItems; in AtInsert()
137 … memmove(&pItems[nIndex + 1], &pItems[nIndex], (nCount - nIndex) * sizeof(ScDataObject*)); in AtInsert()
138 pItems[nIndex] = pScDataObject; in AtInsert()
157 return pItems[nIndex]; in At()
169 if (pItems[i] == pScDataObject) nIndex = i; in IndexOf()
178 lcl_DeleteScDataObjects( pItems, nCount ); in operator =()
183 pItems = new ScDataObject*[nLimit]; in operator =()
185 pItems[i] = r.pItems[i]->Clone(); in operator =()
231 nCompare = Compare(pItems[nIndex], pScDataObject); in Search()
288 if ( !IsEqual(pItems[i],rCmp.pItems[i]) ) in operator ==()
433 TypedStrData* pData = (TypedStrData*) pItems[rPos]; in FindText()
447 TypedStrData* pData = (TypedStrData*) pItems[i]; in FindText()
475 TypedStrData* pData = (TypedStrData*) pItems[i]; in FindText()
505 TypedStrData* pData = (TypedStrData*) pItems[i]; in GetExactMatch()