Lines Matching refs:rStr

75 static sal_Unicode* ImplAddString( sal_Unicode* pBuf, const String& rStr )  in ImplAddString()  argument
77 if ( rStr.Len() == 1 ) in ImplAddString()
78 *pBuf++ = rStr.GetChar(0); in ImplAddString()
79 else if ( rStr.Len() == 0 ) in ImplAddString()
83 memcpy( pBuf, rStr.GetBuffer(), rStr.Len() * sizeof(sal_Unicode) ); in ImplAddString()
84 pBuf += rStr.Len(); in ImplAddString()
239 static XubString ImplPatternReformat( const XubString& rStr, in ImplPatternReformat() argument
245 return rStr; in ImplPatternReformat()
247 XubString aStr = rStr; in ImplPatternReformat()
345 static void ImplPatternMaxPos( const XubString rStr, const ByteString& rEditMask, in ImplPatternMaxPos() argument
351 xub_StrLen nMaxPos = rStr.Len(); in ImplPatternMaxPos()
360 (rStr.GetChar(nMaxPos-1) != ' ') ) in ImplPatternMaxPos()
460 static xub_StrLen ImplPatternRightPos( const XubString& rStr, const ByteString& rEditMask, in ImplPatternRightPos() argument
476 ImplPatternMaxPos( rStr, rEditMask, nFormatFlags, bSameMask, nCursorPos, nNewPos ); in ImplPatternRightPos()
867 void PatternFormatter::SetString( const XubString& rStr ) in SetString() argument
869 maFieldString = rStr; in SetString()
872 GetField()->SetText( rStr ); in SetString()
1088 void PatternBox::InsertString( const XubString& rStr, sal_uInt16 nPos ) in InsertString() argument
1090 …ComboBox::InsertEntry( ImplPatternReformat( rStr, GetEditMask(), GetLiteralMask(), GetFormatFlags(… in InsertString()
1095 void PatternBox::RemoveString( const XubString& rStr ) in RemoveString() argument
1097 …ComboBox::RemoveEntry( ImplPatternReformat( rStr, GetEditMask(), GetLiteralMask(), GetFormatFlags(… in RemoveString()
1109 sal_uInt16 PatternBox::GetStringPos( const XubString& rStr ) const in GetStringPos()
1111 …return ComboBox::GetEntryPos( ImplPatternReformat( rStr, GetEditMask(), GetLiteralMask(), GetForma… in GetStringPos()
1128 static sal_uInt16 ImplCutNumberFromString( XubString& rStr ) in ImplCutNumberFromString() argument
1131 while ( rStr.Len() && !(rStr.GetChar( 0 ) >= '0' && rStr.GetChar( 0 ) <= '9') ) in ImplCutNumberFromString()
1132 rStr.Erase( 0, 1 ); in ImplCutNumberFromString()
1133 if ( !rStr.Len() ) in ImplCutNumberFromString()
1136 while ( rStr.Len() && (rStr.GetChar( 0 ) >= '0' && rStr.GetChar( 0 ) <= '9') ) in ImplCutNumberFromString()
1138 aNumStr.Insert( rStr.GetChar( 0 ) ); in ImplCutNumberFromString()
1139 rStr.Erase( 0, 1 ); in ImplCutNumberFromString()
1146 static sal_Bool ImplCutMonthName( XubString& rStr, const XubString& _rLookupMonthName ) in ImplCutMonthName() argument
1148 sal_uInt16 nPos = rStr.Search( _rLookupMonthName ); in ImplCutMonthName()
1151 rStr.Erase( 0, nPos + _rLookupMonthName.Len() ); in ImplCutMonthName()
1159 static sal_uInt16 ImplCutMonthFromString( XubString& rStr, const CalendarWrapper& rCalendarWrapper ) in ImplCutMonthFromString() argument
1166 if ( ImplCutMonthName( rStr, aMonthName ) ) in ImplCutMonthFromString()
1171 if ( ImplCutMonthName( rStr, aAbbrevMonthName ) ) in ImplCutMonthFromString()
1175 return ImplCutNumberFromString( rStr ); in ImplCutMonthFromString()
1206 static sal_Bool ImplDateGetValue( const XubString& rStr, Date& rDate, ExtDateFieldFormat eDateForma… in ImplDateGetValue() argument
1215 String aStr( rStr ); in ImplDateGetValue()
1317 sal_Bool DateFormatter::ImplDateReformat( const XubString& rStr, XubString& rOutStr, const AllSetti… in ImplDateReformat() argument
1320 …if ( !ImplDateGetValue( rStr, aDate, GetExtDateFormat(sal_True), ImplGetLocaleDataWrapper(), GetCa… in ImplDateReformat()
2445 static sal_Bool ImplTimeGetValue( const XubString& rStr, Time& rTime, in ImplTimeGetValue() argument
2449 XubString aStr = rStr; in ImplTimeGetValue()
2456 if ( !rStr.Len() ) in ImplTimeGetValue()
2646 sal_Bool TimeFormatter::ImplTimeReformat( const XubString& rStr, XubString& rOutStr ) in ImplTimeReformat() argument
2649 if ( !ImplTimeGetValue( rStr, aTime, GetFormat(), IsDuration(), ImplGetLocaleDataWrapper() ) ) in ImplTimeReformat()