Lines Matching refs:b
21 tracked_safe_allocation<T> b(20, libkern::allocate_memory); in tests() local
23 T* b_mem = b.data(); in tests()
26 swap(a, b); // ADL call in tests()
31 CHECK(b.data() == a_mem); in tests()
33 CHECK(b.size() == 10); in tests()
39 tracked_safe_allocation<T> b = nullptr; in tests() local
43 swap(a, b); // ADL call in tests()
48 CHECK(b.data() == a_mem); in tests()
50 CHECK(b.size() == 10); in tests()
56 tracked_safe_allocation<T> b(20, libkern::allocate_memory); in tests() local
57 T* b_mem = b.data(); in tests()
60 swap(a, b); // ADL call in tests()
65 CHECK(b.data() == nullptr); in tests()
67 CHECK(b.size() == 0); in tests()
73 tracked_safe_allocation<T> b = nullptr; in tests() local
76 swap(a, b); // ADL call in tests()
81 CHECK(b.data() == nullptr); in tests()
83 CHECK(b.size() == 0); in tests()