Lines Matching refs:nPos

125 sal_uInt16 SfxPtrArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen )  in Remove()  argument
129 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
154 if ( nPos > 0 ) in Remove()
156 DBG_ASSERT( nPos <= nNewSize, "" ); in Remove()
157 memmove( pNewData, pData, sizeof(void*)*nPos ); in Remove()
159 if ( nNewUsed != nPos ) in Remove()
160 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
161 sizeof(void*)*(nNewUsed-nPos) ); in Remove()
170 if ( nUsed-nPos-nLen > 0 ) in Remove()
171 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(void*) ); in Remove()
237 void SfxPtrArr::Insert( sal_uInt16 nPos, void* rElem ) in Insert() argument
259 if ( nPos < nUsed ) in Insert()
260 memmove( pData+nPos+1, pData+nPos, (nUsed-nPos)*sizeof(void*) ); in Insert()
263 memmove( pData+nPos, &rElem, sizeof(void*) ); in Insert()
360 sal_uInt16 ByteArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) in Remove() argument
364 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
389 if ( nPos > 0 ) in Remove()
391 DBG_ASSERT( nPos <= nNewSize, "" ); in Remove()
392 memmove( pNewData, pData, sizeof(char)*nPos ); in Remove()
394 if ( nNewUsed != nPos ) in Remove()
395 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
396 sizeof(char)*(nNewUsed-nPos) ); in Remove()
405 if ( nUsed-nPos-nLen > 0 ) in Remove()
406 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(char) ); in Remove()
452 void ByteArr::Insert( sal_uInt16 nPos, char rElem ) in Insert() argument
473 if ( nPos < nUsed ) in Insert()
474 memmove( pData+nPos+1, pData+nPos, (nUsed-nPos)*sizeof(char) ); in Insert()
477 memmove( pData+nPos, &rElem, sizeof(char) ); in Insert()
484 char ByteArr::operator[]( sal_uInt16 nPos ) const in operator []()
487 DBG_ASSERT( nPos < nUsed, "" ); in operator []()
488 return *(pData+nPos); in operator []()
493 char& ByteArr::operator [] (sal_uInt16 nPos) in operator []() argument
496 DBG_ASSERT( nPos < nUsed, "" ); in operator []()
497 return *(pData+nPos); in operator []()
592 sal_uInt16 WordArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) in Remove() argument
596 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
621 if ( nPos > 0 ) in Remove()
623 DBG_ASSERT( nPos <= nNewSize, "" ); in Remove()
624 memmove( pNewData, pData, sizeof(short)*nPos ); in Remove()
626 if ( nNewUsed != nPos ) in Remove()
627 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
628 sizeof(short)*(nNewUsed-nPos) ); in Remove()
637 if ( nUsed-nPos-nLen > 0 ) in Remove()
638 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(short) ); in Remove()
684 void WordArr::Insert( sal_uInt16 nPos, short rElem ) in Insert() argument
705 if ( nPos < nUsed ) in Insert()
706 memmove( pData+nPos+1, pData+nPos, (nUsed-nPos)*sizeof(short) ); in Insert()
709 memmove( pData+nPos, &rElem, sizeof(short) ); in Insert()
716 short WordArr::operator[]( sal_uInt16 nPos ) const in operator []()
719 DBG_ASSERT( nPos < nUsed, "" ); in operator []()
720 return *(pData+nPos); in operator []()
725 short& WordArr::operator [] (sal_uInt16 nPos) in operator []() argument
728 DBG_ASSERT( nPos < nUsed, "" ); in operator []()
729 return *(pData+nPos); in operator []()