Lines Matching refs:pNewBlock
236 CBlock* pNewBlock; in Split() local
263 pNewBlock = new CBlock( nNewSize, this, pNext ); in Split()
266 pNext->pPrev = pNewBlock; in Split()
267 pNext = pNewBlock; in Split()
272 pNewBlock->pNodes[0] = p; in Split()
273 pNewBlock->nCount = 1; in Split()
280 memcpy( pNewBlock->pNodes, pNodes+nMiddle, nIndex*sizeof(PVOID) ); in Split()
283 pNewBlock->pNodes[nIndex] = p; in Split()
286 memcpy( pNewBlock->pNodes+nIndex+1, in Split()
290 pNewBlock->nCount = (nCount-nMiddle+1); in Split()
307 pNewBlock = new CBlock( nNewSize, pPrev, this ); in Split()
310 pPrev->pNext = pNewBlock; in Split()
311 pPrev = pNewBlock; in Split()
316 pNewBlock->pNodes[0] = p; in Split()
317 pNewBlock->nCount = 1; in Split()
322 memcpy( pNewBlock->pNodes, pNodes, nIndex*sizeof(PVOID) ); in Split()
325 pNewBlock->pNodes[nIndex] = p; in Split()
330 memcpy( pNewBlock->pNodes+nIndex+1, in Split()
335 pNewBlock->nCount = nMiddle+1; in Split()
354 return pNewBlock; in Split()
776 CBlock* pNewBlock = pBlock->Split( p, nIndex, nReSize ); in ImpInsert() local
779 if ( pBlock->pNext == pNewBlock ) in ImpInsert()
783 pLastBlock = pNewBlock; in ImpInsert()
792 pCurBlock = pNewBlock; in ImpInsert()
801 pFirstBlock = pNewBlock; in ImpInsert()
808 if ( pNewBlock->nCount <= nCurIndex ) in ImpInsert()
809 nCurIndex = nCurIndex - pNewBlock->nCount; // MSVC warns here if += is used in ImpInsert()
811 pCurBlock = pNewBlock; in ImpInsert()