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

Lines Matching defs:ptr

41         Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
42 assert(ptr);
45 A.construct(ptr);
46 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA));
47 assert(checkConstruct<>(ptr->second, UA_AllocLast, CA));
51 >(CA, ptr)));
52 A.destroy(ptr);
53 std::free(ptr);
64 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
65 assert(ptr);
68 A.construct(ptr);
69 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA));
70 assert(checkConstruct<>(ptr->second, UA_None));
74 >(CA, ptr)));
75 A.destroy(ptr);
76 std::free(ptr);
96 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
97 assert(ptr);
101 A.construct(ptr);
102 assert(checkConstruct<>(ptr->first, UA_AllocArg, I));
103 assert(checkConstruct<>(ptr->second, UA_AllocLast));
107 >(O, ptr)));
108 A.destroy(ptr);
109 std::free(ptr);
123 Pair * ptr = (Pair*)std::malloc(sizeof(Pair));
124 assert(ptr);
128 A.construct(ptr);
129 assert(checkConstruct<>(ptr->first, UA_AllocArg, I));
130 assert(checkConstruct<>(ptr->second, UA_None));
134 >(O, ptr)));
135 A.destroy(ptr);
136 std::free(ptr);