Searched refs:value_and_holder (Results 1 - 6 of 6) sorted by relevance
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | init.h | 18 class type_caster<value_and_holder> { 21 value = reinterpret_cast<value_and_holder *>(h.ptr()); 25 template <typename> using cast_op_type = value_and_holder &; 26 operator value_and_holder &() { return *value; } 27 static constexpr auto name = _<value_and_holder>(); 30 value_and_holder *value = nullptr; 72 value_and_holder &v_h, Cpp<Class> &&base) { 77 value_and_holder &, Cpp<Class> &&) { 96 void construct(value_and_holder &v_h, Cpp<Class> *ptr, bool need_alias) { 124 void construct(value_and_holder [all...] |
H A D | internals.h | 122 void (*dealloc)(value_and_holder &v_h);
|
H A D | common.h | 374 struct value_and_holder; 430 /// Returns the value_and_holder wrapper for the given type (or the first, if `find_type` 433 value_and_holder get_value_and_holder(const type_info *find_type = nullptr, bool throw_if_missing = true);
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | cast.h | 206 struct value_and_holder { struct 213 value_and_holder(instance *i, const detail::type_info *type, size_t vpos, size_t index) : function in struct:value_and_holder 219 value_and_holder() {} function in struct:value_and_holder 222 value_and_holder(size_t index) : index{index} {} function in struct:value_and_holder 227 // True if this `value_and_holder` has a non-null value pointer 275 value_and_holder curr; 296 value_and_holder &operator*() { return curr; } 297 value_and_holder *operator->() { return &curr; } 322 PYBIND11_NOINLINE inline value_and_holder instance::get_value_and_holder(const type_info *find_type /*= nullptr default in common.h*/, bool throw_if_missing /*= true in common.h*/) { 325 return value_and_holder(thi [all...] |
H A D | pybind11.h | 260 // A new-style `__init__` takes `self` as `value_and_holder`. 437 auto self_value_and_holder = value_and_holder(); 1296 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, 1313 static void init_holder_from_existing(const detail::value_and_holder &v_h, 1318 static void init_holder_from_existing(const detail::value_and_holder &v_h, 1324 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, 1349 static void dealloc(detail::value_and_holder &v_h) {
|
H A D | attr.h | 231 void (*dealloc)(detail::value_and_holder &) = nullptr;
|
Completed in 26 milliseconds