/external/clang/test/SemaCXX/ |
cxx11-user-defined-literals.cpp | 9 constexpr LitKind operator"" _kind(char p) { return LitKind::Char; } 10 constexpr LitKind operator"" _kind(wchar_t p) { return LitKind::WideChar; } 11 constexpr LitKind operator"" _kind(char16_t p) { return LitKind::Char16; } 12 constexpr LitKind operator"" _kind(char32_t p) { return LitKind::Char32; } 13 constexpr LitKind operator"" _kind(const char *p, size_t n) { return LitKind::CharStr; } 14 constexpr LitKind operator"" _kind(const wchar_t *p, size_t n) { return LitKind::WideStr; } 15 constexpr LitKind operator"" _kind(const char16_t *p, size_t n) { return LitKind::Char16Str; } 16 constexpr LitKind operator"" _kind(const char32_t *p, size_t n) { return LitKind::Char32Str; } 17 constexpr LitKind operator"" _kind(unsigned long long n) { return LitKind::Integer; } 18 constexpr LitKind operator"" _kind(long double n) { return LitKind::Floating; [all...] |
copy-assignment.cpp | 6 operator A(); 10 operator const A(); 14 B& operator=(B&); // expected-note 4 {{candidate function}} 18 operator B(); 22 operator B&(); 26 operator const B(); 30 operator const B&(); 34 int operator=(int); // expected-note{{candidate function}} 35 long operator=(long); // expected-note{{candidate function}} 36 int operator+=(int); // expected-note{{candidate function} [all...] |
new-delete-predefined-decl-2.cpp | 7 operator delete(ptr); 12 ::operator delete[](ptr);
|
unary-real-imag.cpp | 4 int i = __real__ A(); // expected-error {{invalid type 'A' to __real operator}} 5 int j = __imag__ A(); // expected-error {{invalid type 'A' to __imag operator}}
|
user-defined-conversions.cpp | 3 operator bool(); 14 operator short(); 15 operator float(); 30 operator B&(); 51 operator Base(); 55 operator Derived(); 59 operator FunkyDerived(); 76 operator X1();
|
overloaded-operator.cpp | 4 X operator+(X, X); 21 Y operator+(Y, Y); 22 bool operator-(Y, Y); // expected-note{{candidate function}} 23 bool operator-(Z, Z); // expected-note{{candidate function}} 27 bool b = y - z; // expected-error{{use of overloaded operator '-' is ambiguous}} 31 bool operator==(Z&); // expected-note 2{{candidate function}} 36 bool operator==(A&, Z&); // expected-note 3{{candidate function}} 40 a == z; // expected-error{{use of overloaded operator '==' is ambiguous}} 45 bool operator==(const B&) const; 71 float& operator==(E1, E2); // expected-note{{candidate function} [all...] |
overloaded-builtin-operators.cpp | 6 operator short(); 10 operator long(); 15 operator E1(); 20 operator E2(); 30 operator pmf(); 62 struct ShortRef { // expected-note{{candidate function (the implicit copy assignment operator)}} 63 operator short&(); 67 operator volatile long&(); 70 struct XpmfRef { // expected-note{{candidate function (the implicit copy assignment operator)}} 71 operator pmf&() [all...] |
/external/clang/test/CXX/over/over.built/ |
p1.cpp | 6 bool operator >= (E1, E1) { 10 bool operator >= (E1, const E2) {
|
p25.cpp | 6 operator Color(); 10 operator Color();
|
/external/clang/test/CXX/special/class.free/ |
p1.cpp | 5 void *operator new(size_t) { 8 void *operator new[](size_t) {
|
p6.cpp | 5 void operator delete(void*) { 8 void operator delete[](void*) {
|
/external/clang/test/CodeGenCXX/ |
copy-assign-synthesis-3.cpp | 4 A& operator=(A&); 8 void operator=(B);
|
/external/clang/test/PCH/ |
cxx-method.cpp | 6 S::operator char *() { return 0; } 8 S::operator const char *() { return 0; }
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword.cpp | 2 // RUN: %clang_cc1 %s -E -fno-operator-names 4 // Not valid in C++ unless -fno-operator-names is passed.
|
/external/stlport/src/ |
aligned_buffer.h | 11 T* operator&() { 15 T const* operator&() const {
|
/external/stlport/test/unit/ |
fib.h | 7 inline int operator()(); 14 Fibonacci::operator()()
|
/ndk/sources/cxx-stl/stlport/src/ |
aligned_buffer.h | 11 T* operator&() { 15 T const* operator&() const {
|
/ndk/tests/device/test-gnustl-full/unit/ |
fib.h | 7 inline int operator()(); 14 Fibonacci::operator()()
|
/ndk/tests/device/test-stlport/unit/ |
fib.h | 7 inline int operator()(); 14 Fibonacci::operator()()
|
/external/clang/test/Analysis/ |
operator-calls.cpp | 5 bool operator==(const X0&, const X0&); 17 return operator==(a, b); 25 bool operator==(int x) const { 39 operator int() const { 42 operator bool() const {
|
/external/clang/test/SemaTemplate/ |
instantiate-subscript.cpp | 5 int &operator[](int); 9 long &operator[](long); // expected-note{{candidate function}} 13 operator int(); 19 Result &result = t[u]; // expected-error{{no viable overloaded operator[] for type}} 31 bool operator[](int n) const { return true; }
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/decimal/ |
decimal | 103 decimal32 operator+(decimal32 __rhs); 104 decimal64 operator+(decimal64 __rhs); 105 decimal128 operator+(decimal128 __rhs); 106 decimal32 operator-(decimal32 __rhs); 107 decimal64 operator-(decimal64 __rhs); 108 decimal128 operator-(decimal128 __rhs); 112 _T1 operator _Op(_T2 __lhs, _T3 __rhs); 114 _Tp operator _Op(_Tp __lhs, int __rhs); \ 115 _Tp operator _Op(_Tp __lhs, unsigned int __rhs); \ 116 _Tp operator _Op(_Tp __lhs, long __rhs); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/decimal/ |
decimal | 103 decimal32 operator+(decimal32 __rhs); 104 decimal64 operator+(decimal64 __rhs); 105 decimal128 operator+(decimal128 __rhs); 106 decimal32 operator-(decimal32 __rhs); 107 decimal64 operator-(decimal64 __rhs); 108 decimal128 operator-(decimal128 __rhs); 112 _T1 operator _Op(_T2 __lhs, _T3 __rhs); 114 _Tp operator _Op(_Tp __lhs, int __rhs); \ 115 _Tp operator _Op(_Tp __lhs, unsigned int __rhs); \ 116 _Tp operator _Op(_Tp __lhs, long __rhs); [all...] |
/external/stlport/stlport/stl/ |
_iterator.h | 58 // pointer type required for arrow operator hidden behind _STLP_DEFINE_ARROW_OPERATOR: 66 _Self& operator = (const _Self& __x) { current = __x.base(); return *this; } 71 _Self& operator = (const reverse_iterator<_Iter>& __x) { current = __x.base(); return *this; } 75 reference operator*() const { 80 _Self& operator++() { 84 _Self operator++(int) { 89 _Self& operator--() { 93 _Self operator--(int) { 99 _Self operator+(difference_type __n) const { return _Self(current - __n); } 100 _Self& operator+=(difference_type __n) [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_iterator.h | 58 // pointer type required for arrow operator hidden behind _STLP_DEFINE_ARROW_OPERATOR: 66 _Self& operator = (const _Self& __x) { current = __x.base(); return *this; } 71 _Self& operator = (const reverse_iterator<_Iter>& __x) { current = __x.base(); return *this; } 75 reference operator*() const { 80 _Self& operator++() { 84 _Self operator++(int) { 89 _Self& operator--() { 93 _Self operator--(int) { 99 _Self operator+(difference_type __n) const { return _Self(current - __n); } 100 _Self& operator+=(difference_type __n) [all...] |