/external/webkit/Source/JavaScriptCore/wtf/ |
OwnPtr.h | 65 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; } 66 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; } 68 bool operator!() const { return !m_ptr; } 70 // This conversion operator allows implicit conversion to bool but not to other integer types. 72 operator UnspecifiedBoolType() const { return m_ptr ? &OwnPtr::m_ptr : 0; } 74 OwnPtr& operator=(const PassOwnPtr<T>&); 75 OwnPtr& operator=(std::nullptr_t) { clear(); return *this; } 76 template<typename U> OwnPtr& operator=(const PassOwnPtr<U>&); 125 template<typename T> inline OwnPtr<T>& OwnPtr<T>::operator=(const PassOwnPtr<T>& o) 134 template<typename T> template<typename U> inline OwnPtr<T>& OwnPtr<T>::operator=(const PassOwnPtr<U>& o [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
IntSize.h | 114 operator CGSize() const; 119 operator NSSize() const; 124 operator SIZE() const; 129 operator QSize() const; 134 operator BSize() const; 139 operator wxSize() const; 144 operator AEESize() const; 151 inline IntSize& operator+=(IntSize& a, const IntSize& b) 158 inline IntSize& operator-=(IntSize& a, const IntSize& b) 165 inline IntSize operator+(const IntSize& a, const IntSize& b [all...] |
/system/core/libpixelflinger/tinyutils/ |
smartpointer.h | 22 inline bool operator _op_ (const sp<T>& o) const { \ 25 inline bool operator _op_ (const T* o) const { \ 29 inline bool operator _op_ (const sp<U>& o) const { \ 33 inline bool operator _op_ (const U* o) const { \ 54 sp& operator = (T* other); 55 sp& operator = (const sp<T>& other); 57 template<typename U> sp& operator = (const sp<U>& other); 58 template<typename U> sp& operator = (U* other); 65 inline T& operator* () const { return *m_ptr; } 66 inline T* operator-> () const { return m_ptr; [all...] |
/system/media/mca/filterpacks/base/native/ |
vec_types.h | 28 VecBase<T,dim>& operator = (const VecBase<T, dim> &x) { 32 T & operator [] (int i) { 36 const T & operator [] (int i) const { 52 Vec<T,dim>& operator = (const Vec<T, dim> &x) { 59 Vec<T, dim> operator + (const Vec<T,dim> &x, const Vec<T,dim> &y) { 67 Vec<T, dim> operator - (const Vec<T,dim> &x, const Vec<T,dim> &y) { 75 Vec<T, dim> operator * (const Vec<T,dim> &x, const Vec<T,dim> &y) { 83 Vec<T, dim> operator / (const Vec<T,dim> &x, const Vec<T,dim> &y) { 99 Vec<T, dim> operator * (const Vec<T,dim> &x, T scale) { 107 Vec<T, dim> operator / (const Vec<T,dim> &x, T scale) [all...] |
/external/astl/include/ |
list | 81 reference operator*() const { return static_cast<node_type*>(mNode)->mData; } 82 pointer operator->() const { return &operator*(); } 84 iterator_type& operator++() { mNode = mNode->mNext; return *this; } 85 iterator_type& operator++(int) { 91 iterator_type& operator--() { mNode = mNode->mPrev; return *this; } 92 iterator_type& operator--(int) { 98 bool operator==(const iterator_type& o) const { return mNode == o.mNode; } 99 bool operator!=(const iterator_type& o) const { return mNode != o.mNode; } 124 reference operator*() const { return static_cast<node_type*>(mNode)->mData; [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
AtomicString.h | 58 operator const String&() const { return m_string; } 66 UChar operator[](unsigned int i) const { return m_string[i]; } 104 operator NSString*() const { return m_string; } 108 operator QString() const { return m_string; } 133 inline bool operator==(const AtomicString& a, const AtomicString& b) { return a.impl() == b.impl(); } 134 bool operator==(const AtomicString& a, const char* b); 135 bool operator==(const AtomicString& a, const Vector<UChar>& b); 136 inline bool operator==(const AtomicString& a, const String& b) { return equal(a.impl(), b.impl()); } 137 inline bool operator==(const char* a, const AtomicString& b) { return b == a; } 138 inline bool operator==(const String& a, const AtomicString& b) { return equal(a.impl(), b.impl()); [all...] |
/external/webkit/Source/WebCore/platform/ |
Timer.cpp | 69 TimerHeapElement& operator=(const TimerHeapElement&); 91 inline TimerHeapElement& TimerHeapElement::operator=(const TimerHeapElement& o) 103 inline bool operator<(const TimerHeapElement& a, const TimerHeapElement& b) 127 TimerHeapIterator& operator++() { checkConsistency(); ++m_index; checkConsistency(); return *this; } 128 TimerHeapIterator operator++(int) { checkConsistency(); checkConsistency(1); return m_index++; } 130 TimerHeapIterator& operator--() { checkConsistency(); --m_index; checkConsistency(); return *this; } 131 TimerHeapIterator operator--(int) { checkConsistency(); checkConsistency(-1); return m_index--; } 133 TimerHeapIterator& operator+=(int i) { checkConsistency(); m_index += i; checkConsistency(); return *this; } 134 TimerHeapIterator& operator-=(int i) { checkConsistency(); m_index -= i; checkConsistency(); return *this; } 136 TimerHeapElement operator*() const { return TimerHeapElement(m_index); [all...] |
/external/webkit/Source/WebCore/platform/win/ |
COMPtr.h | 73 T& operator*() const { return *m_ptr; } 74 T* operator->() const { return m_ptr; } 76 T** operator&() { ASSERT(!m_ptr); return &m_ptr; } 78 bool operator!() const { return !m_ptr; } 80 // This conversion operator allows implicit conversion to bool but not to other integer types. 82 operator UnspecifiedBoolType() const { return m_ptr ? &COMPtr::get : 0; } 84 COMPtr& operator=(const COMPtr&); 85 COMPtr& operator=(T*); 86 template<typename U> COMPtr& operator=(const COMPtr<U>&); 157 template<typename T> inline COMPtr<T>& COMPtr<T>::operator=(const COMPtr<T>& o [all...] |
/frameworks/base/include/utils/ |
StrongPointer.h | 37 inline bool operator _op_ (const sp<T>& o) const { \ 40 inline bool operator _op_ (const T* o) const { \ 44 inline bool operator _op_ (const sp<U>& o) const { \ 48 inline bool operator _op_ (const U* o) const { \ 51 inline bool operator _op_ (const wp<T>& o) const { \ 55 inline bool operator _op_ (const wp<U>& o) const { \ 76 sp& operator = (T* other); 77 sp& operator = (const sp<T>& other); 79 template<typename U> sp& operator = (const sp<U>& other); 80 template<typename U> sp& operator = (U* other) [all...] |
/external/stlport/stlport/stl/ |
_string_operators.h | 29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s, 46 operator+(const _CharT* __s, 64 operator+(_CharT __c, 80 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 98 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 125 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 141 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 153 operator+(const _STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir>& __lhs, 169 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 188 operator+(const _CharT* __s [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_string_operators.h | 29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s, 46 operator+(const _CharT* __s, 64 operator+(_CharT __c, 80 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 98 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 125 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 141 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 153 operator+(const _STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir>& __lhs, 169 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 188 operator+(const _CharT* __s [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_string_operators.h | 29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s, 46 operator+(const _CharT* __s, 64 operator+(_CharT __c, 80 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 98 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 125 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 141 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 153 operator+(const _STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir>& __lhs, 169 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 188 operator+(const _CharT* __s [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_string_operators.h | 29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s, 46 operator+(const _CharT* __s, 64 operator+(_CharT __c, 80 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 98 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 125 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 141 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs, 153 operator+(const _STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir>& __lhs, 169 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x, 188 operator+(const _CharT* __s [all...] |
/external/clang/include/clang/Index/ |
STLExtras.h | 37 reference operator*() const { return I->second; } 38 pointer operator->() const { return &I->second; } 40 pair_value_iterator& operator++() { 45 pair_value_iterator operator++(int) { 51 friend bool operator==(pair_value_iterator L, pair_value_iterator R) { 54 friend bool operator!=(pair_value_iterator L, pair_value_iterator R) {
|
/external/clang/test/CXX/class/class.friend/ |
p1.cpp | 57 friend A operator|(const A& l, const A& r); // okay 58 friend A operator|(const A& r); // expected-error {{ overloaded 'operator|' must be a binary operator (has 1 parameter) }} 60 friend operator bool() const; // expected-error {{ must use a qualified name when declaring a conversion operator as a friend }} \
|
/external/clang/test/CXX/over/over.match/over.match.funcs/ |
p4-0x.cpp | 17 operator func_int_ref() &; 18 operator func_float_ref() &&; 22 int &operator+(const X0&) &; 23 float &operator+(const X0&) &&; 25 template<typename T> int &operator+(const T&) &; 26 template<typename T> float &operator+(const T&) &&;
|
/external/clang/test/CXX/over/over.over/ |
p1.cpp | 47 // -- a parameter of a user-defined operator (13.5), 49 void operator+(X, int(int)); 50 void operator-(X, float(*)(float)); 51 void operator*(X, int (&)(int)); 52 void operator/(X, float (&)(float)); 65 // -- the return value of a function, operator function, or conversion (6.6.3),
|
/external/clang/test/CodeGenCXX/ |
derived-to-base-conv.cpp | 29 operator B&() {printf("X::operator B&()\n"); return b; } 30 operator C&() {printf("X::operator C&()\n"); return c; } 57 operator Base&() { exit(1); } 65 operator Derived&() { exit(1); }
|
/external/llvm/include/llvm/ADT/ |
InMemoryStruct.h | 47 void operator=(const InMemoryStruct<T> &Value) { 56 const_reference operator*() const { 60 reference operator*() { 65 const_pointer operator->() const { 68 pointer operator->() { 72 operator bool() const { return Target != 0; }
|
SmallBitVector.h | 64 reference& operator=(reference t) { 69 reference& operator=(bool t) { 77 operator bool() const { 78 return const_cast<const SmallBitVector &>(TheVector).operator[](BitPos); 329 SmallBitVector operator~() const { 334 reference operator[](unsigned Idx) { 339 bool operator[](unsigned Idx) const { 343 return getPointer()->operator[](Idx); 351 bool operator==(const SmallBitVector &RHS) const { 360 bool operator!=(const SmallBitVector &RHS) const [all...] |
/external/oprofile/libutil++/ |
growable_vector.h | 32 T operator[](size_type index) const { 44 T & operator[](size_type index) { 52 * vectorized += operator 54 growable_vector<T> & operator+=(growable_vector<T> const & rhs) { 67 * vectorized -= operator, overflow shouldn't occur during substraction 70 growable_vector<T> & operator-=(growable_vector<T> const & rhs) {
|
utility.h | 25 noncopyable const & operator=(noncopyable const &); 41 T & operator*() const { return *p_; } 42 T * operator->() const { return p_; } 52 scoped_ptr & operator=(scoped_ptr const &); 69 T & operator[](std::ptrdiff_t i) const { return p_[i]; } 79 scoped_array & operator=(scoped_array const &);
|
/external/skia/include/core/ |
SkTScopedPtr.h | 60 T& operator*() const { 64 T* operator->() const { 70 bool operator==(T* o) const { return fObj == o; } 71 bool operator!=(T* o) const { return fObj != o; } 79 template <class T2> bool operator==(SkTScopedPtr<T2> const& o2) const; 80 template <class T2> bool operator!=(SkTScopedPtr<T2> const& o2) const;
|
/external/stlport/stlport/ |
iostream.h | 58 istream_withassign& operator=(istream& __s) { 62 istream_withassign& operator=(streambuf* __s) { 73 ostream_withassign& operator=(ostream& __s) { 77 ostream_withassign& operator=(streambuf* __s) { 87 iostream_withassign & operator=(ios& __i) { 91 iostream_withassign & operator=(streambuf* __s) {
|
/external/stlport/test/eh/ |
test_construct.h | 38 void operator()( const T& t ) const { 53 void operator()( int ) const { 65 void operator()( int ) const { 79 void operator()( int ) const { 97 void operator()( int ) const { 114 void operator()( int ) const {
|