Lines Matching refs:sal_uInt16

35 const sal_uInt16 nBlockGrowSize = 20;
45 void CheckIdx( BlockInfo** ppInf, sal_uInt16 nBlock, sal_uLong nSize, sal_uInt16 nCur ) in CheckIdx()
50 for( sal_uInt16 nCnt = 0; nCnt < nBlock; ++nCnt, ++ppInf ) in CheckIdx()
79 for( sal_uInt16 n = 0; n < nBlock; ++n, ++pp ) in ~BigPtrArray()
93 sal_uInt16 cur = Index2Block( from ); in Move()
111 sal_uInt16 cur = Index2Block( nStart ); in ForEach()
114 sal_uInt16 nElem = sal_uInt16( nStart - p->nStart ); in ForEach()
140 sal_uInt16 cur = Index2Block( idx ); in operator []()
160 sal_uInt16 BigPtrArray::Index2Block( sal_uLong pos ) const in Index2Block()
185 sal_uInt16 lower = 0, upper = nBlock - 1; in Index2Block()
186 sal_uInt16 cur = 0; in Index2Block()
189 sal_uInt16 n = lower + ( upper - lower ) / 2; in Index2Block()
206 void BigPtrArray::UpdIndex( sal_uInt16 pos ) in UpdIndex()
226 BlockInfo* BigPtrArray::InsBlock( sal_uInt16 pos ) in InsBlock()
255 void BigPtrArray::BlockDel( sal_uInt16 nDel ) in BlockDel()
276 sal_uInt16 cur; in Insert()
352 int nCount = p->nElem - sal_uInt16(pos); in Insert()
359 ((ElementPtr&)rElem)->nOffset = sal_uInt16(pos); in Insert()
375 sal_uInt16 nBlkdel = 0; // entfernte Bloecke in Remove()
376 sal_uInt16 cur = Index2Block( pos ); // aktuelle Blocknr in Remove()
377 sal_uInt16 nBlk1 = cur; // 1. behandelter Block in Remove()
378 sal_uInt16 nBlk1del = USHRT_MAX; // 1. entfernter Block in Remove()
384 sal_uInt16 nel = p->nElem - sal_uInt16(pos); in Remove()
386 nel = sal_uInt16(nElem); in Remove()
392 int nCount = p->nElem - nel - sal_uInt16(pos); in Remove()
420 for( sal_uInt16 i = nBlk1del; i < ( nBlk1del + nBlkdel ); i++ ) in Remove()
461 sal_uInt16 cur = Index2Block( idx ); in Replace()
464 ((ElementPtr&)rElem)->nOffset = sal_uInt16(idx - p->nStart); in Replace()
472 sal_uInt16 BigPtrArray::Compress( short nMax ) in Compress()
483 sal_uInt16 nLast = 0; // fehlende Elemente in Compress()
484 sal_uInt16 nBlkdel = 0; // Anzahl der geloeschte Bloecke in Compress()
485 sal_uInt16 nFirstChgPos = USHRT_MAX; // ab welcher Pos gab es die 1. Aenderung? in Compress()
490 for( sal_uInt16 cur = 0; cur < nBlock; ++cur ) in Compress()
493 sal_uInt16 n = p->nElem; in Compress()
514 for( sal_uInt16 nCount = n, nOff = pLast->nElem; in Compress()