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);
48 A.construct(ptr, std::piecewise_construct,
51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA));
52 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA));
56 >(CA, ptr)));
57 A.destroy(ptr);
58 std::free(ptr);
71 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
72 assert(ptr != nullptr);
75 A.construct(ptr, std::piecewise_construct,
78 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA));
79 assert(checkConstruct<int const&>(ptr->second, UA_None));
83 >(CA, ptr)));
84 A.destroy(ptr);
85 std::free(ptr);
107 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
108 assert(ptr != nullptr);
112 A.construct(ptr, std::piecewise_construct,
115 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I));
116 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast));
120 >(O, ptr)));
121 A.destroy(ptr);
122 std::free(ptr);
138 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
139 assert(ptr != nullptr);
143 A.construct(ptr, std::piecewise_construct,
146 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I));
147 assert(checkConstruct<int const&&>(ptr->second, UA_None));
151 >(O, ptr)));
152 A.destroy(ptr);
153 std::free(ptr);