Lines Matching refs:nStrLen
235 inline sal_Int32 ImplGetCopyLen( sal_Int32 nStrLen, sal_Int32 nCopyLen ) in ImplGetCopyLen() argument
237 OSL_ASSERT(nStrLen <= STRING_MAXLEN && nCopyLen <= STRING_MAXLEN); in ImplGetCopyLen()
238 if ( nCopyLen > STRING_MAXLEN-nStrLen ) in ImplGetCopyLen()
239 nCopyLen = STRING_MAXLEN-nStrLen; in ImplGetCopyLen()
822 sal_Int32 nStrLen = rStr.mpData->mnLen; in Replace() local
823 if ( !nStrLen ) in Replace()
835 if ( nCount == nStrLen ) in Replace()
843 nStrLen = ImplGetCopyLen( mpData->mnLen-nCount, nStrLen ); in Replace()
846 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen-nCount+nStrLen ); in Replace()
850 memcpy( pNewData->maStr+nIndex, rStr.mpData->maStr, nStrLen*sizeof( STRCODE ) ); in Replace()
851 memcpy( pNewData->maStr+nIndex+nStrLen, mpData->maStr+nIndex+nCount, in Replace()
1538 sal_Int32 nStrLen = rStr.mpData->mnLen; in Search() local
1542 if ( !nStrLen || (nIndex >= nLen) ) in Search()
1548 if ( nStrLen == 1 ) in Search()
1564 while ( nLen - nIndex >= nStrLen ) in Search()
1567 if ( ImplStringCompareWithoutZero( pStr1, pStr2, nStrLen ) == 0 ) in Search()
1584 xub_StrLen nStrLen = ImplStringLen( pCharStr ); in Search() local
1588 if ( !nStrLen || (nIndex >= nLen) ) in Search()
1594 if ( nStrLen == 1 ) in Search()
1608 while ( nLen - nIndex >= nStrLen ) in Search()
1611 if ( ImplStringCompareWithoutZero( pStr, pCharStr, nStrLen ) == 0 ) in Search()