Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dflat_hash_map.h554 using slot_policy = container_internal::map_slot_policy<K, V>; member
555 using slot_type = typename slot_policy::slot_type;
562 slot_policy::construct(alloc, slot, std::forward<Args>(args)...); in construct()
567 slot_policy::destroy(alloc, slot); in destroy()
573 slot_policy::transfer(alloc, new_slot, old_slot); in transfer()
/third_party/abseil-cpp/absl/container/
Dflat_hash_map.h554 using slot_policy = container_internal::map_slot_policy<K, V>; member
555 using slot_type = typename slot_policy::slot_type;
562 slot_policy::construct(alloc, slot, std::forward<Args>(args)...); in construct()
567 slot_policy::destroy(alloc, slot); in destroy()
573 slot_policy::transfer(alloc, new_slot, old_slot); in transfer()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dcontainer_memory_test.cc230 using slot_policy = map_slot_policy<const CopyableMovableInstance, in TEST() typedef
232 using slot_type = typename slot_policy::slot_type; in TEST()
244 slot_policy::construct(&alloc, &slots.slots[0], CopyableMovableInstance(1), in TEST()
247 slot_policy::transfer(&alloc, &slots.slots[i + 1], &slots.slots[i]); in TEST()
249 slot_policy::destroy(&alloc, &slots.slots[99]); in TEST()
Dbtree.h244 using slot_policy = SlotPolicy;
245 using slot_type = typename slot_policy::slot_type;
246 using value_type = typename slot_policy::value_type;
247 using init_type = typename slot_policy::mutable_value_type;
290 return slot_policy::element(slot);
293 return slot_policy::element(slot);
297 slot_policy::construct(alloc, slot, std::forward<Args>(args)...);
300 slot_policy::construct(alloc, slot, other);
303 slot_policy::destroy(alloc, slot);
310 slot_policy::swap(alloc, a, b);
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dcontainer_memory_test.cc229 using slot_policy = map_slot_policy<const CopyableMovableInstance, in TEST() typedef
231 using slot_type = typename slot_policy::slot_type; in TEST()
243 slot_policy::construct(&alloc, &slots.slots[0], CopyableMovableInstance(1), in TEST()
246 slot_policy::transfer(&alloc, &slots.slots[i + 1], &slots.slots[i]); in TEST()
248 slot_policy::destroy(&alloc, &slots.slots[99]); in TEST()
Dbtree.h206 using slot_policy = SlotPolicy;
207 using slot_type = typename slot_policy::slot_type;
208 using value_type = typename slot_policy::value_type;
209 using init_type = typename slot_policy::mutable_value_type;
235 return slot_policy::element(slot);
238 return slot_policy::element(slot);
242 slot_policy::construct(alloc, slot, std::forward<Args>(args)...);
245 slot_policy::construct(alloc, slot, other);
248 slot_policy::destroy(alloc, slot);
255 slot_policy::swap(alloc, a, b);
[all …]