| /external/clang/test/SemaCXX/ |
| new-null.cpp | 8 void *operator new(size_t n) { 9 return nullptr; // expected-warning {{'operator new' should not return a null pointer unless it is declared 'throw()' or 'noexcept'}} 11 void *operator new[](size_t n) noexcept { 19 void *operator new(size_t n) throw() { 22 void *operator new[](size_t n) { 25 // expected-warning@-2 {{'operator new[]' should not return a null pointer unless it is declared 'throw()' or 'noexcept'}} 27 // expected-warning-re@-4 {{'operator new[]' should not return a null pointer unless it is declared 'throw()'{{$}}}} 33 void *operator new(size_t n) { 39 // expected-warning@-5 {{'operator new' should not return a null pointer unless it is declared 'throw()'}} 42 void *operator new[](size_t n) [all...] |
| new-delete-predefined-decl-2.cpp | 8 operator delete(ptr); 13 ::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();
|
| /external/vulkan-validation-layers/libs/glm/detail/ |
| type_vec2.hpp | 96 GLM_FUNC_DECL T & operator[](length_t i); 97 GLM_FUNC_DECL T const & operator[](length_t i) const; 154 GLM_FUNC_DECL tvec2<T, P> & operator= (tvec2<T, P> const & v); 156 GLM_FUNC_DECL tvec2<T, P> & operator= (tvec2<U, P> const & v); 159 GLM_FUNC_DECL tvec2<T, P> & operator+=(U s); 161 GLM_FUNC_DECL tvec2<T, P> & operator+=(tvec2<U, P> const & v); 163 GLM_FUNC_DECL tvec2<T, P> & operator-=(U s); 165 GLM_FUNC_DECL tvec2<T, P> & operator-=(tvec2<U, P> const & v); 167 GLM_FUNC_DECL tvec2<T, P> & operator*=(U s); 169 GLM_FUNC_DECL tvec2<T, P> & operator*=(tvec2<U, P> const & v) [all...] |
| type_vec3.hpp | 97 GLM_FUNC_DECL T & operator[](length_t i); 98 GLM_FUNC_DECL T const & operator[](length_t i) const; 172 GLM_FUNC_DECL tvec3<T, P> & operator= (tvec3<T, P> const & v); 174 GLM_FUNC_DECL tvec3<T, P> & operator= (tvec3<U, P> const & v); 177 GLM_FUNC_DECL tvec3<T, P> & operator+=(U s); 179 GLM_FUNC_DECL tvec3<T, P> & operator+=(tvec3<U, P> const & v); 181 GLM_FUNC_DECL tvec3<T, P> & operator-=(U s); 183 GLM_FUNC_DECL tvec3<T, P> & operator-=(tvec3<U, P> const & v); 185 GLM_FUNC_DECL tvec3<T, P> & operator*=(U s); 187 GLM_FUNC_DECL tvec3<T, P> & operator*=(tvec3<U, P> const & v) [all...] |
| /prebuilts/misc/common/swig/include/2.0.11/python/ |
| pyopers.swg | 2 * Overloaded operator support 5 -builtin option to SWIG, but operator overloads are particularly 10 python operator overloads beyond the defaults defined in this file, 58 operator overloads for comparison (operator==, operator<, etc.), they 99 %pybinoperator(__add__, *::operator+, binaryfunc, nb_add); 100 %pybinoperator(__pos__, *::operator+(), unaryfunc, nb_positive); 101 %pybinoperator(__pos__, *::operator+() const, unaryfunc, nb_positive); 102 %pybinoperator(__sub__, *::operator-, binaryfunc, nb_subtract) [all...] |
| /prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/detail/ |
| type_vec2.hpp | 96 GLM_FUNC_DECL T & operator[](length_t i); 97 GLM_FUNC_DECL T const & operator[](length_t i) const; 154 GLM_FUNC_DECL tvec2<T, P> & operator= (tvec2<T, P> const & v); 156 GLM_FUNC_DECL tvec2<T, P> & operator= (tvec2<U, P> const & v); 159 GLM_FUNC_DECL tvec2<T, P> & operator+=(U s); 161 GLM_FUNC_DECL tvec2<T, P> & operator+=(tvec2<U, P> const & v); 163 GLM_FUNC_DECL tvec2<T, P> & operator-=(U s); 165 GLM_FUNC_DECL tvec2<T, P> & operator-=(tvec2<U, P> const & v); 167 GLM_FUNC_DECL tvec2<T, P> & operator*=(U s); 169 GLM_FUNC_DECL tvec2<T, P> & operator*=(tvec2<U, P> const & v) [all...] |
| type_vec3.hpp | 97 GLM_FUNC_DECL T & operator[](length_t i); 98 GLM_FUNC_DECL T const & operator[](length_t i) const; 172 GLM_FUNC_DECL tvec3<T, P> & operator= (tvec3<T, P> const & v); 174 GLM_FUNC_DECL tvec3<T, P> & operator= (tvec3<U, P> const & v); 177 GLM_FUNC_DECL tvec3<T, P> & operator+=(U s); 179 GLM_FUNC_DECL tvec3<T, P> & operator+=(tvec3<U, P> const & v); 181 GLM_FUNC_DECL tvec3<T, P> & operator-=(U s); 183 GLM_FUNC_DECL tvec3<T, P> & operator-=(tvec3<U, P> const & v); 185 GLM_FUNC_DECL tvec3<T, P> & operator*=(U s); 187 GLM_FUNC_DECL tvec3<T, P> & operator*=(tvec3<U, P> const & v) [all...] |
| /external/libcxx/test/support/ |
| user_defined_integral.hpp | 17 operator T() const { return value; } 23 void operator+(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 26 void operator-(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 29 void operator*(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 32 void operator/(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 35 void operator==(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 38 void operator!=(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 41 void operator<(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 44 void operator>(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 47 void operator<=(UserDefinedIntegral<T>, UserDefinedIntegral<U>) [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
| user_defined_integral.hpp | 17 operator T() const { return value; } 23 void operator+(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 26 void operator-(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 29 void operator*(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 32 void operator/(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 35 void operator==(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 38 void operator!=(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 41 void operator<(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 44 void operator>(UserDefinedIntegral<T>, UserDefinedIntegral<U>); 47 void operator<=(UserDefinedIntegral<T>, UserDefinedIntegral<U>) [all...] |
| /external/clang/test/Index/ |
| get-cursor.cpp | 73 A& operator=(const A&); 74 A& operator=(A&&) noexcept; 77 A operator+() const; 78 A operator-() const; 79 A operator~() const; 80 A operator*() const; 81 A operator&() const; 82 bool operator!() const; 85 A& operator++(); 86 A& operator--() [all...] |
| /prebuilts/vndk/v27/x86_64/arch-x86-x86_64/shared/vndk-sp/ |
| libbacktrace.so | |
| /frameworks/compile/mclinker/include/mcld/Script/ |
| UnaryOp.h | 12 #include "mcld/Script/Operator.h" 24 * \brief This class defines the interfaces to an unary operator token. 27 template <Operator::Type TYPE> 28 class UnaryOp : public Operator { 30 friend class Operator; 32 UnaryOp() : Operator(Operator::UNARY, TYPE), m_pOperand(NULL) {} 46 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module&, 49 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval(const Module&, 52 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval(const Module& [all...] |
| /frameworks/rs/rsov/compiler/spirit/ |
| word_stream.h | 45 virtual uint32_t operator*() = 0; 47 virtual InputWordStream &operator>>(uint32_t *RHS) = 0; 48 virtual InputWordStream &operator>>(LiteralContextDependentNumber *num) = 0; 49 virtual InputWordStream &operator>>(std::string *str) = 0; 51 InputWordStream &operator>>(int32_t *RHS) { return *this >> (uint32_t *)RHS; } 53 InputWordStream &operator>>(OpCodeAndWordCount *codeCount) { 60 InputWordStream &operator>>(IdRef *RHS) { 70 InputWordStream &operator>>(PairLiteralIntegerIdRef *RHS) { 74 InputWordStream &operator>>(PairIdRefLiteralInteger *RHS) { 78 InputWordStream &operator>>(PairIdRefIdRef *RHS) [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
| dvec.h | 69 operator __m128i() const { return vec; } 71 M128& operator&=(const M128 &a) { return *this = (M128) _mm_and_si128(vec,a); } 72 M128& operator|=(const M128 &a) { return *this = (M128) _mm_or_si128(vec,a); } 73 M128& operator^=(const M128 &a) { return *this = (M128) _mm_xor_si128(vec,a); } 77 inline M128 operator&(const M128 &a,const M128 &b) { return _mm_and_si128(a,b); } 78 inline M128 operator|(const M128 &a,const M128 &b) { return _mm_or_si128(a,b); } 79 inline M128 operator^(const M128 &a,const M128 &b) { return _mm_xor_si128(a,b); } 88 I128vec1& operator= (const M128 &a) { return *this = (I128vec1) a; } 89 I128vec1& operator&=(const M128 &a) { return *this = (I128vec1) _mm_and_si128(vec,a); } 90 I128vec1& operator|=(const M128 &a) { return *this = (I128vec1) _mm_or_si128(vec,a); [all...] |
| /external/clang/test/Parser/ |
| cxx11-user-defined-literals.cpp | 41 constexpr char operator"" _id(char c) { return c; } 42 constexpr wchar_t operator"" _id(wchar_t c) { return c; } 43 constexpr char16_t operator"" _id(char16_t c) { return c; } 44 constexpr char32_t operator"" _id(char32_t c) { return c; } 47 constexpr const char operator"" _id(const char *p, size_t n) { return *p; } 48 constexpr const wchar_t operator"" _id(const wchar_t *p, size_t n) { return *p; } 49 constexpr const char16_t operator"" _id(const char16_t *p, size_t n) { return *p; } 50 constexpr const char32_t operator"" _id(const char32_t *p, size_t n) { return *p; } 52 constexpr unsigned long long operator"" _id(unsigned long long n) { return n; } 53 constexpr long double operator"" _id(long double d) { return d; [all...] |
| /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
| BcDigestProvider.java | 1 package org.bouncycastle.operator.bc; 5 import org.bouncycastle.operator.OperatorCreationException;
|
| /external/clang/test/CXX/over/over.built/ |
| p25.cpp | 7 operator Color(); 11 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/SemaTemplate/ |
| instantiate-overload-candidates.cpp | 34 void operator++() {} 35 void operator+(int) {} 36 void operator+(A) {} 37 void operator[](int) {} 38 void operator[](A) {} 41 using A::operator++; 42 using A::operator+; 43 using A::operator[];
|
| /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/expr/ |
| AssignExprTest.java | 10 assertEquals(BinaryExpr.Operator.PLUS, AssignExpr.Operator.PLUS.toBinaryOperator().get());
|
| BinaryExprTest.java | 10 assertEquals(AssignExpr.Operator.PLUS, BinaryExpr.Operator.PLUS.toAssignOperator().get());
|
| /external/libchrome/base/allocator/ |
| allocator_shim_override_cpp_symbols.h | 18 SHIM_ALWAYS_EXPORT void* operator new(size_t size) { 22 SHIM_ALWAYS_EXPORT void operator delete(void* p) __THROW { 26 SHIM_ALWAYS_EXPORT void* operator new[](size_t size) { 30 SHIM_ALWAYS_EXPORT void operator delete[](void* p) __THROW { 34 SHIM_ALWAYS_EXPORT void* operator new(size_t size, 39 SHIM_ALWAYS_EXPORT void* operator new[](size_t size, 44 SHIM_ALWAYS_EXPORT void operator delete(void* p, const std::nothrow_t&) __THROW { 48 SHIM_ALWAYS_EXPORT void operator delete[](void* p,
|