/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | UTypes.fail.cpp | 30 int data_; member in MoveOnly 32 explicit MoveOnly(int data = 1) : data_(data) {} in MoveOnly() 34 : data_(x.data_) {x.data_ = 0;} in MoveOnly() 36 {data_ = x.data_; x.data_ = 0; return *this;} in operator =() 38 int get() const {return data_;} in get() 40 bool operator==(const MoveOnly& x) const {return data_ == x.data_;} in operator ==() 41 bool operator< (const MoveOnly& x) const {return data_ < x.data_;} in operator <()
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/ |
D | MoveOnly.h | 14 int data_; variable 16 MoveOnly(int data = 1) : data_(data) {} in data_() function 18 : data_(x.data_) {x.data_ = 0;} in MoveOnly() 20 {data_ = x.data_; x.data_ = 0; return *this;} 22 int get() const {return data_;} in get() 24 bool operator==(const MoveOnly& x) const {return data_ == x.data_;} 25 bool operator< (const MoveOnly& x) const {return data_ < x.data_;}
|
D | alloc_last.h | 14 int data_; member 16 alloc_last() : data_(0) {} in alloc_last() 17 alloc_last(int d) : data_(d) {} in alloc_last() 19 : data_(0) in alloc_last() 26 : data_(d) in alloc_last() 33 : data_(d.data_) in alloc_last() 39 ~alloc_last() {data_ = -1;} in ~alloc_last() 42 {return x.data_ == y.data_;} 44 {return x.data_ < y.data_;}
|
D | alloc_first.h | 14 int data_; member 16 alloc_first() : data_(0) {} in alloc_first() 17 alloc_first(int d) : data_(d) {} in alloc_first() 19 : data_(0) in alloc_first() 26 : data_(d) in alloc_first() 33 : data_(d.data_) in alloc_first() 39 ~alloc_first() {data_ = -1;} in ~alloc_first() 42 {return x.data_ == y.data_;} 44 {return x.data_ < y.data_;}
|
D | DefaultOnly.h | 8 int data_; variable 15 DefaultOnly() : data_(-1) {++count;} in DefaultOnly() 16 ~DefaultOnly() {data_ = 0; --count;} in ~DefaultOnly() 19 {return x.data_ == y.data_;} 21 {return x.data_ < y.data_;}
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/ |
D | MoveOnly.h | 14 int data_; variable 16 MoveOnly(int data = 1) : data_(data) {} in data_() function 18 : data_(x.data_) {x.data_ = 0;} in MoveOnly() 20 {data_ = x.data_; x.data_ = 0; return *this;} 22 int get() const {return data_;} in get() 24 bool operator==(const MoveOnly& x) const {return data_ == x.data_;} 25 bool operator< (const MoveOnly& x) const {return data_ < x.data_;}
|
D | test_allocator.h | 25 int data_; variable 40 test_allocator() throw() : data_(-1) {} in throw() 41 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() 43 : data_(a.data_) {} in throw() 45 : data_(a.data_) {} in test_allocator() 46 ~test_allocator() throw() {data_ = 0;} in throw() 69 {return x.data_ == y.data_;} 77 int data_; variable 84 other_allocator() : data_(-1) {} in other_allocator() 85 explicit other_allocator(int i) : data_(i) {} in other_allocator() [all …]
|
D | DefaultOnly.h | 8 int data_; variable 15 DefaultOnly() : data_(-1) {++count;} in DefaultOnly() 16 ~DefaultOnly() {data_ = 0; --count;} in ~DefaultOnly() 19 {return x.data_ == y.data_;} 21 {return x.data_ < y.data_;}
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/ |
D | rep.h | 6 int data_; variable 8 _LIBCPP_CONSTEXPR Rep() : data_(-1) {} in Rep() 9 explicit _LIBCPP_CONSTEXPR Rep(int i) : data_(i) {} in Rep() 11 bool _LIBCPP_CONSTEXPR operator==(int i) const {return data_ == i;} 12 bool _LIBCPP_CONSTEXPR operator==(const Rep& r) const {return data_ == r.data_;} 14 Rep& operator*=(Rep x) {data_ *= x.data_; return *this;} 15 Rep& operator/=(Rep x) {data_ /= x.data_; return *this;}
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/ |
D | test_allocator.h | 25 int data_; variable 40 test_allocator() throw() : data_(-1) {} in throw() 41 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() 43 : data_(a.data_) {} in throw() 45 : data_(a.data_) {} in test_allocator() 46 ~test_allocator() throw() {data_ = 0;} in throw() 69 {return x.data_ == y.data_;} 78 int data_; variable 91 test_allocator() throw() : data_(-1) {} in throw() 92 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/ |
D | test_allocator.h | 25 int data_; variable 40 test_allocator() throw() : data_(-1) {} in throw() 41 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() 43 : data_(a.data_) {} in throw() 45 : data_(a.data_) {} in test_allocator() 46 ~test_allocator() throw() {data_ = 0;} in throw() 69 {return x.data_ == y.data_;} 77 int data_; variable 84 other_allocator() : data_(-1) {} in other_allocator() 85 explicit other_allocator(int i) : data_(i) {} in other_allocator() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/re/ |
D | test_allocator.h | 25 int data_; variable 40 test_allocator() throw() : data_(-1) {} in throw() 41 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() 43 : data_(a.data_) {} in throw() 45 : data_(a.data_) {} in test_allocator() 46 ~test_allocator() throw() {data_ = 0;} in throw() 69 {return x.data_ == y.data_;} 77 int data_; variable 84 other_allocator() : data_(-1) {} in other_allocator() 85 explicit other_allocator(int i) : data_(i) {} in other_allocator() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/ |
D | test_allocator.h | 30 int data_; variable 45 test_allocator() throw() : data_(0) {++count;} in throw() 46 explicit test_allocator(int i) throw() : data_(i) {++count;} in test_allocator() 48 : data_(a.data_) {++count;} in throw() 50 : data_(a.data_) {++count;} in test_allocator() 51 ~test_allocator() throw() {assert(data_ >= 0); --count; data_ = -1;} in throw() 56 assert(data_ >= 0); 64 {assert(data_ >= 0); --alloc_count; std::free(p);} in deallocate() 72 {return x.data_ == y.data_;}
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/specialized.algorithms/uninitialized.fill/ |
D | uninitialized_fill.pass.cpp | 23 int data_; member 24 explicit B() : data_(1) {} in B() 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() 26 ~B() {data_ = 0;} in ~B() 44 assert(bp[i].data_ == 0); in main() 49 assert(bp[i].data_ == 1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/specialized.algorithms/uninitialized.copy/ |
D | uninitialized_copy_n.pass.cpp | 23 int data_; member 24 explicit B() : data_(1) {} in B() 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() 26 ~B() {data_ = 0;} in ~B() 45 assert(bp[i].data_ == 0); in main() 50 assert(bp[i].data_ == 1); in main()
|
D | uninitialized_copy.pass.cpp | 23 int data_; member 24 explicit B() : data_(1) {} in B() 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() 26 ~B() {data_ = 0;} in ~B() 45 assert(bp[i].data_ == 0); in main() 50 assert(bp[i].data_ == 1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
D | uninitialized_fill_n.pass.cpp | 22 int data_; member 23 explicit B() : data_(1) {} in B() 24 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() 25 ~B() {data_ = 0;} in ~B() 43 assert(bp[i].data_ == 0); in main() 49 assert(bp[i].data_ == 1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.tas/futures.task.members/ |
D | ctor_func.pass.cpp | 22 long data_; member in A 28 explicit A(long i) : data_(i) {} in A() 29 A(A&& a) : data_(a.data_) {++n_moves; a.data_ = -1;} in A() 30 A(const A& a) : data_(a.data_) {++n_copies;} in A() 32 long operator()(long i, long j) const {return data_ + i + j;} in operator ()()
|
D | ctor_func_alloc.pass.cpp | 24 long data_; member in A 30 explicit A(long i) : data_(i) {} in A() 31 A(A&& a) : data_(a.data_) {++n_moves; a.data_ = -1;} in A() 32 A(const A& a) : data_(a.data_) {++n_copies;} in A() 34 long operator()(long i, long j) const {return data_ + i + j;} in operator ()()
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.exception/except.nested/ |
D | throw_with_nested.pass.cpp | 22 int data_; member in A 24 explicit A(int data) : data_(data) {} in A() 26 friend bool operator==(const A& x, const A& y) {return x.data_ == y.data_;} in operator ==() 32 int data_; member in B 34 explicit B(int data) : data_(data) {} in B() 36 friend bool operator==(const B& x, const B& y) {return x.data_ == y.data_;} in operator ==()
|
/ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/ |
D | test_allocator.h | 25 int data_; variable 40 test_allocator() throw() : data_(-1) {} in throw() 41 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() 43 : data_(a.data_) {} in throw() 45 : data_(a.data_) {} in test_allocator() 46 ~test_allocator() throw() {data_ = 0;} in throw() 65 {return x.data_ == y.data_;}
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/utility/operators/ |
D | rel_ops.pass.cpp | 17 int data_; member 19 explicit A(int data = -1) : data_(data) {} in A() 26 return x.data_ == y.data_; in operator ==() 33 return x.data_ < y.data_; in operator <()
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/storage.iterator/ |
D | raw_storag_iterator.pass.cpp | 20 int data_; member 22 explicit A(int i) : data_(i) {++A_constructed;} in A() 24 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 25 ~A() {--A_constructed; data_ = 0;} in ~A() 27 bool operator==(int i) const {return data_ == i;} in operator ==()
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/ |
D | lv_value.pass.cpp | 33 int data_; member in Copyable 35 Copyable() : data_(0) {} in Copyable() 36 ~Copyable() {data_ = -1;} in ~Copyable() 39 {return x.data_ == y.data_;} in operator ==()
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/ |
D | lv_value.pass.cpp | 34 int data_; member in Copyable 36 Copyable() : data_(0) {} in Copyable() 37 ~Copyable() {data_ = -1;} in ~Copyable() 40 {return x.data_ == y.data_;} in operator ==()
|