/external/libcxx/test/std/containers/sequences/list/list.ops/ |
remove.pass.cpp | 20 S(int i) : i_(new int(i)) {} 21 S(const S &rhs) : i_(new int(*rhs.i_)) {} 22 S& operator = (const S &rhs) { *i_ = *rhs.i_; return *this; } 23 ~S () { delete i_; i_ = NULL; } 24 bool operator == (const S &rhs) const { return *i_ == *rhs.i_; } 25 int get () const { return *i_; } 26 int *i_; member in struct:S [all...] |
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
emplace.pass.cpp | 28 int i_; member in class:A 35 : i_(i), d_(d) {} 38 : i_(a.i_), 41 a.i_ = 0; 47 i_ = a.i_; 49 a.i_ = 0; 54 int geti() const {return i_;}
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/ |
emplace.pass.cpp | 25 int i_; member in class:X 28 X() : i_(0) {} 29 X(int i) : i_(i) {} 30 X(int i, int j) : i_(i), j_(j) {} 33 {return x.i_ == y.i_ && x.j_ == y.j_;}
|
emplace_initializer_list.pass.cpp | 26 int i_; member in class:X 30 constexpr X() : i_(0) {} 31 constexpr X(int i) : i_(i) {} 32 constexpr X(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} 36 {return x.i_ == y.i_ && x.j_ == y.j_;} 43 int i_; member in class:Y 46 constexpr Y() : i_(0) {} 47 constexpr Y(int i) : i_(i) {} 48 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) { 56 int i_; member in class:Z [all...] |
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/ |
copy.pass.cpp | 43 int i_; member in class:X 45 X(int i) : i_(i) {} 46 X(const X& x) : i_(x.i_) {} 47 ~X() {i_ = 0;} 48 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} 53 int i_; member in class:Y 55 Y(int i) : i_(i) {} 56 Y(const Y& x) : i_(x.i_) { 65 int i_; member in class:Z [all...] |
move.pass.cpp | 43 int i_; member in class:X 45 X(int i) : i_(i) {} 46 X(X&& x) : i_(x.i_) {x.i_ = 0;} 47 ~X() {i_ = 0;} 48 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} 53 int i_; member in class:Y 55 Y(int i) : i_(i) { 56 Y(Y&& x) noexcept : i_(x.i_) {x.i_ = 0;} function in class:Y 65 int i_; member in class:Z [all...] |
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.swap/ |
swap.pass.cpp | 26 int i_; member in class:X 29 X(int i) : i_(i) {} 34 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} 41 int i_; member in class:Y 44 Y(int i) : i_(i) {} 48 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} 49 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} 56 int i_; member in class:Z [all...] |
/external/libcxx/test/std/experimental/optional/optional.specalg/ |
swap.pass.cpp | 25 int i_; member in class:X 28 X(int i) : i_(i) {} 33 friend bool operator==(const X& x, const X& y) {return x.i_ == y.i_;} 40 int i_; member in class:Y 43 Y(int i) : i_(i) {} 47 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} 48 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} 55 int i_; member in class:Z [all...] |
/external/libcxx/test/std/numerics/numeric.ops/adjacent.difference/ |
adjacent_difference.pass.cpp | 47 int i_; member in class:X 51 explicit X(int i) : i_(i) {} 52 X(const X& x) : i_(x.i_) {} 55 i_ = x.i_; 56 x.i_ = -1; 60 friend X operator-(const X& x, const X& y) {return X(x.i_ - y.i_);} 67 int i_; member in class:Y [all...] |
adjacent_difference_op.pass.cpp | 49 int i_; member in class:X 53 explicit X(int i) : i_(i) {} 54 X(const X& x) : i_(x.i_) {} 57 i_ = x.i_; 58 x.i_ = -1; 62 friend X operator-(const X& x, const X& y) {return X(x.i_ - y.i_);} 69 int i_; member in class:Y [all...] |
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
wait_for_pred.pass.cpp | 30 int& i_; member in class:Pred 32 explicit Pred(int& i) : i_(i) {} 34 bool operator()() {return i_ != 0;}
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
wait_pred.pass.cpp | 37 int& i_; member in class:Pred 39 explicit Pred(int& i) : i_(i) {} 41 bool operator()() {return i_ != 0;}
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/ |
uninitialized_copy.pass.cpp | 33 Nasty() : i_ ( counter_++ ) {} 35 int i_; member in struct:Nasty 70 assert(arr[i].i_ == i); 71 assert( p[i].i_ == i);
|
uninitialized_copy_n.pass.cpp | 33 Nasty() : i_ ( counter_++ ) {} 35 int i_; member in struct:Nasty 70 assert(arr[i].i_ == i); 71 assert( p[i].i_ == i);
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
uninitialized_fill.pass.cpp | 33 Nasty() : i_ ( counter_++ ) {} 35 int i_; member in struct:Nasty 70 assert(bp[i].i_ == 23);
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
uninitialized_fill_n.pass.cpp | 32 Nasty() : i_ ( counter_++ ) {} 34 int i_; member in struct:Nasty 71 assert(bp[i].i_ == 23);
|
/external/libcxx/test/std/utilities/utility/pairs/pair.piecewise/ |
piecewise_construct.pass.cpp | 23 int i_; member in class:A 26 A(int i, char c) : i_(i), c_(c) {} 27 int get_i() const {return i_;}
|
/external/libcxx/test/support/ |
is_transparent.h | 60 C2Int() : i_(0) {} 61 C2Int(int i): i_(i) {} 62 int get () const { return i_; } 64 int i_; member in struct:C2Int
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/ |
emplace.pass.cpp | 25 int i_; member in class:A 32 : i_(i), d_(d) {} 34 int geti() const {return i_;}
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/ |
emplace.pass.cpp | 28 int i_; member in class:A 35 : i_(i), d_(d) {} 38 : i_(a.i_), 41 a.i_ = 0; 47 i_ = a.i_; 49 a.i_ = 0; 54 int geti() const {return i_;}
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numeric.ops/adjacent.difference/ |
adjacent_difference.pass.cpp | 47 int i_; member in class:X 51 explicit X(int i) : i_(i) {} 52 X(const X& x) : i_(x.i_) {} 55 i_ = x.i_; 56 x.i_ = -1; 60 friend X operator-(const X& x, const X& y) {return X(x.i_ - y.i_);} 67 int i_; member in class:Y [all...] |
adjacent_difference_op.pass.cpp | 49 int i_; member in class:X 53 explicit X(int i) : i_(i) {} 54 X(const X& x) : i_(x.i_) {} 57 i_ = x.i_; 58 x.i_ = -1; 62 friend X operator-(const X& x, const X& y) {return X(x.i_ - y.i_);} 69 int i_; member in class:Y [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait_for_pred.pass.cpp | 28 int& i_; member in class:Pred 30 explicit Pred(int& i) : i_(i) {} 32 bool operator()() {return i_ != 0;}
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
wait_pred.pass.cpp | 35 int& i_; member in class:Pred 37 explicit Pred(int& i) : i_(i) {} 39 bool operator()() {return i_ != 0;}
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.assign/ |
emplace.pass.cpp | 25 int i_; member in class:X 28 X() : i_(0) {} 29 X(int i) : i_(i) {} 30 X(int i, int j) : i_(i), j_(j) {} 33 {return x.i_ == y.i_ && x.j_ == y.j_;}
|