Searched refs:v_h (Results 1 - 7 of 7) sorted by relevance

/gem5/ext/pybind11/include/pybind11/detail/
H A Dinit.h72 value_and_holder &v_h, Cpp<Class> &&base) {
73 v_h.value_ptr() = new Alias<Class>(std::move(base));
96 void construct(value_and_holder &v_h, Cpp<Class> *ptr, bool need_alias) { argument
107 v_h.value_ptr() = ptr;
108 v_h.set_instance_registered(true); // To prevent init_instance from registering it
109 v_h.type->init_instance(v_h.inst, nullptr); // Set up the holder
110 Holder<Class> temp_holder(std::move(v_h.holder<Holder<Class>>())); // Steal the holder
111 v_h.type->dealloc(v_h); // Destroy
71 construct_alias_from_cpp(std::true_type , value_and_holder &v_h, Cpp<Class> &&base) argument
124 construct(value_and_holder &v_h, Alias<Class> *alias_ptr, bool) argument
133 construct(value_and_holder &v_h, Holder<Class> holder, bool need_alias) argument
149 construct(value_and_holder &v_h, Cpp<Class> &&result, bool need_alias) argument
162 construct(value_and_holder &v_h, Alias<Class> &&result, bool) argument
286 setstate(value_and_holder &v_h, T &&result, bool need_alias) argument
293 setstate(value_and_holder &v_h, std::pair<T, O> &&result, bool need_alias) argument
[all...]
H A Dclass.h319 for (auto &v_h : values_and_holders(instance)) {
320 if (v_h) {
324 if (v_h.instance_registered() && !deregister_instance(instance, v_h.value_ptr(), v_h.type))
327 if (instance->owned || v_h.holder_constructed())
328 v_h.type->dealloc(v_h);
H A Dinternals.h122 void (*dealloc)(value_and_holder &v_h);
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h1296 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, argument
1300 v_h.value_ptr<type>()->shared_from_this());
1302 new (std::addressof(v_h.holder<holder_type>())) holder_type(std::move(sh));
1303 v_h.set_holder_constructed();
1307 if (!v_h.holder_constructed() && inst->owned) {
1308 new (std::addressof(v_h.holder<holder_type>())) holder_type(v_h.value_ptr<type>());
1309 v_h.set_holder_constructed();
1313 static void init_holder_from_existing(const detail::value_and_holder &v_h, argument
1315 new (std::addressof(v_h
1318 init_holder_from_existing(const detail::value_and_holder &v_h, const holder_type *holder_ptr, std::false_type ) argument
1324 init_holder(detail::instance *inst, detail::value_and_holder &v_h, const holder_type *holder_ptr, const void * ) argument
1340 auto v_h = inst->get_value_and_holder(detail::get_type_info(typeid(type))); local
1349 dealloc(detail::value_and_holder &v_h) argument
[all...]
H A Dcast.h569 void load_value(value_and_holder &&v_h) { argument
570 auto *&vptr = v_h.value_ptr();
573 auto *type = v_h.type ? v_h.type : typeinfo;
1476 bool load_value(value_and_holder &&v_h) {
1477 if (v_h.holder_constructed()) {
1478 value = v_h.value_ptr();
1479 holder = v_h.template holder<holder_type>();
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbutils.cpp1014 v_h v_l
1091 sc_digit v_h = (*v++); // C|D
1092 sc_digit v_l = low_half(v_h); // D
1094 v_h = high_half(v_h); // C
1098 assert(v_h == (v_h & HALF_DIGIT_MASK));
1103 prod_h = u_h * v_l + u_l * v_h + high_half(prod_l) + high_half(carry);
1107 carry = u_h * v_h + high_half(prod_h);
/gem5/src/systemc/dt/int/
H A Dsc_nbutils.cc976 v_h v_l
1047 sc_digit v_h = (*v++); // C|D
1048 sc_digit v_l = low_half(v_h); // D
1050 v_h = high_half(v_h); // C
1054 sc_assert(v_h == (v_h & HALF_DIGIT_MASK));
1058 prod_h = u_h * v_l + u_l * v_h +
1061 carry = u_h * v_h + high_half(prod_h);

Completed in 37 milliseconds