Home
last modified time | relevance | path

Searched refs:Nasty (Results 1 – 6 of 6) sorted by relevance

/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
Duninitialized_fill_n.pass.cpp40 struct Nasty struct
42 Nasty() : i_ ( counter_++ ) {} in Nasty() argument
43 Nasty * operator &() const { return NULL; } in operator &() argument
48 int Nasty::counter_ = 0; argument
78 char pool[N*sizeof(Nasty)] = {0}; in main()
79 Nasty* bp = (Nasty*)pool; in main()
81 Nasty::counter_ = 23; in main()
82 std::uninitialized_fill_n(bp, N, Nasty()); in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
Duninitialized_fill.pass.cpp41 struct Nasty struct
43 Nasty() : i_ ( counter_++ ) {} in Nasty() argument
44 Nasty * operator &() const { return NULL; } in operator &() argument
49 int Nasty::counter_ = 0; argument
77 char pool[N*sizeof(Nasty)] = {0}; in main()
78 Nasty* bp = (Nasty*)pool; in main()
80 Nasty::counter_ = 23; in main()
81 std::uninitialized_fill(bp, bp+N, Nasty()); in main()
/external/libcxx/test/std/containers/sequences/vector/vector.data/
Ddata_const.pass.cpp20 struct Nasty { struct
21 Nasty() : i_(0) {} in Nasty() function
22 Nasty(int i) : i_(i) {} in Nasty() argument
23 ~Nasty() {} in ~Nasty() argument
25 Nasty * operator&() const { assert(false); return nullptr; } in operator &() argument
42 std::vector<Nasty> v(100); in main() argument
58 std::vector<Nasty, min_allocator<Nasty>> v(100); in main()
Ddata.pass.cpp20 struct Nasty { struct
21 Nasty() : i_(0) {} in Nasty() argument
22 Nasty(int i) : i_(i) {} in Nasty() argument
23 ~Nasty() {} in ~Nasty() argument
25 Nasty * operator&() const { assert(false); return nullptr; } in operator &() argument
42 std::vector<Nasty> v(100); in main() argument
58 std::vector<Nasty, min_allocator<Nasty>> v(100); in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
Duninitialized_copy_n.pass.cpp41 struct Nasty struct
43 Nasty() : i_ ( counter_++ ) {} in Nasty() function
44 Nasty * operator &() const { return NULL; } in operator &() argument
49 int Nasty::counter_ = 0; argument
79 char pool[sizeof(Nasty)*N] = {0}; in main()
80 Nasty * p = (Nasty *) pool; in main()
81 Nasty arr[N]; in main()
Duninitialized_copy.pass.cpp41 struct Nasty struct
43 Nasty() : i_ ( counter_++ ) {} in Nasty() argument
44 Nasty * operator &() const { return NULL; } in operator &() argument
49 int Nasty::counter_ = 0; argument
79 char pool[sizeof(Nasty)*N] = {0}; in main()
80 Nasty * p = (Nasty *) pool; in main()
81 Nasty arr[N]; in main()