Searched refs:values_and_holders (Results 1 – 3 of 3) sorted by relevance
219 … vh{inst->simple_layout ? inst->simple_value_holder : &inst->nonsimple.values_and_holders[vpos]}266 struct values_and_holders { struct273 values_and_holders(instance *inst) : inst{inst}, tinfo(all_type_info(Py_TYPE(inst))) {} in values_and_holders() argument280 friend struct values_and_holders; argument331 detail::values_and_holders vhs(this); in get_value_and_holder() argument386 nonsimple.values_and_holders = (void **) PyMem_Calloc(space, sizeof(void *)); in allocate_layout()387 if (!nonsimple.values_and_holders) throw std::bad_alloc(); in allocate_layout()389 nonsimple.values_and_holders = (void **) PyMem_New(void *, space); in allocate_layout()390 if (!nonsimple.values_and_holders) throw std::bad_alloc(); in allocate_layout()391 std::memset(nonsimple.values_and_holders, 0, space * sizeof(void *)); in allocate_layout()[all …]
184 for (const auto &vh : values_and_holders(instance)) { in pybind11_meta_call()391 for (auto &v_h : values_and_holders(instance)) { in clear_instance()
414 void **values_and_holders; member