Lines Matching refs:pCharStr

309 STRING::STRING( const STRCODE* pCharStr )  in STRING()  argument
317 if ( pCharStr ) in STRING()
318 nLen = ImplStringLen( pCharStr ); in STRING()
327 memcpy( mpData->maStr, pCharStr, nLen*sizeof( STRCODE ) ); in STRING()
337 STRING::STRING( const STRCODE* pCharStr, xub_StrLen nLen ) in STRING() argument
341 DBG_ASSERT( pCharStr, "String::String() - pCharStr is NULL" ); in STRING()
344 nLen = ImplStringLen( pCharStr ); in STRING()
351 if ( !pCharStr[i] ) in STRING()
364 memcpy( mpData->maStr, pCharStr, nLen*sizeof( STRCODE ) ); in STRING()
409 STRING& STRING::Assign( const STRCODE* pCharStr ) in Assign() argument
412 DBG_ASSERT( pCharStr, "String::Assign() - pCharStr is NULL" ); in Assign()
415 xub_StrLen nLen = ImplStringLen( pCharStr ); in Assign()
425 memcpy( mpData->maStr, pCharStr, nLen*sizeof( STRCODE ) ); in Assign()
433 memcpy( mpData->maStr, pCharStr, nLen*sizeof( STRCODE ) ); in Assign()
442 STRING& STRING::Assign( const STRCODE* pCharStr, xub_StrLen nLen ) in Assign() argument
445 DBG_ASSERT( pCharStr, "String::Assign() - pCharStr is NULL" ); in Assign()
448 nLen = ImplStringLen( pCharStr ); in Assign()
455 if ( !pCharStr[i] ) in Assign()
471 memcpy( mpData->maStr, pCharStr, nLen*sizeof( STRCODE ) ); in Assign()
479 memcpy( mpData->maStr, pCharStr, nLen*sizeof( STRCODE ) ); in Assign()
541 STRING& STRING::Append( const STRCODE* pCharStr ) in Append() argument
544 DBG_ASSERT( pCharStr, "String::Append() - pCharStr is NULL" ); in Append()
548 sal_Int32 nCopyLen = ImplStringLen( pCharStr ); in Append()
561 memcpy( pNewData->maStr+nLen, pCharStr, nCopyLen*sizeof( STRCODE ) ); in Append()
573 STRING& STRING::Append( const STRCODE* pCharStr, xub_StrLen nCharLen ) in Append() argument
576 DBG_ASSERT( pCharStr, "String::Append() - pCharStr is NULL" ); in Append()
579 nCharLen = ImplStringLen( pCharStr ); in Append()
586 if ( !pCharStr[i] ) in Append()
606 memcpy( pNewData->maStr+nLen, pCharStr, nCopyLen*sizeof( STRCODE ) ); in Append()
735 STRING& STRING::Insert( const STRCODE* pCharStr, xub_StrLen nIndex ) in Insert() argument
738 DBG_ASSERT( pCharStr, "String::Insert() - pCharStr is NULL" ); in Insert()
741 sal_Int32 nCopyLen = ImplStringLen( pCharStr ); in Insert()
759 memcpy( pNewData->maStr+nIndex, pCharStr, nCopyLen*sizeof( STRCODE ) ); in Insert()
1265 StringCompare STRING::CompareTo( const STRCODE* pCharStr, xub_StrLen nLen ) const in CompareTo() argument
1270 sal_Int32 nCompare = ImplStringCompare( mpData->maStr, pCharStr, nLen ); in CompareTo()
1313 StringCompare STRING::CompareIgnoreCaseToAscii( const STRCODE* pCharStr, in CompareIgnoreCaseToAscii() argument
1319 sal_Int32 nCompare = ImplStringICompare( mpData->maStr, pCharStr, nLen ); in CompareIgnoreCaseToAscii()
1351 sal_Bool STRING::Equals( const STRCODE* pCharStr ) const in Equals()
1355 return (ImplStringCompare( mpData->maStr, pCharStr ) == 0); in Equals()
1379 sal_Bool STRING::EqualsIgnoreCaseAscii( const STRCODE* pCharStr ) const in EqualsIgnoreCaseAscii()
1383 return (ImplStringICompare( mpData->maStr, pCharStr ) == 0); in EqualsIgnoreCaseAscii()
1410 sal_Bool STRING::Equals( const STRCODE* pCharStr, xub_StrLen nIndex, xub_StrLen nLen ) const in Equals() argument
1416 return (*pCharStr == 0); in Equals()
1418 return (ImplStringCompare( mpData->maStr+nIndex, pCharStr, nLen ) == 0); in Equals()
1445 sal_Bool STRING::EqualsIgnoreCaseAscii( const STRCODE* pCharStr, xub_StrLen nIndex, xub_StrLen nLen… in EqualsIgnoreCaseAscii() argument
1451 return (*pCharStr == 0); in EqualsIgnoreCaseAscii()
1453 return (ImplStringICompare( mpData->maStr+nIndex, pCharStr, nLen ) == 0); in EqualsIgnoreCaseAscii()
1486 xub_StrLen STRING::Match( const STRCODE* pCharStr ) const in Match()
1500 if ( *pStr != *pCharStr ) in Match()
1503 ++pCharStr, in Match()
1579 xub_StrLen STRING::Search( const STRCODE* pCharStr, xub_StrLen nIndex ) const in Search() argument
1584 xub_StrLen nStrLen = ImplStringLen( pCharStr ); in Search()
1596 STRCODE cSearch = *pCharStr; in Search()
1611 if ( ImplStringCompareWithoutZero( pStr, pCharStr, nStrLen ) == 0 ) in Search()
1742 xub_StrLen STRING::SearchAndReplace( const STRCODE* pCharStr, const STRING& rRepStr, in SearchAndReplace() argument
1748 xub_StrLen nSPos = Search( pCharStr, nIndex ); in SearchAndReplace()
1750 Replace( nSPos, ImplStringLen( pCharStr ), rRepStr ); in SearchAndReplace()
1778 void STRING::SearchAndReplaceAll( const STRCODE* pCharStr, const STRING& rRepStr ) in SearchAndReplaceAll() argument
1783 xub_StrLen nCharLen = ImplStringLen( pCharStr ); in SearchAndReplaceAll()
1784 xub_StrLen nSPos = Search( pCharStr, 0 ); in SearchAndReplaceAll()
1789 nSPos = Search( pCharStr, nSPos ); in SearchAndReplaceAll()