Lines Matching refs:r
44 SbxINT64 &SbxINT64::operator -= ( const SbxINT64 &r )
47 b -= BigInt( r );
51 SbxINT64 &SbxINT64::operator += ( const SbxINT64 &r ) in operator +=() argument
54 b += BigInt( r ); in operator +=()
58 SbxINT64 &SbxINT64::operator *= ( const SbxINT64 &r ) in operator *=() argument
61 b *= BigInt( r ); in operator *=()
65 SbxINT64 &SbxINT64::operator %= ( const SbxINT64 &r ) in operator %=() argument
68 b %= BigInt( r ); in operator %=()
72 SbxINT64 &SbxINT64::operator /= ( const SbxINT64 &r ) in operator /=() argument
75 b /= BigInt( r ); in operator /=()
79 SbxINT64 &SbxINT64::operator &= ( const SbxINT64 &r ) in operator &=() argument
81 nHigh &= r.nHigh; in operator &=()
82 nLow &= r.nLow; in operator &=()
85 SbxINT64 &SbxINT64::operator |= ( const SbxINT64 &r ) in operator |=() argument
87 nHigh |= r.nHigh; in operator |=()
88 nLow |= r.nLow; in operator |=()
91 SbxINT64 &SbxINT64::operator ^= ( const SbxINT64 &r ) in operator ^=() argument
93 nHigh ^= r.nHigh; in operator ^=()
94 nLow ^= r.nLow; in operator ^=()
98 SbxINT64 operator - ( const SbxINT64 &l, const SbxINT64 &r ) in operator -() argument
101 a -= r; in operator -()
104 SbxINT64 operator + ( const SbxINT64 &l, const SbxINT64 &r ) in operator +() argument
107 a += r; in operator +()
110 SbxINT64 operator / ( const SbxINT64 &l, const SbxINT64 &r ) in operator /() argument
113 a /= r; in operator /()
116 SbxINT64 operator % ( const SbxINT64 &l, const SbxINT64 &r ) in operator %() argument
119 a %= r; in operator %()
122 SbxINT64 operator * ( const SbxINT64 &l, const SbxINT64 &r ) in operator *() argument
125 a *= r; in operator *()
128 SbxINT64 operator & ( const SbxINT64 &l, const SbxINT64 &r ) in operator &() argument
131 a.nHigh = r.nHigh & l.nHigh; in operator &()
132 a.nLow = r.nLow & l.nLow; in operator &()
135 SbxINT64 operator | ( const SbxINT64 &l, const SbxINT64 &r ) in operator |() argument
138 a.nHigh = r.nHigh | l.nHigh; in operator |()
139 a.nLow = r.nLow | l.nLow; in operator |()
142 SbxINT64 operator ^ ( const SbxINT64 &r, const SbxINT64 &l ) in operator ^() argument
145 a.nHigh = r.nHigh ^ l.nHigh; in operator ^()
146 a.nLow = r.nLow ^ l.nLow; in operator ^()
150 SbxINT64 operator - ( const SbxINT64 &r ) in operator -() argument
152 SbxINT64 a( r ); in operator -()
156 SbxINT64 operator ~ ( const SbxINT64 &r ) in operator ~() argument
159 a.nHigh = ~r.nHigh; in operator ~()
160 a.nLow = ~r.nLow; in operator ~()
164 SbxUINT64 &SbxUINT64::operator %= ( const SbxUINT64 &r ) in operator %=() argument
167 b %= BigInt( r ); in operator %=()
171 SbxUINT64 &SbxUINT64::operator /= ( const SbxUINT64 &r ) in operator /=() argument
174 b /= BigInt( r ); in operator /=()
262 SbxValue::SbxValue( const SbxValue& r ) in SbxValue() argument
263 : SvRefBase( r ), SbxBase( r ) in SbxValue()
265 if( !r.CanRead() ) in SbxValue()
273 ((SbxValue*) &r)->Broadcast( SBX_HINT_DATAWANTED ); in SbxValue()
274 aData = r.aData; in SbxValue()
295 SbxValue& SbxValue::operator=( const SbxValue& r ) in operator =() argument
297 if( &r != this ) in operator =()
306 && (r.aData.eType == SbxSTRING) ) in operator =()
308 ::rtl::OUString aStr = r.GetString(); in operator =()
314 if( r.IsFixed() && (r.aData.eType == SbxOBJECT) in operator =()
315 && r.aData.pObj && ( r.aData.pObj->GetType() == (SbxARRAY | SbxBYTE) ) in operator =()
318 SbxBase* pObj = r.GetObject(); in operator =()
332 else if( r.IsFixed() ) in operator =()
334 aNew.eType = SbxDataType( r.aData.eType & 0x0FFF ); in operator =()
338 if( r.Get( aNew ) ) in operator =()
815 sal_Bool SbxValue::PutStringExt( const ::rtl::OUString& r ) in PutStringExt() argument
818 ::rtl::OUString aStr( r ); in PutStringExt()
834 aRes.pOUString = (::rtl::OUString*)&r; in PutStringExt()
929 sal_Bool SbxValue::PutString( const ::rtl::OUString& r ) in PutString() argument
933 aRes.pOUString = (::rtl::OUString*) &r; in PutString()
1622 sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 ) in LoadData() argument
1626 r >> nType; in LoadData()
1632 r >> aData.nInteger; break; in LoadData()
1634 r >> aData.nLong; break; in LoadData()
1639 r.ReadByteString( aVal, RTL_TEXTENCODING_ASCII_US ); in LoadData()
1655 r.ReadByteString( aVal, RTL_TEXTENCODING_ASCII_US ); in LoadData()
1666 r >> aData.nULong64.nHigh >> aData.nULong64.nLow; in LoadData()
1672 r >> aData.nLong64.nHigh >> aData.nLong64.nLow; in LoadData()
1678 r.ReadByteString( aVal, RTL_TEXTENCODING_ASCII_US ); in LoadData()
1687 r >> aData.nUShort; break; in LoadData()
1691 r >> nMode; in LoadData()
1698 aData.pObj = SbxBase::Load( r ); in LoadData()
1709 r >> c; in LoadData()
1714 r >> aData.nByte; break; in LoadData()
1716 r >> aData.nULong; break; in LoadData()
1720 r >> n; in LoadData()
1723 r >> aData.nLong, aData.eType = SbxLONG; in LoadData()
1725 r >> aData.nInt; in LoadData()
1731 r >> n; in LoadData()
1734 r >> aData.nULong, aData.eType = SbxULONG; in LoadData()
1736 r >> (sal_uInt32&)aData.nUInt; in LoadData()
1744 r >> aData.nLong; in LoadData()
1760 sal_Bool SbxValue::StoreData( SvStream& r ) const in StoreData()
1763 r << nType; in StoreData()
1768 r << aData.nInteger; break; in StoreData()
1770 r << aData.nLong; break; in StoreData()
1774 r.WriteByteString( GetCoreString(), RTL_TEXTENCODING_ASCII_US ); in StoreData()
1779 r.WriteByteString( GetCoreString(), RTL_TEXTENCODING_ASCII_US ); in StoreData()
1783 r << aData.nULong64.nHigh << aData.nULong64.nLow; in StoreData()
1789 r << aData.nLong64.nHigh << aData.nLong64.nLow; in StoreData()
1795 r.WriteByteString( *aData.pOUString, RTL_TEXTENCODING_ASCII_US ); in StoreData()
1800 r.WriteByteString( aEmpty, RTL_TEXTENCODING_ASCII_US ); in StoreData()
1805 r << aData.nUShort; break; in StoreData()
1812 r << (sal_uInt8) 1; in StoreData()
1813 return aData.pObj->Store( r ); in StoreData()
1816 r << (sal_uInt8) 2; in StoreData()
1819 r << (sal_uInt8) 0; in StoreData()
1824 r << c; in StoreData()
1828 r << aData.nByte; break; in StoreData()
1830 r << aData.nULong; break; in StoreData()
1834 r << n << (sal_Int32)aData.nInt; in StoreData()
1840 r << n << (sal_uInt32)aData.nUInt; in StoreData()
1848 r << aData.nLong; in StoreData()