Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 25 of 74) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.cnstr/
DUTypes.fail.cpp30 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/
DMoveOnly.h14 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_;}
Dalloc_last.h14 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_;}
Dalloc_first.h14 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_;}
DDefaultOnly.h8 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/
DMoveOnly.h14 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_;}
Dtest_allocator.h25 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 …]
DDefaultOnly.h8 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/
Drep.h6 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/
Dtest_allocator.h25 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/
Dtest_allocator.h25 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/
Dtest_allocator.h25 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/
Dtest_allocator.h30 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/
Duninitialized_fill.pass.cpp23 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/
Duninitialized_copy_n.pass.cpp23 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()
Duninitialized_copy.pass.cpp23 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/
Duninitialized_fill_n.pass.cpp22 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/
Dctor_func.pass.cpp22 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 ()()
Dctor_func_alloc.pass.cpp24 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/
Dthrow_with_nested.pass.cpp22 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/
Dtest_allocator.h25 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/
Drel_ops.pass.cpp17 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/
Draw_storag_iterator.pass.cpp20 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=/
Dlv_value.pass.cpp33 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=/
Dlv_value.pass.cpp34 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 ==()

123