Lines Matching refs:nLen
125 sal_uInt16 SfxPtrArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) in Remove() argument
129 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
132 if ( nLen == 0 ) in Remove()
136 if ( (nUsed-nLen) == 0 ) in Remove()
142 return nLen; in Remove()
146 if ( (nUnused+nLen) >= nGrow ) in Remove()
149 sal_uInt16 nNewUsed = nUsed-nLen; in Remove()
160 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
166 return nLen; in Remove()
170 if ( nUsed-nPos-nLen > 0 ) in Remove()
171 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(void*) ); in Remove()
172 nUsed = nUsed - nLen; in Remove()
173 nUnused = sal::static_int_cast< sal_uInt8 >(nUnused + nLen); in Remove()
174 return nLen; in Remove()
360 sal_uInt16 ByteArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) in Remove() argument
364 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
367 if ( nLen == 0 ) in Remove()
371 if ( (nUsed-nLen) == 0 ) in Remove()
377 return nLen; in Remove()
381 if ( (nUnused+nLen) >= nGrow ) in Remove()
384 sal_uInt16 nNewUsed = nUsed-nLen; in Remove()
395 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
401 return nLen; in Remove()
405 if ( nUsed-nPos-nLen > 0 ) in Remove()
406 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(char) ); in Remove()
407 nUsed = nUsed - nLen; in Remove()
408 nUnused = sal::static_int_cast< sal_uInt8 >(nUnused + nLen); in Remove()
409 return nLen; in Remove()
592 sal_uInt16 WordArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) in Remove() argument
596 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
599 if ( nLen == 0 ) in Remove()
603 if ( (nUsed-nLen) == 0 ) in Remove()
609 return nLen; in Remove()
613 if ( (nUnused+nLen) >= nGrow ) in Remove()
616 sal_uInt16 nNewUsed = nUsed-nLen; in Remove()
627 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
633 return nLen; in Remove()
637 if ( nUsed-nPos-nLen > 0 ) in Remove()
638 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(short) ); in Remove()
639 nUsed = nUsed - nLen; in Remove()
640 nUnused = sal::static_int_cast< sal_uInt8 >(nUnused + nLen); in Remove()
641 return nLen; in Remove()