| /external/clang/test/CXX/dcl.dcl/ |
| p4-0x.cpp | 5 constexpr explicit operator bool() const { return b; } 9 constexpr operator int() const { return 1; } 12 constexpr operator int() const { return 1; } // expected-note {{candidate}} 13 constexpr operator long() const { return 0; } // expected-note {{candidate}}
|
| /external/clang/test/CXX/expr/expr.ass/ |
| p9-cxx11.cpp | 5 void operator+=(complex); 16 a = { 1 } = b; // expected-error {{initializer list cannot be used on the left hand side of operator '='}} 17 a = a + { 4 }; // expected-error {{initializer list cannot be used on the right hand side of operator '+'}} 18 a = { 3 } * { 4 }; // expected-error {{initializer list cannot be used on the left hand side of operator '*'}} \ 19 expected-error {{initializer list cannot be used on the right hand side of operator '*'}} 27 constexpr int operator=(S s) const { return s.a; } 28 constexpr int operator+=(S s) const { return s.b; } 33 int k1 = T() = { 1, 2 } = { 3, 4 }; // expected-error {{initializer list cannot be used on the left hand side of operator '='}} 34 int k2 = T() = { 1, 2 } + 1; // expected-error {{initializer list cannot be used on the left hand side of operator '+'}}
|
| /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/ |
| p2.cpp | 8 // // operator T(()[]) const; 13 // operator array() const; 25 // operator T(A1, A2) const () { }; 31 operator T* const() const;
|
| /external/clang/test/Modules/Inputs/PR20786/ |
| random.h | 3 friend bool operator==(const mersenne_twister_engine &,
|
| /external/clang/test/SemaCXX/ |
| implicit-virtual-member-functions.cpp | 7 struct B : A { // expected-error {{no suitable member 'operator delete' in 'B'}} 10 void operator delete (void *, int); // expected-note {{'operator delete' declared here}} 20 struct C : A { // expected-error {{no suitable member 'operator delete' in 'C'}} 22 void operator delete(void *, int); // expected-note {{'operator delete' declared here}} 27 struct D : A { // expected-error {{no suitable member 'operator delete' in 'D'}} 28 void operator delete(void *, int); // expected-note {{'operator delete' declared here}}
|
| microsoft-new-delete.cpp | 6 void *operator new(size_t size, arbitrary_t); 14 void *operator new[](size_t, noncopyable); 15 void *operator new(size_t, const noncopyable&); 19 void *operator new[](size_t, int &); 20 void *operator new(size_t, const int &); 25 void *operator new[](size_t, base &); 26 void *operator new(size_t, derived &); 31 void *operator new[](size_t, explicit_ctor_tag, explicit_ctor); 32 void *operator new(size_t, explicit_ctor_tag, int);
|
| operator-arrow-depth.cpp | 7 B<N> operator->(); // expected-note +{{'operator->' declared here produces an object of type 'B<}} 10 A<N-1> operator->(); // expected-note +{{'operator->' declared here produces an object of type 'A<}} 12 // expected-note-re@-2 {{(skipping {{120|2}} 'operator->'s in backtrace)}} 18 X *operator->(); 25 int m = bad->n; // expected-error-re {{use of 'operator->' on type 'B<{{2|10|128}} / 2 + 1>' would invoke a sequence of more than {{2|10|128}} 'operator->' calls}} 26 // expected-note@-1 {{use -foperator-arrow-depth=N to increase 'operator->' limit}}
|
| /external/clang/test/SemaTemplate/ |
| instantiate-default-assignment-operator.cpp | 4 RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a negative size}} 5 RefPtr& operator=(const PassRefPtr<T>&); 8 struct A { RefPtr<int> a; }; // expected-note {{instantiation of member function 'RefPtr<int>::operator=' requested here}} 9 struct B : RefPtr<float> { }; // expected-note {{in instantiation of member function 'RefPtr<float>::operator=' requested here}}
|
| /external/eigen/doc/snippets/ |
| MatrixBase_operatorNorm.cpp | 2 cout << "The operator norm of the 3x3 matrix of ones is "
|
| SelfAdjointView_operatorNorm.cpp | 2 cout << "The operator norm of the 3x3 matrix of ones is "
|
| /external/libcxx/src/ |
| new.cpp | 69 operator new(std::size_t size) _THROW_BAD_ALLOC 93 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT 100 p = ::operator new(size); 112 operator new[](size_t size) _THROW_BAD_ALLOC 114 return ::operator new(size); 119 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT 126 p = ::operator new[](size); 138 operator delete(void* ptr) _NOEXCEPT 146 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT 148 ::operator delete(ptr) [all...] |
| /external/libcxxabi/src/ |
| stdlib_new_delete.cpp | 28 operator new(std::size_t size) _THROW_BAD_ALLOC 52 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT 59 p = ::operator new(size); 71 operator new[](size_t size) _THROW_BAD_ALLOC 73 return ::operator new(size); 78 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT 85 p = ::operator new[](size); 97 operator delete(void* ptr) _NOEXCEPT 105 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT 107 ::operator delete(ptr) [all...] |
| /external/lzma/CPP/Common/ |
| NewHandler.h | 9 The operator "new" in MSVC 6.0 doesn't throw exception "bad_alloc".
10 So we define another version of operator "new" that throws "CNewException" on failure.
12 If you use compiler that throws exception in "new" operator (GCC or new version of MSVC),
15 It's still allowed to use redefined version of operator "new" from "NewHandler.cpp"
18 that redefined version of operator "new" (that throws CNewException) is not
43 operator new(size_t size);
49 operator delete(void *p) throw();
59 operator new[](size_t size);
65 operator delete[](void *p) throw();
|
| StdOutStream.h | 23 operator FILE *() { return _stream; }
28 CStdOutStream & operator<<(CStdOutStream & (* func)(CStdOutStream &))
34 CStdOutStream & operator<<(const char *s) throw()
40 CStdOutStream & operator<<(char c) throw()
46 CStdOutStream & operator<<(Int32 number) throw();
47 CStdOutStream & operator<<(Int64 number) throw();
48 CStdOutStream & operator<<(UInt32 number) throw();
49 CStdOutStream & operator<<(UInt64 number) throw();
51 CStdOutStream & operator<<(const wchar_t *s);
|
| /external/v8/src/compiler/ |
| operator.cc | 5 #include "src/compiler/operator.h" 25 STATIC_CONST_MEMBER_DEFINITION const size_t Operator::kMaxControlOutputCount; 27 Operator::Operator(Opcode opcode, Properties properties, const char* mnemonic, 40 std::ostream& operator<<(std::ostream& os, const Operator& op) { 45 void Operator::PrintToImpl(std::ostream& os, PrintVerbosity verbose) const { 49 void Operator::PrintPropsTo(std::ostream& os) const { 53 if (HasProperty(Operator::k##name)) { \
|
| /external/valgrind/massif/tests/ |
| new-cpp.cpp | 0 // operator new(unsigned) 2 // operator new[](unsigned) 3 // operator new(unsigned, std::nothrow_t const&) 4 // operator new[](unsigned, std::nothrow_t const&)
|
| /frameworks/compile/mclinker/include/mcld/ADT/ |
| Flags.h | 26 operator unsigned int() const { return m_Data; } 28 bool operator!() const { return (m_Data == 0x0); } 30 Flags operator&(int pMask) const { return Flags(m_Data & pMask); } 32 Flags operator&(unsigned int pMask) const { return Flags(m_Data & pMask); } 34 Flags operator&(Enum pMask) const { return Flags(m_Data & pMask); } 36 Flags& operator&=(unsigned int pMask) { 41 Flags& operator=(Flags pOther) { 46 Flags operator^(Flags pOther) const { return Flags(m_Data ^ pOther.m_Data); } 48 Flags operator^(Enum pOther) const { return Flags(m_Data ^ pOther); } 50 Flags& operator^=(Flags pOther) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
| iterator.h | 43 /// - DerivedT &operator=(const DerivedT &R); 44 /// - bool operator==(const DerivedT &R) const; 45 /// - const T &operator*() const; 46 /// - T &operator*(); 47 /// - DerivedT &operator++(); 51 /// - DerivedT &operator--(); 55 /// - DerivedT &operator++(); 56 /// - DerivedT &operator--(); 58 /// - bool operator<(const DerivedT &RHS) const; 59 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
| iterator.h | 45 /// - DerivedT &operator=(const DerivedT &R); 46 /// - bool operator==(const DerivedT &R) const; 47 /// - const T &operator*() const; 48 /// - T &operator*(); 49 /// - DerivedT &operator++(); 53 /// - DerivedT &operator--(); 57 /// - DerivedT &operator++(); 58 /// - DerivedT &operator--(); 60 /// - bool operator<(const DerivedT &RHS) const; 61 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/ |
| iterator.h | 45 /// - DerivedT &operator=(const DerivedT &R); 46 /// - bool operator==(const DerivedT &R) const; 47 /// - const T &operator*() const; 48 /// - T &operator*(); 49 /// - DerivedT &operator++(); 53 /// - DerivedT &operator--(); 57 /// - DerivedT &operator++(); 58 /// - DerivedT &operator--(); 60 /// - bool operator<(const DerivedT &RHS) const; 61 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/ |
| iterator.h | 45 /// - DerivedT &operator=(const DerivedT &R); 46 /// - bool operator==(const DerivedT &R) const; 47 /// - const T &operator*() const; 48 /// - T &operator*(); 49 /// - DerivedT &operator++(); 53 /// - DerivedT &operator--(); 57 /// - DerivedT &operator++(); 58 /// - DerivedT &operator--(); 60 /// - bool operator<(const DerivedT &RHS) const; 61 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/ |
| iterator.h | 45 /// - DerivedT &operator=(const DerivedT &R); 46 /// - bool operator==(const DerivedT &R) const; 47 /// - const T &operator*() const; 48 /// - T &operator*(); 49 /// - DerivedT &operator++(); 53 /// - DerivedT &operator--(); 57 /// - DerivedT &operator++(); 58 /// - DerivedT &operator--(); 60 /// - bool operator<(const DerivedT &RHS) const; 61 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/ |
| iterator.h | 45 /// - DerivedT &operator=(const DerivedT &R); 46 /// - bool operator==(const DerivedT &R) const; 47 /// - const T &operator*() const; 48 /// - T &operator*(); 49 /// - DerivedT &operator++(); 53 /// - DerivedT &operator--(); 57 /// - DerivedT &operator++(); 58 /// - DerivedT &operator--(); 60 /// - bool operator<(const DerivedT &RHS) const; 61 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/ |
| iterator.h | 45 /// - DerivedT &operator=(const DerivedT &R); 46 /// - bool operator==(const DerivedT &R) const; 47 /// - const T &operator*() const; 48 /// - T &operator*(); 49 /// - DerivedT &operator++(); 53 /// - DerivedT &operator--(); 57 /// - DerivedT &operator++(); 58 /// - DerivedT &operator--(); 60 /// - bool operator<(const DerivedT &RHS) const; 61 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
| iterator.h | 43 /// - DerivedT &operator=(const DerivedT &R); 44 /// - bool operator==(const DerivedT &R) const; 45 /// - const T &operator*() const; 46 /// - T &operator*(); 47 /// - DerivedT &operator++(); 51 /// - DerivedT &operator--(); 55 /// - DerivedT &operator++(); 56 /// - DerivedT &operator--(); 58 /// - bool operator<(const DerivedT &RHS) const; 59 /// - DifferenceTypeT operator-(const DerivedT &R) const [all...] |