Home
last modified time | relevance | path

Searched refs:values_and_holders (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/include/pybind11/
Dcast.h219 … vh{inst->simple_layout ? inst->simple_value_holder : &inst->nonsimple.values_and_holders[vpos]}
266 struct values_and_holders { struct
273 values_and_holders(instance *inst) : inst{inst}, tinfo(all_type_info(Py_TYPE(inst))) {} in values_and_holders() argument
280 friend struct values_and_holders; argument
331 detail::values_and_holders vhs(this); in get_value_and_holder() argument
386 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 …]
/external/python/pybind11/include/pybind11/detail/
Dclass.h184 for (const auto &vh : values_and_holders(instance)) { in pybind11_meta_call()
391 for (auto &v_h : values_and_holders(instance)) { in clear_instance()
Dcommon.h414 void **values_and_holders; member