Home | History | Annotate | Download | only in allocator.adaptor.members

Lines Matching defs:ptr

44         Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
45 assert(ptr != nullptr);
49 A.construct(ptr, std::move(in));
50 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA));
51 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA));
55 >(CA, ptr)));
56 A.destroy(ptr);
57 std::free(ptr);
71 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
72 assert(ptr != nullptr);
76 A.construct(ptr, std::move(in));
77 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA));
78 assert(checkConstruct<int const&>(ptr->second, UA_None));
82 >(CA, ptr)));
83 A.destroy(ptr);
84 std::free(ptr);
107 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
108 assert(ptr != nullptr);
113 A.construct(ptr, std::move(in));
114 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I));
115 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast));
119 >(O, ptr)));
120 A.destroy(ptr);
121 std::free(ptr);
138 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
139 assert(ptr != nullptr);
144 A.construct(ptr, std::move(in));
145 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I));
146 assert(checkConstruct<int const&>(ptr->second, UA_None));
150 >(O, ptr)));
151 A.destroy(ptr);
152 std::free(ptr);