Home
last modified time | relevance | path

Searched refs:allocated_from_pool (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx472 …tor::allocate(void **out_ptr, size_type size, align_type align, bool *allocated_from_pool) noexcept in allocate() argument
478 if (allocated_from_pool) PetscAssertPointer(allocated_from_pool, 3); in allocate()
481 if (allocated_from_pool) *allocated_from_pool = success; in allocate()
/petsc/include/petsc/private/cpp/
H A Dobject_pool.hpp420 auto allocated_from_pool = true; in allocate() local
427 …ate(&mem, sizeof(value_type), static_cast<align_type>(alignof(value_type)), &allocated_from_pool)); in allocate()
430 if (allocated_from_pool) { in allocate()