Searched defs:operator (Results 301 - 325 of 4330) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DPassOwnPtr.h61 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; }
62 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; }
64 bool operator!() const { return !m_ptr; }
66 // This conversion operator allows implicit conversion to bool but not to other integer types.
68 operator UnspecifiedBoolType() const { return m_ptr ? &PassOwnPtr::m_ptr : 0; }
77 PassOwnPtr& operator=(const PassOwnPtr&) { COMPILE_ASSERT(!sizeof(T*), PassOwnPtr_should_never_be_assigned_to); return *this; }
81 template<typename U> bool operator==(const PassOwnPtr<U>&) const { COMPILE_ASSERT(!sizeof(U*), OwnPtrs_should_never_be_equal); return false; }
82 template<typename U> bool operator!=(const PassOwnPtr<U>&) const { COMPILE_ASSERT(!sizeof(U*), OwnPtrs_should_never_be_equal); return false; }
83 template<typename U> bool operator==(const OwnPtr<U>&) const { COMPILE_ASSERT(!sizeof(U*), OwnPtrs_should_never_be_equal); return false; }
84 template<typename U> bool operator!
[all...]
H A DPassRefPtr.h82 T& operator*() const { return *m_ptr; }
83 T* operator->() const { return m_ptr; }
85 bool operator!() const { return !m_ptr; }
87 // This conversion operator allows implicit conversion to bool but not to other integer types.
89 operator UnspecifiedBoolType() const { return m_ptr ? &PassRefPtr::m_ptr : 0; }
97 PassRefPtr& operator=(const PassRefPtr&) { COMPILE_ASSERT(!sizeof(T*), PassRefPtr_should_never_be_assigned_to); return *this; }
116 template<typename T, typename U> inline bool operator==(const PassRefPtr<T>& a, const PassRefPtr<U>& b)
121 template<typename T, typename U> inline bool operator==(const PassRefPtr<T>& a, const RefPtr<U>& b)
126 template<typename T, typename U> inline bool operator==(const RefPtr<T>& a, const PassRefPtr<U>& b)
131 template<typename T, typename U> inline bool operator
[all...]
/external/lldb/source/Core/
H A DUUID.cpp42 UUID::operator=(const UUID& rhs)
246 lldb_private::operator == (const lldb_private::UUID &lhs, const lldb_private::UUID &rhs)
252 lldb_private::operator != (const lldb_private::UUID &lhs, const lldb_private::UUID &rhs)
258 lldb_private::operator < (const lldb_private::UUID &lhs, const lldb_private::UUID &rhs)
264 lldb_private::operator <= (const lldb_private::UUID &lhs, const lldb_private::UUID &rhs)
270 lldb_private::operator > (const lldb_private::UUID &lhs, const lldb_private::UUID &rhs)
276 lldb_private::operator >= (const lldb_private::UUID &lhs, const lldb_private::UUID &rhs)
/external/qemu/android/base/
H A DStringView.h95 char operator[](size_t index) {
117 StringView& operator=(const StringView& other) {
130 bool operator==(const StringView& x, const StringView& y);
132 inline bool operator!=(const StringView& x, const StringView& y) {
136 inline bool operator<(const StringView& x, const StringView& y) {
140 inline bool operator>=(const StringView& x, const StringView& y) {
144 inline bool operator >(const StringView& x, const StringView& y) {
148 inline bool operator<=(const StringView& x, const StringView& y) {
/external/clang/test/OpenMP/
H A Dfor_loop_messages.cpp359 Iter0 operator++() { return *this; }
360 Iter0 operator--() { return *this; }
361 bool operator<(Iter0 a) { return true; }
363 int operator-(Iter0 a, Iter0 b) { return 0; }
368 Iter1 operator++() { return *this; }
369 Iter1 operator--() { return *this; }
370 bool operator<(Iter1 a) { return true; }
371 bool operator>=(Iter1 a) { return false; }
378 GoodIter &operator=(const GoodIter &that) { return *this; }
379 GoodIter &operator
[all...]
H A Dparallel_for_loop_messages.cpp308 Iter0 operator++() { return *this; }
309 Iter0 operator--() { return *this; }
310 bool operator<(Iter0 a) { return true; }
312 int operator-(Iter0 a, Iter0 b) { return 0; }
317 Iter1 operator++() { return *this; }
318 Iter1 operator--() { return *this; }
319 bool operator<(Iter1 a) { return true; }
320 bool operator>=(Iter1 a) { return false; }
327 GoodIter &operator=(const GoodIter &that) { return *this; }
328 GoodIter &operator
[all...]
H A Dsimd_loop_messages.cpp301 Iter0 operator ++() { return *this; }
302 Iter0 operator --() { return *this; }
303 bool operator <(Iter0 a) { return true; }
305 int operator -(Iter0 a, Iter0 b) { return 0; }
310 Iter1 operator ++() { return *this; }
311 Iter1 operator --() { return *this; }
312 bool operator <(Iter1 a) { return true; }
313 bool operator >=(Iter1 a) { return false; }
320 GoodIter &operator =(const GoodIter &that) { return *this; }
321 GoodIter &operator
[all...]
/external/llvm/include/llvm/Support/
H A DTimeValue.h116 /// @brief Incrementing assignment operator.
117 TimeValue& operator += (const TimeValue& that ) {
126 /// @brief Decrementing assignment operator.
127 TimeValue& operator -= (const TimeValue &that ) {
137 int operator < (const TimeValue &that) const { return that > *this; }
142 int operator > (const TimeValue &that) const {
154 int operator <= (const TimeValue &that) const { return that >= *this; }
158 int operator >= (const TimeValue &that) const {
169 int operator == (const TimeValue &that) const {
177 int operator !
[all...]
/external/clang/include/clang/AST/
H A DExternalASTSource.h329 LazyOffsetPtr &operator=(T *Ptr) {
334 LazyOffsetPtr &operator=(uint64_t Offset) {
347 LLVM_EXPLICIT operator bool() const { return Ptr != 0; }
512 reference operator*() const {
518 pointer operator->() const {
525 reference operator[](difference_type D) {
529 iterator &operator++() {
534 iterator operator++(int) {
540 iterator &operator--() {
545 iterator operator
[all...]
/external/ceres-solver/include/ceres/internal/
H A Dscoped_ptr.h91 // operator* and operator-> will assert() if there is no current object.
92 C& operator*() const {
96 C* operator->() const {
105 bool operator==(const C* p) const { return ptr_ == p; }
106 bool operator!=(const C* p) const { return ptr_ != p; }
136 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
137 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
141 void operator=(const scoped_ptr&);
151 inline bool operator
[all...]
/external/chromium_org/media/cdm/ppapi/
H A Dlinked_ptr.h98 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
104 linked_ptr& operator=(linked_ptr const& ptr) {
118 operator T*() const { return value_; }
119 T* operator->() const { return value_; }
120 T& operator*() const { return *value_; }
132 bool operator==(const T* p) const { return value_ == p; }
133 bool operator!=(const T* p) const { return value_ != p; }
135 bool operator==(linked_ptr<U> const& ptr) const {
139 bool operator!=(linked_ptr<U> const& ptr) const {
169 bool operator
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DIntPoint.h93 operator CGPoint() const;
97 operator NSPoint() const;
105 inline IntPoint& operator+=(IntPoint& a, const IntSize& b)
111 inline IntPoint& operator-=(IntPoint& a, const IntSize& b)
117 inline IntPoint operator+(const IntPoint& a, const IntSize& b)
122 inline IntPoint operator+(const IntPoint& a, const IntPoint& b)
127 inline IntSize operator-(const IntPoint& a, const IntPoint& b)
132 inline IntPoint operator-(const IntPoint& a, const IntSize& b)
137 inline IntPoint operator-(const IntPoint& point)
142 inline bool operator
[all...]
H A DIntSize.h119 operator CGSize() const;
123 operator NSSize() const;
131 inline IntSize& operator+=(IntSize& a, const IntSize& b)
138 inline IntSize& operator-=(IntSize& a, const IntSize& b)
145 inline IntSize operator+(const IntSize& a, const IntSize& b)
150 inline IntSize operator-(const IntSize& a, const IntSize& b)
155 inline IntSize operator-(const IntSize& size)
160 inline bool operator==(const IntSize& a, const IntSize& b)
165 inline bool operator!=(const IntSize& a, const IntSize& b)
/external/chromium_org/third_party/cld/base/
H A Dscoped_ptr.h75 // operator* and operator-> will assert() if there is no current object.
76 C& operator*() const {
80 C* operator->() const {
89 bool operator==(const C* p) const { return ptr_ == p; }
90 bool operator!=(const C* p) const { return ptr_ != p; }
120 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
121 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
125 void operator=(const scoped_ptr&);
135 inline bool operator
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrOrderedSet.h89 Iter& operator =(const Iter& i) {
93 const T& operator *() const { return *fTreeIter; }
94 bool operator ==(const Iter& i) const {
97 bool operator !=(const Iter& i) const { return !(*this == i); }
98 Iter& operator ++() {
102 Iter& operator --() {
/external/clang/test/Analysis/
H A Darray-struct-region.cpp13 const struct S *operator +() const { return this; }
16 bool operator !() const { return this != this; }
18 int operator *() const { return field; }
23 const struct S *operator -(const struct S &s) { return &s; }
24 bool operator ~(const struct S &s) { return (&s) != &s; }
186 void operator=(int a) { x = a; }
/external/lldb/tools/lldb-perf/lib/
H A DMemoryGauge.cpp38 MemoryStats::operator = (const MemoryStats& rhs)
50 MemoryStats::operator += (const MemoryStats& rhs)
59 MemoryStats::operator - (const MemoryStats& rhs)
67 MemoryStats::operator + (const MemoryStats& rhs)
75 MemoryStats::operator / (size_t n)
85 MemoryStats::operator * (const MemoryStats& rhs)
/external/llvm/include/llvm/ADT/
H A DPackedVector.h90 reference &operator=(T val) {
94 operator T() const {
122 reference operator[](unsigned Idx) {
126 T operator[](unsigned Idx) const {
130 bool operator==(const PackedVector &RHS) const {
134 bool operator!=(const PackedVector &RHS) const {
138 const PackedVector &operator=(const PackedVector &RHS) {
143 PackedVector &operator|=(const PackedVector &RHS) {
/external/llvm/include/llvm/IR/
H A DInstIterator.h74 inline reference operator*() const { return *BI; }
75 inline pointer operator->() const { return &operator*(); }
77 inline bool operator==(const InstIterator &y) const {
80 inline bool operator!=(const InstIterator& y) const {
81 return !operator==(y);
84 InstIterator& operator++() {
89 inline InstIterator operator++(int) {
93 InstIterator& operator--() {
101 inline InstIterator operator
[all...]
/external/llvm/include/llvm/Object/
H A DSymbolicFile.h32 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {
38 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {
39 return !operator==(a, b);
42 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {
54 const content_type *operator->() const { return &Current; }
56 const content_type &operator*() const { return Current; }
58 bool operator==(const content_iterator &other) const {
62 bool operator!=(const content_iterator &other) const {
66 content_iterator &operator++() { // preincrement
97 bool operator
[all...]
/external/skia/src/gpu/
H A DGrOrderedSet.h89 Iter& operator =(const Iter& i) {
93 const T& operator *() const { return *fTreeIter; }
94 bool operator ==(const Iter& i) const {
97 bool operator !=(const Iter& i) const { return !(*this == i); }
98 Iter& operator ++() {
102 Iter& operator --() {
/external/stlport/stlport/stl/
H A D_pair.h81 inline bool _STLP_CALL operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
85 inline bool _STLP_CALL operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
92 inline bool _STLP_CALL operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
96 inline bool _STLP_CALL operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
100 inline bool _STLP_CALL operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
104 inline bool _STLP_CALL operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
137 inline bool _STLP_CALL operator!=(const _Tp& __x, const _Tp& __y)
141 inline bool _STLP_CALL operator>(const _Tp& __x, const _Tp& __y)
145 inline bool _STLP_CALL operator<=(const _Tp& __x, const _Tp& __y)
149 inline bool _STLP_CALL operator>
[all...]
/external/chromium_org/base/mac/
H A Dscoped_ioobject.h37 bool operator==(IOT that) const {
41 bool operator!=(IOT that) const {
45 operator IOT() const {
H A Dscoped_ioplugininterface.h39 bool operator==(InterfaceT that) const {
43 bool operator!=(InterfaceT that) const {
47 operator InterfaceT() const {
H A Dscoped_launch_data.h40 bool operator==(launch_data_t that) const {
44 bool operator!=(launch_data_t that) const {
48 operator launch_data_t() const {

Completed in 641 milliseconds

<<11121314151617181920>>