Searched defs:operator (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/include/ui/
H A DPoint.h30 // we don't provide copy-ctor and operator= on purpose
39 inline bool operator == (const Point& rhs) const {
42 inline bool operator != (const Point& rhs) const {
43 return !operator == (rhs);
50 // operator < defines an order which allows to use points in sorted
52 bool operator < (const Point& rhs) const {
56 inline Point& operator - () {
62 inline Point& operator += (const Point& rhs) {
67 inline Point& operator -= (const Point& rhs) {
73 const Point operator
[all...]
H A DRegion.h44 Region& operator = (const Region& rhs);
91 inline const Region operator | (const Region& rhs) const;
92 inline const Region operator & (const Region& rhs) const;
93 inline const Region operator - (const Region& rhs) const;
94 inline const Region operator + (const Point& pt) const;
96 inline Region& operator |= (const Region& rhs);
97 inline Region& operator &= (const Region& rhs);
98 inline Region& operator -= (const Region& rhs);
99 inline Region& operator += (const Point& pt);
160 const Region Region::operator | (cons
[all...]
/frameworks/base/include/utils/
H A DString16.h98 inline String16& operator=(const String16& other);
100 inline String16& operator+=(const String16& other);
101 inline String16 operator+(const String16& other) const;
122 inline bool operator<(const String16& other) const;
123 inline bool operator<=(const String16& other) const;
124 inline bool operator==(const String16& other) const;
125 inline bool operator!=(const String16& other) const;
126 inline bool operator>=(const String16& other) const;
127 inline bool operator>(const String16& other) const;
129 inline bool operator<(cons
[all...]
H A DString8.h181 inline String8& operator=(const String8& other);
182 inline String8& operator=(const char* other);
184 inline String8& operator+=(const String8& other);
185 inline String8 operator+(const String8& other) const;
187 inline String8& operator+=(const char* other);
188 inline String8 operator+(const char* other) const;
192 inline bool operator<(const String8& other) const;
193 inline bool operator<=(const String8& other) const;
194 inline bool operator==(const String8& other) const;
195 inline bool operator!
[all...]
H A DRefBase.h35 inline bool operator _op_ (const sp<T>& o) const { \
38 inline bool operator _op_ (const wp<T>& o) const { \
41 inline bool operator _op_ (const T* o) const { \
45 inline bool operator _op_ (const sp<U>& o) const { \
49 inline bool operator _op_ (const wp<U>& o) const { \
53 inline bool operator _op_ (const U* o) const { \
139 RefBase& operator=(const RefBase& o);
190 sp& operator = (T* other);
191 sp& operator = (const sp<T>& other);
193 template<typename U> sp& operator
[all...]
H A DSortedVector.h46 /*! copy operator */
47 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
48 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
92 inline const TYPE& operator [] (size_t index) const;
93 //! alternate name for operator []
97 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
160 SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) {
161 SortedVectorImpl::operator = (rhs);
166 const SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) const {
167 SortedVectorImpl::operator
[all...]
/frameworks/base/tools/localize/
H A DConfiguration.h22 inline bool operator<(const Configuration& that) const { return Compare(that) < 0; }
23 inline bool operator<=(const Configuration& that) const { return Compare(that) <= 0; }
24 inline bool operator==(const Configuration& that) const { return Compare(that) == 0; }
25 inline bool operator!=(const Configuration& that) const { return Compare(that) != 0; }
26 inline bool operator>=(const Configuration& that) const { return Compare(that) >= 0; }
27 inline bool operator>(const Configuration& that) const { return Compare(that) > 0; }
H A DValues.h27 inline bool operator<(const StringResource& that) const { return Compare(that) < 0; }
28 inline bool operator<=(const StringResource& that) const { return Compare(that) <= 0; }
29 inline bool operator==(const StringResource& that) const { return Compare(that) == 0; }
30 inline bool operator!=(const StringResource& that) const { return Compare(that) != 0; }
31 inline bool operator>=(const StringResource& that) const { return Compare(that) >= 0; }
32 inline bool operator>(const StringResource& that) const { return Compare(that) > 0; }
H A DXLIFFFile.h72 inline bool operator<(const File& that) const { return Compare(that) < 0; }
73 inline bool operator<=(const File& that) const { return Compare(that) <= 0; }
74 inline bool operator==(const File& that) const { return Compare(that) == 0; }
75 inline bool operator!=(const File& that) const { return Compare(that) != 0; }
76 inline bool operator>=(const File& that) const { return Compare(that) >= 0; }
77 inline bool operator>(const File& that) const { return Compare(that) > 0; }
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dunew.h34 inline void* operator new (size_t n) throw (ustl::bad_alloc) { return (throwing_malloc (n)); }
35 inline void* operator new[] (size_t n) throw (ustl::bad_alloc) { return (throwing_malloc (n)); }
36 inline void operator delete (void* p) throw() { free_nullok (p); }
37 inline void operator delete[] (void* p) throw() { free_nullok (p); }
39 // Default placement versions of operator new.
40 inline void* operator new (size_t, void* p) throw() { return (p); }
41 inline void* operator new[] (size_t, void* p) throw() { return (p); }
43 // Default placement versions of operator delete.
44 inline void operator delete (void*, void*) throw() { }
45 inline void operator delet
[all...]
H A Dumatrix.h45 inline const_iterator operator[] (size_type i) const { return (at (i)); }
46 inline iterator operator[] (size_type i) { return (at (i)); }
50 inline const matrix& operator= (const matrix<NX,NY,T2>& src) { tuple_type::operator= (src); return (*this); }
51 inline const matrix& operator= (const matrix<NX,NY,T>& src) { tuple_type::operator= (src); return (*this); }
52 inline const matrix& operator+= (const_reference v) { tuple_type::operator+= (v); return (*this); }
53 inline const matrix& operator-= (const_reference v) { tuple_type::operator
[all...]
H A Dutf8.h93 inline const utf8in_iterator& operator= (const utf8in_iterator& i) { m_i = i.m_i; m_v = i.m_v; return (*this); }
96 inline WChar operator* (void) const { return (m_v); }
97 inline utf8in_iterator& operator++ (void) { ++m_i; Read(); return (*this); }
98 inline utf8in_iterator operator++ (int) { utf8in_iterator old (*this); operator++(); return (old); }
99 inline utf8in_iterator& operator+= (uoff_t n) { while (n--) operator++(); return (*this); }
100 inline utf8in_iterator operator+ (uoff_t n) { utf8in_iterator v (*this); return (v += n); }
101 inline bool operator== (const utf8in_iterator& i) const { return (m_i == i.m_i); }
102 inline bool operator< (cons
[all...]
H A Duiterator.h87 inline bool operator== (const reverse_iterator& iter) const { return (m_i == iter.m_i); }
88 inline bool operator< (const reverse_iterator& iter) const { return (iter.m_i < m_i); }
90 inline reference operator* (void) const { Iterator prev (m_i); --prev; return (*prev); }
91 inline pointer operator-> (void) const { return (&(operator*())); }
92 inline reverse_iterator& operator++ (void) { -- m_i; return (*this); }
93 inline reverse_iterator& operator-- (void) { ++ m_i; return (*this); }
94 inline reverse_iterator operator++ (int) { reverse_iterator prev (*this); -- m_i; return (prev); }
95 inline reverse_iterator operator-- (int) { reverse_iterator prev (*this); ++ m_i; return (prev); }
96 inline reverse_iterator& operator
[all...]
H A Dupair.h31 inline pair& operator= (const pair<T1, T2>& p2) { first = p2.first; second = p2.second; return (*this); }
33 inline pair& operator= (const pair<T3, T4>& p2) { first = p2.first; second = p2.second; return (*this); }
41 inline bool operator== (const pair<T1,T2>& p1, const pair<T1,T2>& p2)
48 bool operator< (const pair<T1,T2>& p1, const pair<T1,T2>& p2)
H A Dutuple.h56 inline const_reference operator[] (size_type i) const { return (m_v[i]); }
57 inline reference operator[] (size_type i) { return (m_v[i]); }
59 inline const tuple& operator= (const tuple<N,T2>& src);
60 inline const tuple& operator= (const tuple<N,T>& src);
61 inline const tuple& operator+= (const_reference v)
63 inline const tuple& operator-= (const_reference v)
65 inline const tuple& operator*= (const_reference v)
67 inline const tuple& operator/= (const_reference v)
69 inline const tuple operator+ (const_reference v) const
71 inline const tuple operator
[all...]
H A Dmistream.h141 inline const T& operator* (void) { return (m_v); }
142 inline istream_iterator& operator++ (void) { Read(); return (*this); }
143 inline istream_iterator& operator-- (void) { m_pis->seek (m_pis->pos() - 2 * stream_size_of(m_v)); return (operator++()); }
144 inline istream_iterator operator++ (int) { istream_iterator old (*this); operator++(); return (old); }
145 inline istream_iterator operator-- (int) { istream_iterator old (*this); operator--(); return (old); }
146 inline istream_iterator& operator+= (size_type n) { while (n--) operator
[all...]
H A Dumemory.h31 /// of the required dereference operator.
53 inline auto_ptr<T>& operator= (pointer p) { reset (p); return (*this); }
55 inline auto_ptr<T>& operator= (auto_ptr<T>& p) { reset (p.release()); return (*this); }
56 inline reference operator* (void) const { return (*m_p); }
57 inline pointer operator-> (void) const { return (m_p); }
58 inline bool operator== (const pointer p) const { return (m_p == p); }
59 inline bool operator== (const auto_ptr<T>& p) const { return (m_p == p.m_p); }
60 inline bool operator< (const auto_ptr<T>& p) const { return (p.m_p < m_p); }
H A Dustring.h32 /// - const char* cast operator. It is much clearer to use this than having
107 inline operator const value_type* (void) const;
108 inline operator value_type* (void);
109 inline const string& operator= (const string& s) { assign (s.begin(), s.end()); return (*this); }
110 inline const string& operator= (const_reference c) { assign (&c, 1); return (*this); }
111 inline const string& operator= (const_pointer s) { assign (s); return (*this); }
112 inline const string& operator= (const_wpointer s) { assign (s); return (*this); }
113 inline const string& operator+= (const string& s) { append (s.begin(), s.size()); return (*this); }
114 inline const string& operator+= (const_reference c) { append (1, c); return (*this); }
115 inline const string& operator
[all...]
H A Dmemblock.h39 inline const memblock& operator= (const cmemlink& l) { assign (l); return (*this); }
40 inline const memblock& operator= (const memlink& l) { assign (l); return (*this); }
41 inline const memblock& operator= (const memblock& l) { assign (l); return (*this); }
65 inline istream& operator>> (istream& is, memblock& l)
H A Dustack.h37 inline bool operator== (const stack& s) { return (m_Storage == s.m_Storage); }
38 inline bool operator< (const stack& s) { return (m_Storage.size() < s.m_Storage.size()); }
H A Dmostream.h120 inline ostream_iterator& operator= (const T& v)
122 inline ostream_iterator& operator* (void) { return (*this); }
123 inline ostream_iterator& operator++ (void) { return (*this); }
124 inline ostream_iterator operator++ (int) { return (*this); }
125 inline ostream_iterator& operator+= (size_type n) { m_Os.skip (n); return (*this); }
126 inline bool operator== (const ostream_iterator& i) const
128 inline bool operator< (const ostream_iterator& i) const
222 inline ostream& operator<< (ostream& os, type v) { os.iwrite(v); return (os); }
238 inline ostream& operator<< (ostream& os, bool v)
/frameworks/base/libs/ui/
H A DRect.cpp36 bool Rect::operator < (const Rect& rhs) const
74 const Rect Rect::operator + (const Point& rhs) const
80 const Rect Rect::operator - (const Point& rhs) const
/frameworks/base/media/libstagefright/
H A Dstring.cpp70 bool string::operator<(const string &other) const {
74 bool string::operator==(const string &other) const {
78 string &string::operator+=(char c) {
/frameworks/base/media/libdrm/mobile2/include/dcf/
H A DDrmRawContent.h71 DrmRawContent& operator=(const DrmRawContent& other){return *this;}
/frameworks/base/libs/utils/
H A DCallStack.cpp227 CallStack& CallStack::operator = (const CallStack& rhs)
236 bool CallStack::operator == (const CallStack& rhs) const {
242 bool CallStack::operator != (const CallStack& rhs) const {
243 return !operator == (rhs);
246 bool CallStack::operator < (const CallStack& rhs) const {
252 bool CallStack::operator >= (const CallStack& rhs) const {
253 return !operator < (rhs);
256 bool CallStack::operator > (const CallStack& rhs) const {
262 bool CallStack::operator <= (const CallStack& rhs) const {
263 return !operator > (rh
[all...]

Completed in 330 milliseconds

123