Searched refs:value_and_holder (Results 1 – 6 of 6) sorted by relevance
/external/python/pybind11/include/pybind11/detail/ |
D | init.h | 18 class type_caster<value_and_holder> { in PYBIND11_NAMESPACE_BEGIN() 21 value = reinterpret_cast<value_and_holder *>(h.ptr()); in PYBIND11_NAMESPACE_BEGIN() 25 template <typename> using cast_op_type = value_and_holder &; in PYBIND11_NAMESPACE_BEGIN() 26 operator value_and_holder &() { return *value; } in PYBIND11_NAMESPACE_BEGIN() 27 static constexpr auto name = _<value_and_holder>(); in PYBIND11_NAMESPACE_BEGIN() 30 value_and_holder *value = nullptr; in PYBIND11_NAMESPACE_BEGIN() 72 value_and_holder &v_h, Cpp<Class> &&base) { in construct_alias_from_cpp() 77 value_and_holder &, Cpp<Class> &&) { in construct_alias_from_cpp() argument 96 void construct(value_and_holder &v_h, Cpp<Class> *ptr, bool need_alias) { in construct() 124 void construct(value_and_holder &v_h, Alias<Class> *alias_ptr, bool) { in construct() [all …]
|
D | internals.h | 134 void (*dealloc)(value_and_holder &v_h);
|
D | common.h | 411 struct value_and_holder; 470 …value_and_holder get_value_and_holder(const type_info *find_type = nullptr, bool throw_if_missing …
|
/external/python/pybind11/include/pybind11/ |
D | cast.h | 210 struct value_and_holder { struct 217 value_and_holder(instance *i, const detail::type_info *type, size_t vpos, size_t index) : in value_and_holder() argument 223 value_and_holder() = default; 226 value_and_holder(size_t index) : index{index} {} in value_and_holder() argument 279 value_and_holder curr; 300 value_and_holder &operator*() { return curr; } 301 value_and_holder *operator->() { return &curr; } 326 PYBIND11_NOINLINE inline value_and_holder instance::get_value_and_holder(const type_info *find_type… in get_value_and_holder() 329 return value_and_holder(this, find_type, 0, 0); in get_value_and_holder() 337 return value_and_holder(); in get_value_and_holder() [all …]
|
D | pybind11.h | 555 auto self_value_and_holder = value_and_holder(); in PYBIND11_NAMESPACE_BEGIN() 1506 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, 1523 static void init_holder_from_existing(const detail::value_and_holder &v_h, 1528 static void init_holder_from_existing(const detail::value_and_holder &v_h, 1534 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, 1559 static void dealloc(detail::value_and_holder &v_h) { 1794 [](detail::value_and_holder &v_h, Scalar arg) {
|
D | attr.h | 251 void (*dealloc)(detail::value_and_holder &) = nullptr;
|