Home
last modified time | relevance | path

Searched refs:v_h (Results 1 – 8 of 8) sorted by relevance

/external/python/pybind11/include/pybind11/detail/
Dinit.h72 value_and_holder &v_h, Cpp<Class> &&base) { in construct_alias_from_cpp() argument
73 v_h.value_ptr() = new Alias<Class>(std::move(base)); in construct_alias_from_cpp()
96 void construct(value_and_holder &v_h, Cpp<Class> *ptr, bool need_alias) { in construct() argument
107 v_h.value_ptr() = ptr; in construct()
108 v_h.set_instance_registered(true); // To prevent init_instance from registering it in construct()
109 v_h.type->init_instance(v_h.inst, nullptr); // Set up the holder in construct()
110 Holder<Class> temp_holder(std::move(v_h.holder<Holder<Class>>())); // Steal the holder in construct()
111 v_h.type->dealloc(v_h); // Destroys the moved-out holder remains, resets value ptr to null in construct()
112 v_h.set_instance_registered(false); in construct()
114 construct_alias_from_cpp<Class>(is_alias_constructible<Class>{}, v_h, std::move(*ptr)); in construct()
[all …]
Dclass.h391 for (auto &v_h : values_and_holders(instance)) { in clear_instance()
392 if (v_h) { in clear_instance()
396 … if (v_h.instance_registered() && !deregister_instance(instance, v_h.value_ptr(), v_h.type)) in clear_instance()
399 if (instance->owned || v_h.holder_constructed()) in clear_instance()
400 v_h.type->dealloc(v_h); in clear_instance()
Dinternals.h134 void (*dealloc)(value_and_holder &v_h);
/external/python/pybind11/include/pybind11/
Dpybind11.h1506 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h,
1510 v_h.value_ptr<type>()->shared_from_this());
1512 new (std::addressof(v_h.holder<holder_type>())) holder_type(std::move(sh));
1513 v_h.set_holder_constructed();
1517 if (!v_h.holder_constructed() && inst->owned) {
1518 new (std::addressof(v_h.holder<holder_type>())) holder_type(v_h.value_ptr<type>());
1519 v_h.set_holder_constructed();
1523 static void init_holder_from_existing(const detail::value_and_holder &v_h,
1525 …new (std::addressof(v_h.holder<holder_type>())) holder_type(*reinterpret_cast<const holder_type *>…
1528 static void init_holder_from_existing(const detail::value_and_holder &v_h,
[all …]
Dcast.h590 void load_value(value_and_holder &&v_h) { in load_value() argument
591 auto *&vptr = v_h.value_ptr(); in load_value()
594 auto *type = v_h.type ? v_h.type : typeinfo; in load_value()
1554 bool load_value(value_and_holder &&v_h) {
1555 if (v_h.holder_constructed()) {
1556 value = v_h.value_ptr();
1557 holder = v_h.template holder<holder_type>();
/external/libabigail/tests/data/test-abidiff-exit/
Dqualifier-typedef-array-v1.c33 volatile H v_h; // same member
Dqualifier-typedef-array-v0.c33 H v_h; member
/external/libvpx/libvpx/vpx_dsp/ppc/
Dsad_vsx.c155 #define PROCESS16_4D(offset, ref, v_h, v_l) \ argument
159 v_subh = vec_sub(v_h, v_bh); \