Lines Matching refs:alloc
380 AllocatorType<T> alloc;
385 AllocatorTraits::deallocate(alloc, obj, 1);
387 std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
388 AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
609 AllocatorType<object_t> alloc;
610 std::allocator_traits<decltype(alloc)>::destroy(alloc, object);
611 std::allocator_traits<decltype(alloc)>::deallocate(alloc, object, 1);
617 AllocatorType<array_t> alloc;
618 std::allocator_traits<decltype(alloc)>::destroy(alloc, array);
619 std::allocator_traits<decltype(alloc)>::deallocate(alloc, array, 1);
625 AllocatorType<string_t> alloc;
626 std::allocator_traits<decltype(alloc)>::destroy(alloc, string);
627 std::allocator_traits<decltype(alloc)>::deallocate(alloc, string, 1);
633 AllocatorType<binary_t> alloc;
634 std::allocator_traits<decltype(alloc)>::destroy(alloc, binary);
635 std::allocator_traits<decltype(alloc)>::deallocate(alloc, binary, 1);
2443 AllocatorType<string_t> alloc;
2444 std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.string);
2445 std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.string, 1);
2450 AllocatorType<binary_t> alloc;
2451 std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.binary);
2452 std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.binary, 1);
2514 AllocatorType<string_t> alloc;
2515 std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.string);
2516 std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.string, 1);
2521 AllocatorType<binary_t> alloc;
2522 std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.binary);
2523 std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.binary, 1);