HomeSort by relevance Sort by last modified time
    Searched refs:DefaultOnly (Results 1 - 21 of 21) sorted by null

  /ndk/sources/cxx-stl/llvm-libc++/test/containers/
DefaultOnly.h 6 class DefaultOnly
10 DefaultOnly(const DefaultOnly&);
11 DefaultOnly& operator=(const DefaultOnly&);
15 DefaultOnly() : data_(-1) {++count;}
16 ~DefaultOnly() {data_ = 0; --count;}
18 friend bool operator==(const DefaultOnly& x, const DefaultOnly& y)
20 friend bool operator< (const DefaultOnly& x, const DefaultOnly& y
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/
DefaultOnly.h 6 class DefaultOnly
10 DefaultOnly(const DefaultOnly&);
11 DefaultOnly& operator=(const DefaultOnly&);
15 DefaultOnly() : data_(-1) {++count;}
16 ~DefaultOnly() {data_ = 0; --count;}
18 friend bool operator==(const DefaultOnly& x, const DefaultOnly& y)
20 friend bool operator< (const DefaultOnly& x, const DefaultOnly& y
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.cons/
size.pass.cpp 18 #include "../../../DefaultOnly.h"
26 assert(DefaultOnly::count == 0);
29 assert(DefaultOnly::count == n);
37 assert(DefaultOnly::count == 0);
42 test<DefaultOnly, std::allocator<DefaultOnly> >(0);
43 test<DefaultOnly, std::allocator<DefaultOnly> >(1);
44 test<DefaultOnly, std::allocator<DefaultOnly> >(10)
    [all...]
  /external/clang/test/SemaCXX/
dependent-noexcept-unevaluated.cpp 29 struct DefaultOnly
31 DefaultOnly() = default;
32 DefaultOnly(const DefaultOnly&) = delete;
33 DefaultOnly& operator=(const DefaultOnly&) = delete;
34 ~DefaultOnly() = default;
39 array<DefaultOnly, 1> a, b;
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.cnstr/
alloc.pass.cpp 20 #include "../DefaultOnly.h"
35 std::tuple<DefaultOnly> t(std::allocator_arg, A1<int>());
36 assert(std::get<0>(t) == DefaultOnly());
52 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5));
53 assert(std::get<0>(t) == DefaultOnly());
60 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg,
62 assert(std::get<0>(t) == DefaultOnly());
71 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg,
73 assert(std::get<0>(t) == DefaultOnly());
default.pass.cpp 20 #include "../DefaultOnly.h"
43 std::tuple<int, char*, std::string, DefaultOnly> t;
47 assert(std::get<3>(t) == DefaultOnly());
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multiset/
emplace.pass.cpp 21 #include "../../DefaultOnly.h"
27 typedef std::multiset<DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
34 assert(*m.begin() == DefaultOnly());
35 assert(DefaultOnly::count == 1);
40 assert(*m.begin() == DefaultOnly());
41 assert(DefaultOnly::count == 2);
43 assert(DefaultOnly::count == 0);
emplace_hint.pass.cpp 21 #include "../../DefaultOnly.h"
27 typedef std::multiset<DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
34 assert(*m.begin() == DefaultOnly());
35 assert(DefaultOnly::count == 1);
40 assert(*m.begin() == DefaultOnly());
41 assert(DefaultOnly::count == 2);
43 assert(DefaultOnly::count == 0);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/set/
emplace.pass.cpp 21 #include "../../DefaultOnly.h"
27 typedef std::set<DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
35 assert(*m.begin() == DefaultOnly());
36 assert(DefaultOnly::count == 1);
42 assert(*m.begin() == DefaultOnly());
43 assert(DefaultOnly::count == 1);
45 assert(DefaultOnly::count == 0);
emplace_hint.pass.cpp 21 #include "../../DefaultOnly.h"
27 typedef std::set<DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
34 assert(*m.begin() == DefaultOnly());
35 assert(DefaultOnly::count == 1);
40 assert(*m.begin() == DefaultOnly());
41 assert(DefaultOnly::count == 1);
43 assert(DefaultOnly::count == 0);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.modifiers/
emplace_hint.pass.cpp 21 #include "../../../DefaultOnly.h"
27 typedef std::map<int, DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
35 assert(m.begin()->second == DefaultOnly());
36 assert(DefaultOnly::count == 1);
41 assert(next(m.begin())->second == DefaultOnly());
42 assert(DefaultOnly::count == 2);
47 assert(next(m.begin())->second == DefaultOnly());
48 assert(DefaultOnly::count == 2);
50 assert(DefaultOnly::count == 0)
    [all...]
emplace.pass.cpp 22 #include "../../../DefaultOnly.h"
28 typedef std::map<int, DefaultOnly> M;
31 assert(DefaultOnly::count == 0);
37 assert(m.begin()->second == DefaultOnly());
38 assert(DefaultOnly::count == 1);
44 assert(next(m.begin())->second == DefaultOnly());
45 assert(DefaultOnly::count == 2);
51 assert(next(m.begin())->second == DefaultOnly());
52 assert(DefaultOnly::count == 2);
54 assert(DefaultOnly::count == 0)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multimap/multimap.modifiers/
emplace.pass.cpp 21 #include "../../../DefaultOnly.h"
27 typedef std::multimap<int, DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
35 assert(m.begin()->second == DefaultOnly());
36 assert(DefaultOnly::count == 1);
41 assert(next(m.begin())->second == DefaultOnly());
42 assert(DefaultOnly::count == 2);
47 assert(next(m.begin(), 2)->second == DefaultOnly());
48 assert(DefaultOnly::count == 3);
50 assert(DefaultOnly::count == 0)
    [all...]
emplace_hint.pass.cpp 21 #include "../../../DefaultOnly.h"
27 typedef std::multimap<int, DefaultOnly> M;
30 assert(DefaultOnly::count == 0);
35 assert(m.begin()->second == DefaultOnly());
36 assert(DefaultOnly::count == 1);
41 assert(next(m.begin())->second == DefaultOnly());
42 assert(DefaultOnly::count == 2);
47 assert(next(m.begin(), 2)->second == DefaultOnly());
48 assert(DefaultOnly::count == 3);
50 assert(DefaultOnly::count == 0)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.cons/
construct_size.pass.cpp 17 #include "../../../DefaultOnly.h"
36 test<std::vector<DefaultOnly> >(500);
37 assert(DefaultOnly::count == 0);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.capacity/
resize_size.pass.cpp 16 #include "../../../DefaultOnly.h"
37 std::list<DefaultOnly> l(10);
43 std::list<DefaultOnly> l(10);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/forwardlist.cons/
size.fail.cpp 17 #include "../../../DefaultOnly.h"
22 typedef DefaultOnly T;
size.pass.cpp 17 #include "../../../DefaultOnly.h"
22 typedef DefaultOnly T;
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.cons/
default.pass.cpp 16 #include "../../../DefaultOnly.h"
26 std::list<DefaultOnly> l;
size_type.pass.cpp 16 #include "../../../DefaultOnly.h"
45 std::list<DefaultOnly> l(3);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/forwardlist.modifiers/
resize_size.pass.cpp 17 #include "../../../DefaultOnly.h"
22 typedef DefaultOnly T;

Completed in 2662 milliseconds