Home
last modified time | relevance | path

Searched refs:i_ (Results 1 – 25 of 150) sorted by relevance

123456

/external/libcxx/test/support/
Dpropagate_const_helpers.h4 int i_; member
6 constexpr const int &operator*() const { return i_; }
7 constexpr int &operator*() { return i_; }
8 constexpr const int *get() const { return &i_; } in get()
9 constexpr int *get() { return &i_; } in get()
10 constexpr const int *operator->() const { return &i_; }
11 constexpr int *operator->() { return &i_; }
13 constexpr X(int i) : i_(i) {} in X()
18 int i_; member
20 constexpr const int &operator*() const { return i_; }
[all …]
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp52 int i_; member in X
54 X(int i) : i_(i) {} in X()
55 X(X&& x) : i_(x.i_) {x.i_ = 0;} in X()
56 ~X() {i_ = 0;} in ~X()
57 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
62 int i_; member in Y
64 Y(int i) : i_(i) {} in Y()
65 Y(Y&& x) noexcept : i_(x.i_) {x.i_ = 0;} in Y()
67 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==()
74 int i_; member in Z
[all …]
Dcopy.pass.cpp52 int i_; member in X
54 X(int i) : i_(i) {} in X()
55 X(const X& x) : i_(x.i_) {} in X()
56 ~X() {i_ = 0;} in ~X()
57 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
62 int i_; member in Y
64 Y(int i) : i_(i) {} in Y()
65 Y(const Y& x) : i_(x.i_) {} in Y()
67 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==()
74 int i_; member in Z
[all …]
Dinitializer_list.pass.cpp30 int i_; member in X
33 X() : i_(0) {} in X()
34 X(int i) : i_(i) {} in X()
35 X(int i, int j) : i_(i), j_(j) {} in X()
40 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
45 int i_; member in Y
48 constexpr Y() : i_(0) {} in Y()
49 constexpr Y(int i) : i_(i) {} in Y()
50 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in Y()
53 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
[all …]
Drvalue_T.pass.cpp26 int i_; member in X
28 X(int i) : i_(i) {} in X()
29 X(X&& x) : i_(x.i_) {} in X()
31 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
36 int i_; member in Y
38 constexpr Y(int i) : i_(i) {} in Y()
39 constexpr Y(Y&& x) : i_(x.i_) {} in Y()
41 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==()
Din_place_t.pass.cpp29 int i_; member in X
32 X() : i_(0) {} in X()
33 X(int i) : i_(i) {} in X()
34 X(int i, int j) : i_(i), j_(j) {} in X()
39 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
44 int i_; member in Y
47 constexpr Y() : i_(0) {} in Y()
48 constexpr Y(int i) : i_(i) {} in Y()
49 constexpr Y(int i, int j) : i_(i), j_(j) {} in Y()
52 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
Dconst_T.pass.cpp26 int i_; member in X
28 X(int i) : i_(i) {} in X()
30 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
35 int i_; member in Y
37 constexpr Y(int i) : i_(i) {} in Y()
39 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==()
/external/libcxx/test/std/algorithms/alg.sorting/alg.merge/
Dinplace_merge.pass.cpp26 S() : i_(0) {} in S()
27 S(int i) : i_(i) {} in S()
29 S(const S& rhs) : i_(rhs.i_) {} in S()
30 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S()
32 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =()
33 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =()
34 S& operator =(int i) { i_ = i; return *this; } in operator =()
36 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <()
37 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==()
38 bool operator ==(int i) const { return i_ == i; } in operator ==()
[all …]
Dinplace_merge_comp.pass.cpp36 S() : i_(0) {} in S()
37 S(int i) : i_(i) {} in S()
39 S(const S& rhs) : i_(rhs.i_) {} in S()
40 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S()
42 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =()
43 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =()
44 S& operator =(int i) { i_ = i; return *this; } in operator =()
46 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <()
47 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >()
48 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace_initializer_list.pass.cpp27 int i_; member in X
31 constexpr X() : i_(0) {} in X()
32 constexpr X(int i) : i_(i) {} in X()
33 constexpr X(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in X()
37 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
44 int i_; member in Y
47 constexpr Y() : i_(0) {} in Y()
48 constexpr Y(int i) : i_(i) {} in Y()
49 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in Y()
52 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dinitializer_list.pass.cpp30 int i_; member in X
33 X() : i_(0) {} in X()
34 X(int i) : i_(i) {} in X()
35 X(int i, int j) : i_(i), j_(j) {} in X()
40 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
45 int i_; member in Y
48 constexpr Y() : i_(0) {} in Y()
49 constexpr Y(int i) : i_(i) {} in Y()
50 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in Y()
53 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
[all …]
Dexplicit_const_optional_U.pass.cpp54 int i_; member in X
56 explicit X(int i) : i_(i) {} in X()
57 X(const X& x) : i_(x.i_) {} in X()
58 ~X() {i_ = 0;} in ~X()
59 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
64 int i_; member in Y
66 explicit Y(int i) : i_(i) {} in Y()
68 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==()
75 int i_; member in Z
77 explicit Z(int i) : i_(i) { TEST_THROW(6);} in Z()
[all …]
Dconst_optional_U.pass.cpp53 int i_; member in X
55 X(int i) : i_(i) {} in X()
56 X(const X& x) : i_(x.i_) {} in X()
57 ~X() {i_ = 0;} in ~X()
58 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
63 int i_; member in Y
65 Y(int i) : i_(i) {} in Y()
67 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==()
74 int i_; member in Z
76 Z(int i) : i_(i) {TEST_THROW(6);} in Z()
[all …]
Din_place_t.pass.cpp29 int i_; member in X
32 X() : i_(0) {} in X()
33 X(int i) : i_(i) {} in X()
34 X(int i, int j) : i_(i), j_(j) {} in X()
39 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
44 int i_; member in Y
47 constexpr Y() : i_(0) {} in Y()
48 constexpr Y(int i) : i_(i) {} in Y()
49 constexpr Y(int i, int j) : i_(i), j_(j) {} in Y()
52 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
Dexplicit_optional_U.pass.cpp50 int i_; member in X
52 explicit X(int i) : i_(i) {} in X()
53 X(X&& x) : i_(std::exchange(x.i_, 0)) {} in X()
54 ~X() {i_ = 0;} in ~X()
55 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
Doptional_U.pass.cpp50 int i_; member in X
52 X(int i) : i_(i) {} in X()
53 X(X&& x) : i_(std::exchange(x.i_, 0)) {} in X()
54 ~X() {i_ = 0;} in ~X()
55 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} in operator ==()
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
Demplace_initializer_list.pass.cpp27 int i_; member in X
31 constexpr X() : i_(0) {} in X()
32 constexpr X(int i) : i_(i) {} in X()
33 constexpr X(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in X()
37 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
44 int i_; member in Y
47 constexpr Y() : i_(0) {} in Y()
48 constexpr Y(int i) : i_(i) {} in Y()
49 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in Y()
52 {return x.i_ == y.i_ && x.j_ == y.j_;} in operator ==()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_or.pass.cpp27 int i_; member
29 Y(int i) : i_(i) {} in Y()
34 int i_; member
36 X(int i) : i_(i) {} in X()
37 X(X&& x) : i_(x.i_) {x.i_ = 0;} in X()
38 X(const Y& y) : i_(y.i_) {} in X()
39 X(Y&& y) : i_(y.i_+1) {} in X()
41 {return x.i_ == y.i_;} in operator ==()
Dvalue_or_const.pass.cpp23 int i_; member
25 constexpr Y(int i) : i_(i) {} in Y()
30 int i_; member
32 constexpr X(int i) : i_(i) {} in X()
33 constexpr X(const Y& y) : i_(y.i_) {} in X()
34 constexpr X(Y&& y) : i_(y.i_+1) {} in X()
36 {return x.i_ == y.i_;} in operator ==()
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.observe/
Dvalue_or.pass.cpp25 int i_; member
27 Y(int i) : i_(i) {} in Y()
32 int i_; member
34 X(int i) : i_(i) {} in X()
35 X(X&& x) : i_(x.i_) {x.i_ = 0;} in X()
36 X(const Y& y) : i_(y.i_) {} in X()
37 X(Y&& y) : i_(y.i_+1) {} in X()
39 {return x.i_ == y.i_;} in operator ==()
Dvalue_or_const.pass.cpp23 int i_; member
25 constexpr Y(int i) : i_(i) {} in Y()
30 int i_; member
32 constexpr X(int i) : i_(i) {} in X()
33 constexpr X(const Y& y) : i_(y.i_) {} in X()
34 constexpr X(Y&& y) : i_(y.i_+1) {} in X()
36 {return x.i_ == y.i_;} in operator ==()
/external/libcxx/test/std/numerics/numeric.ops/adjacent.difference/
Dadjacent_difference.pass.cpp48 int i_; member in X
52 explicit X(int i) : i_(i) {} in X()
53 X(const X& x) : i_(x.i_) {} in X()
56 i_ = x.i_; in operator =()
57 x.i_ = -1; in operator =()
61 friend X operator-(const X& x, const X& y) {return X(x.i_ - y.i_);} in operator -()
68 int i_; member in Y
72 explicit Y(int i) : i_(i) {} in Y()
73 Y(const Y& y) : i_(y.i_) {} in Y()
74 void operator=(const X& x) {i_ = x.i_;} in operator =()
Dadjacent_difference_op.pass.cpp50 int i_; member in X
54 explicit X(int i) : i_(i) {} in X()
55 X(const X& x) : i_(x.i_) {} in X()
58 i_ = x.i_; in operator =()
59 x.i_ = -1; in operator =()
63 friend X operator-(const X& x, const X& y) {return X(x.i_ - y.i_);} in operator -()
70 int i_; member in Y
74 explicit Y(int i) : i_(i) {} in Y()
75 Y(const Y& y) : i_(y.i_) {} in Y()
76 void operator=(const X& x) {i_ = x.i_;} in operator =()
/external/libcxx/test/std/containers/sequences/list/list.ops/
Dremove.pass.cpp21 S(int i) : i_(new int(i)) {} in S()
22 S(const S &rhs) : i_(new int(*rhs.i_)) {} in S()
24 *i_ = *rhs.i_; in operator =()
28 delete i_; in ~S()
29 i_ = NULL; in ~S()
31 bool operator==(const S &rhs) const { return *i_ == *rhs.i_; } in operator ==()
32 int get() const { return *i_; } in get()
33 int *i_; member
/external/libmojo/base/android/
Djni_int_wrapper.h32 JniIntWrapper() : i_(0) {} in JniIntWrapper()
33 JniIntWrapper(int i) : i_(i) {} in JniIntWrapper()
34 JniIntWrapper(const JniIntWrapper& ji) : i_(ji.i_) {} in JniIntWrapper()
35 template <class T> JniIntWrapper(const T& t) : i_(t) {} in JniIntWrapper()
36 jint as_jint() const { return i_; } in as_jint()
47 jint i_; variable

123456