Searched refs:size_in_ptrs (Results 1 – 3 of 3) sorted by relevance
395 inline static constexpr size_t size_in_ptrs(size_t s) { return 1 + ((s - 1) >> log2(sizeof(void *))… in size_in_ptrs() function406 return size_in_ptrs(sizeof(std::shared_ptr<int>)); in instance_simple_holder_in_ptrs()
378 space += size_in_ptrs(n_types); // status bytes (holder_constructed and instance_registered) in allocate_layout()
1101 tinfo->holder_size_in_ptrs = size_in_ptrs(rec.holder_size); in PYBIND11_NAMESPACE_BEGIN()