Lines Matching refs:rStr

125 sal_Bool CharClass::isAsciiNumeric( const String& rStr )  in isAsciiNumeric()  argument
127 if ( !rStr.Len() ) in isAsciiNumeric()
129 register const sal_Unicode* p = rStr.GetBuffer(); in isAsciiNumeric()
130 register const sal_Unicode* const pStop = p + rStr.Len(); in isAsciiNumeric()
141 sal_Bool CharClass::isAsciiAlpha( const String& rStr ) in isAsciiAlpha() argument
143 if ( !rStr.Len() ) in isAsciiAlpha()
145 register const sal_Unicode* p = rStr.GetBuffer(); in isAsciiAlpha()
146 register const sal_Unicode* const pStop = p + rStr.Len(); in isAsciiAlpha()
157 sal_Bool CharClass::isAsciiAlphaNumeric( const String& rStr ) in isAsciiAlphaNumeric() argument
159 if ( !rStr.Len() ) in isAsciiAlphaNumeric()
161 register const sal_Unicode* p = rStr.GetBuffer(); in isAsciiAlphaNumeric()
162 register const sal_Unicode* const pStop = p + rStr.Len(); in isAsciiAlphaNumeric()
172 sal_Bool CharClass::isAlpha( const String& rStr, xub_StrLen nPos ) const in isAlpha() argument
174 sal_Unicode c = rStr.GetChar( nPos ); in isAlpha()
181 return (xCC->getCharacterType( rStr, nPos, getLocale() ) & in isAlpha()
194 sal_Bool CharClass::isAlpha( const String& rStr ) const in isAlpha()
199 return isAlphaType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isAlpha()
211 sal_Bool CharClass::isLetter( const String& rStr, xub_StrLen nPos ) const in isLetter() argument
213 sal_Unicode c = rStr.GetChar( nPos ); in isLetter()
220 return (xCC->getCharacterType( rStr, nPos, getLocale() ) & in isLetter()
233 sal_Bool CharClass::isLetter( const String& rStr ) const in isLetter()
238 return isLetterType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isLetter()
250 sal_Bool CharClass::isDigit( const String& rStr, xub_StrLen nPos ) const in isDigit() argument
252 sal_Unicode c = rStr.GetChar( nPos ); in isDigit()
259 return (xCC->getCharacterType( rStr, nPos, getLocale() ) & in isDigit()
272 sal_Bool CharClass::isNumeric( const String& rStr ) const in isNumeric()
277 return isNumericType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isNumeric()
289 sal_Bool CharClass::isAlphaNumeric( const String& rStr, xub_StrLen nPos ) const in isAlphaNumeric() argument
291 sal_Unicode c = rStr.GetChar( nPos ); in isAlphaNumeric()
298 return (xCC->getCharacterType( rStr, nPos, getLocale() ) & in isAlphaNumeric()
311 sal_Bool CharClass::isAlphaNumeric( const String& rStr ) const in isAlphaNumeric()
316 return isAlphaNumericType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isAlphaNumeric()
328 sal_Bool CharClass::isLetterNumeric( const String& rStr, xub_StrLen nPos ) const in isLetterNumeric() argument
330 sal_Unicode c = rStr.GetChar( nPos ); in isLetterNumeric()
337 return (xCC->getCharacterType( rStr, nPos, getLocale() ) & in isLetterNumeric()
350 sal_Bool CharClass::isLetterNumeric( const String& rStr ) const in isLetterNumeric()
355 return isLetterNumericType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isLetterNumeric()
367 String CharClass::toUpper( const String& rStr, xub_StrLen nPos, xub_StrLen nCount ) const in toUpper() argument
369 return toUpper_rtl(rStr, nPos, nCount); in toUpper()
373 String CharClass::toLower( const String& rStr, xub_StrLen nPos, xub_StrLen nCount ) const in toLower() argument
375 return toLower_rtl(::rtl::OUString(rStr), nPos, nCount); in toLower()
379 String CharClass::toTitle( const String& rStr, xub_StrLen nPos, xub_StrLen nCount ) const in toTitle() argument
384 return xCC->toTitle( rStr, nPos, nCount, getLocale() ); in toTitle()
386 return rStr.Copy( nPos, nCount ); in toTitle()
391 return rStr.Copy( nPos, nCount ); in toTitle()
396 ::rtl::OUString CharClass::toUpper_rtl( const ::rtl::OUString& rStr, sal_Int32 nPos, sal_Int32 nCou… in toUpper_rtl() argument
401 return xCC->toUpper( rStr, nPos, nCount, getLocale() ); in toUpper_rtl()
403 return rStr.copy( nPos, nCount ); in toUpper_rtl()
408 return rStr.copy( nPos, nCount ); in toUpper_rtl()
413 ::rtl::OUString CharClass::toLower_rtl( const ::rtl::OUString& rStr, sal_Int32 nPos, sal_Int32 nCou… in toLower_rtl() argument
418 return xCC->toLower( rStr, nPos, nCount, getLocale() ); in toLower_rtl()
420 return rStr.copy( nPos, nCount ); in toLower_rtl()
425 return rStr.copy( nPos, nCount ); in toLower_rtl()
430 sal_Int16 CharClass::getType( const String& rStr, xub_StrLen nPos ) const in getType() argument
435 return xCC->getType( rStr, nPos ); in getType()
447 sal_Int16 CharClass::getCharacterDirection( const String& rStr, xub_StrLen nPos ) const in getCharacterDirection() argument
452 return xCC->getCharacterDirection( rStr, nPos ); in getCharacterDirection()
464 sal_Int16 CharClass::getScript( const String& rStr, xub_StrLen nPos ) const in getScript() argument
469 return xCC->getScript( rStr, nPos ); in getScript()
481 sal_Int32 CharClass::getCharacterType( const String& rStr, xub_StrLen nPos ) const in getCharacterType() argument
486 return xCC->getCharacterType( rStr, nPos, getLocale() ); in getCharacterType()
498 sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_StrLen nCount ) const in getStringType() argument
503 return xCC->getStringType( rStr, nPos, nCount, getLocale() ); in getStringType()
516 const String& rStr, in parseAnyToken() argument
526 return xCC->parseAnyToken( rStr, nPos, getLocale(), in parseAnyToken()
548 const String& rStr, in parsePredefinedToken() argument
558 return xCC->parsePredefinedToken( nTokenType, rStr, nPos, getLocale(), in parsePredefinedToken()