HomeSort by relevance Sort by last modified time
    Searched full:operator (Results 126 - 150 of 13190) sorted by null

1 2 3 4 56 7 8 91011>>

  /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/lex/lex.literal/lex.ext/
p5.cpp 5 int &operator "" _x1 (const char *);
6 double &operator "" _x1 (const char *, size_t);
9 double &i3 = L"foo"_x1; // expected-error {{no matching literal operator}}
11 char &operator "" _x1(const wchar_t *, size_t);
  /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/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/lzma/CPP/Common/
NewHandler.h 13 operator delete(void *p) throw();
  /external/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /external/valgrind/main/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 34 operator unsigned int () const
37 bool operator! () const
40 Flags operator& (int pMask ) const
43 Flags operator& (unsigned int pMask ) const
46 Flags operator& (Enum pMask ) const
49 Flags& operator&= (unsigned int pMask ) {
54 Flags& operator=(Flags pOther) {
59 Flags operator^ (Flags pOther) const
62 Flags operator^ (Enum pOther) const
65 Flags& operator^= (Flags pOther)
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /ndk/tests/device/test-stlport_shared-exception/jni/
delete3_1.cpp 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw()
22 return operator new(numBytes, std::nothrow);
25 void operator delete(void* pMemory, SomeClass&, const std::nothrow_t&) throw()
28 return operator delete(pMemory);
new1_4.cpp 15 void* operator new(size_t size, double = 0.0) { return ::operator new(size);}
16 void operator delete(void* p, double) { exit(0); }
17 void operator delete(void* p) { abort(); }
has_nothrow_assign.cpp 20 D& operator=(const D&) throw() { return *this; }
25 E& operator=(const E&) throw(int) { return *this; }
30 E1& operator=(const E1&) throw(int) { throw int(); return *this; }
45 H& operator=(H&) throw(int) { return *this; }
50 H1& operator=(H1&) throw(int) { throw int(); return *this; }
55 I& operator=(I&) throw(int) { return *this; }
56 I& operator=(const I&) throw() { return *this; }
61 I1& operator=(I1&) throw(int) { throw int(); return *this; }
62 I1& operator=(const I1&) throw() { return *this; }
67 J& operator=(J&) throw() { return *this;
    [all...]
  /ndk/tests/device/test-stlport_static-exception/jni/
delete3_1.cpp 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw()
22 return operator new(numBytes, std::nothrow);
25 void operator delete(void* pMemory, SomeClass&, const std::nothrow_t&) throw()
28 return operator delete(pMemory);
new1_4.cpp 15 void* operator new(size_t size, double = 0.0) { return ::operator new(size);}
16 void operator delete(void* p, double) { exit(0); }
17 void operator delete(void* p) { abort(); }
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/
_ptrs_specialize.h 7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
13 // the following is a workaround for arrow operator problems
18 // Compiler can handle generic -> operator.
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
test_iterators.h 26 reference operator*() const {return *it_;}
28 output_iterator& operator++() {++it_; return *this;}
29 output_iterator operator++(int)
53 reference operator*() const {return *it_;}
54 pointer operator->() const {return it_;}
56 input_iterator& operator++() {++it_; return *this;}
57 input_iterator operator++(int)
60 friend bool operator==(const input_iterator& x, const input_iterator& y)
62 friend bool operator!=(const input_iterator& x, const input_iterator& y)
69 operator==(const input_iterator<T>& x, const input_iterator<U>& y
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
model.js 13 * returning an object with 'accumulator', 'operator', and 'operand' properties
24 // For operations, ignore the last operator if no operand was entered,
26 // operator. In either case, clear the operand and the defaults.
27 var operator = this.operand && this.operator;
28 var result = this.calculate_(operator, this.operand);
29 return this.reset_({accumulator: result, operator: input});
32 // operator and operands used as defaults, or if there is no current
33 // operator, use the default operators and operands instead. In any case,
34 // clear the operator and operand and return a transient state with a '=
    [all...]
  /external/clang/test/SemaCXX/
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...]
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...]

Completed in 2936 milliseconds

1 2 3 4 56 7 8 91011>>