| /external/clang/test/Modules/Inputs/ |
| cxx-decls-unimported.h | 1 void operator delete(void*);
|
| /frameworks/compile/mclinker/include/mcld/Script/ |
| Operator.h | 1 //===- Operator.h ---------------------------------------------------------===// 22 /** \class Operator 23 * \brief This class defines the interfaces to an operator token. 26 class Operator : public ExprToken { 31 /* arithmetic operator */ 90 Operator(Arity pArity, Type pType); 96 virtual ~Operator(); 110 return pToken->kind() == ExprToken::OPERATOR; 113 template <Operator::Type TYPE> 114 static Operator& create() [all...] |
| /frameworks/compile/mclinker/lib/Script/ |
| Operator.cpp | 1 //===- Operator.cpp -------------------------------------------------------===// 9 #include "mcld/Script/Operator.h" 21 // Operator 23 const char* Operator::OpNames[] = { 43 Operator::Operator(Arity pArity, Type pType) 44 : ExprToken(ExprToken::OPERATOR), m_Arity(pArity), m_Type(pType) { 48 Operator::~Operator() { 51 void Operator::dump() const [all...] |
| /prebuilts/misc/common/swig/include/2.0.11/r/ |
| ropers.swg | 4 %rename(__plusplus__) *::operator++; 5 %rename(__minmin__) *::operator--; 6 %rename(__add__) *::operator+; 7 %rename(__sub__) *::operator-; 8 %rename(__neg__) *::operator-(); 9 %rename(__neg__) *::operator-() const; 10 %rename(__mul__) *::operator*; 11 %rename(__div__) *::operator/; 12 %rename(__eq__) *::operator==; 13 %rename(__ne__) *::operator!= [all...] |
| /external/clang/test/PCH/Inputs/ |
| cxx-method.h | 7 operator const char*(); 8 operator char*();
|
| /external/v8/src/compiler/ |
| machine-operator.h | 19 class Operator; 25 OptionalOperator(bool supported, const Operator* op) 29 // Gets the operator only if it is supported. 30 const Operator* op() const { 34 // Always gets the operator, even for unsupported operators. This is useful to 35 // use the operator as a placeholder in a graph, for instance. 36 const Operator* placeholder() const { return op_; } 40 const Operator* const op_; 47 LoadRepresentation LoadRepresentationOf(Operator const*); 66 V8_EXPORT_PRIVATE bool operator==(StoreRepresentation, StoreRepresentation) [all...] |
| machine-operator.cc | 5 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/operator.h" 15 bool operator==(StoreRepresentation lhs, StoreRepresentation rhs) { 21 bool operator!=(StoreRepresentation lhs, StoreRepresentation rhs) { 31 std::ostream& operator<<(std::ostream& os, StoreRepresentation rep) { 37 LoadRepresentation LoadRepresentationOf(Operator const* op) { 45 StoreRepresentation const& StoreRepresentationOf(Operator const* op) { 51 UnalignedLoadRepresentation UnalignedLoadRepresentationOf(Operator const* op) { 57 Operator const* op) { 62 CheckedLoadRepresentation CheckedLoadRepresentationOf(Operator const* op) [all...] |
| simplified-operator.h | 11 #include "src/compiler/operator.h" 28 class Operator; 35 std::ostream& operator<<(std::ostream&, BaseTaggedness); 51 V8_EXPORT_PRIVATE bool operator==(BufferAccess, BufferAccess); 52 bool operator!=(BufferAccess, BufferAccess); 56 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, BufferAccess); 58 V8_EXPORT_PRIVATE BufferAccess const BufferAccessOf(const Operator* op) 76 V8_EXPORT_PRIVATE bool operator==(FieldAccess const&, FieldAccess const&); 77 bool operator!=(FieldAccess const&, FieldAccess const&); 81 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, FieldAccess const&) [all...] |
| /external/clang/test/SemaCXX/ |
| member-operator-expr.cpp | 5 int operator++(); 6 operator int(); 13 i = x.operator++(); 14 i = x.operator int(); 15 x.operator--(); // expected-error{{no member named 'operator--'}} 16 x.operator float(); // expected-error{{no member named 'operator float'}} 17 x.operator; // expected-error{{expected a type}} 24 i = x->operator++() [all...] |
| overloaded-operator-decl.cpp | 7 X operator+(X, X); 8 X operator-(X, X) { X x; return x; } 11 Y operator-() const; 12 void operator()(int x = 17) const; 13 int operator[](int); 15 static int operator+(Y, Y); // expected-error{{overloaded 'operator+' cannot be a static member function}} 20 x = operator+(x, x); 23 X operator+(int, float); // expected-error{{overloaded 'operator+' must have at least one parameter of class or enumeration type} [all...] |
| cxx1y-sized-deallocation.cpp | 4 void operator delete(void *, size_t) noexcept; // expected-note {{'operator delete' declared here}} 5 void operator delete[](void *, size_t) noexcept; 9 operator delete(p, 8); 10 operator delete[](q, 12); 11 static_assert(noexcept(operator delete(p, 8)), ""); 12 static_assert(noexcept(operator delete[](q, 12)), ""); 15 void *operator new(size_t bad, size_t idea); 18 new (123) S; // expected-error {{'new' expression with placement arguments refers to non-placement 'operator delete'}}
|
| PR12778.cpp | 3 void operator delete() throw(void*); // expected-error{{'operator delete' must have at least one parameter}} 5 return ::operator new(__n);
|
| literal-operators.cpp | 6 void operator "" _tag_bad (const char *); // expected-error {{literal operator 'operator""_tag_bad' must be in a namespace or global scope}} 7 friend void operator "" _tag_good (const char *); 10 namespace ns { void operator "" _ns_good (const char *); } 13 extern "C++" void operator "" _extern_good (const char *); 14 extern "C++" { void operator "" _extern_good (const char *); } 16 void fn () { void operator "" _fn_good (const char *); } 19 void operator "" _good (char); 20 void operator "" _good (wchar_t) [all...] |
| /external/clang/test/CXX/over/over.oper/over.literal/ |
| p3.cpp | 6 char operator "" _a(const char *); 7 char operator "" _a(const char []); 8 char operator "" _a(unsigned long long); 9 char operator "" _a(long double); 10 char operator "" _a(char); 11 char operator "" _a(const volatile char); 12 char operator "" _a(wchar_t); 13 char operator "" _a(char16_t); 14 char operator "" _a(char32_t); 15 char operator "" _a(const char *, size_t) [all...] |
| p7.cpp | 4 constexpr int operator "" _a(const char *c) { 8 static_assert(operator "" _a("foo") == 'f', ""); 11 static inline void operator "" _puts(const char *c) { 15 operator "" _puts("foo"); 16 operator "" _puts("bar");
|
| p2.cpp | 3 void operator "" _a(const char *); 6 using ::operator "" _a; 8 void operator "" _b(const char *); 11 using N::operator "" _b; 14 void operator "" _c(const char *); // expected-error {{must be in a namespace or global scope}} 16 static void operator "" _c(unsigned long long); // expected-error {{must be in a namespace or global scope}} 18 friend void operator "" _d(const char *); 21 int operator "" _e; // expected-error {{cannot be the name of a variable}} 24 int operator "" _f; // expected-error {{cannot be the name of a variable}} 28 void operator "" _g(const char *) [all...] |
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/ |
| del.cc | 6 operator delete (void *ptr, const std::nothrow_t&) throw () 13 operator delete (void *ptr) throw () 20 operator delete[] (void *ptr) throw () 22 ::operator delete (ptr); 26 operator delete[] (void *ptr, const std::nothrow_t&) throw () 28 ::operator delete (ptr);
|
| /prebuilts/misc/common/swig/include/2.0.11/ruby/ |
| rubyopers.swg | 2 * Overloaded operator support 7 %rename(__add__) *::operator+; 8 %rename(__pos__) *::operator+(); 9 %rename(__pos__) *::operator+() const; 10 %rename(__sub__) *::operator-; 11 %rename(__neg__) *::operator-(); 12 %rename(__neg__) *::operator-() const; 13 %rename(__mul__) *::operator*; 14 %rename(__div__) *::operator/; 15 %rename(__mod__) *::operator% [all...] |
| /external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/ |
| p1.cpp | 5 void *operator new(size_t); 9 void *operator new(size_t);; // expected-error {{'operator new' cannot be declared inside a namespace}} 12 static void *operator new(size_t); // expected-error {{static declaration of 'operator new' follows non-static declaration}} expected-note {{previous}} 13 static void *operator new(size_t, int, int); // expected-error {{'operator new' cannot be declared static in global scope}} 16 void operator new(size_t); // expected-error {{'operator new' must return type 'void *'}} 20 void *operator new(); // expected-error {{'operator new' must have at least one parameter} [all...] |
| /prebuilts/misc/common/swig/include/2.0.11/perl5/ |
| perlopers.swg | 2 * Overloaded operator support 8 %rename(__plusplus__) *::operator++; 9 %rename(__minmin__) *::operator--; 10 %rename(__add__) *::operator+; 11 %rename(__sub__) *::operator-; 12 %rename(__neg__) *::operator-(); 13 %rename(__neg__) *::operator-() const; 14 %rename(__mul__) *::operator*; 15 %rename(__div__) *::operator/; 16 %rename(__eq__) *::operator== [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/system/include/ |
| new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
| /external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/ |
| p1.cpp | 4 void operator delete(void*); 8 void operator delete(void *); // expected-error {{'operator delete' cannot be declared inside a namespace}} 11 static void operator delete(void *); // expected-error {{follows non-static declaration}} expected-note {{implicit}} 12 static void operator delete(void *, int, int); // expected-error {{'operator delete' cannot be declared static in global scope}}
|
| /external/clang/test/CXX/lex/lex.literal/lex.ext/ |
| p2.cpp | 6 int a = 123_x; // expected-error {{no matching literal operator for call to 'operator""_x' with argument of type 'unsigned long long' or 'const char *', and no matching literal operator template}} 7 int b = 4.2_x; // expected-error {{no matching literal operator for call to 'operator""_x' with argument of type 'long double' or 'const char *', and no matching literal operator template}} 8 int c = "foo"_x; // expected-error {{no matching literal operator for call to 'operator""_x' with arguments of types 'const char *' and 'unsigned}} 9 int d = L"foo"_x; // expected-error {{no matching literal operator for call to 'operator""_x' with arguments of types 'const wchar_t *' and 'unsigned} [all...] |
| /external/clang/test/PCH/ |
| chain-conversion-lookup.cpp | 6 operator int*(); 10 operator int*(); 15 operator int *(); 20 int *ip = x.operator int*(); 22 int *ip2 = y.operator int*(); 24 int *ip3 = z.operator int*();
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_operator.py | 1 import operator
37 self.assertRaises(TypeError, operator.lt)
38 self.assertRaises(TypeError, operator.lt, 1j, 2j)
39 self.assertFalse(operator.lt(1, 0))
40 self.assertFalse(operator.lt(1, 0.0))
41 self.assertFalse(operator.lt(1, 1))
42 self.assertFalse(operator.lt(1, 1.0))
43 self.assertTrue(operator.lt(1, 2))
44 self.assertTrue(operator.lt(1, 2.0))
47 self.assertRaises(TypeError, operator.le) [all...] |