Lines Matching refs:parent

93     for (handle parent : reinterpret_borrow<tuple>(t->tp_bases))
94 check.push_back((PyTypeObject *) parent.ptr());
130 for (handle parent : reinterpret_borrow<tuple>(type->tp_bases))
131 check.push_back((PyTypeObject *) parent.ptr());
495 PYBIND11_NOINLINE static handle cast(const void *_src, return_value_policy policy, handle parent,
556 keep_alive_impl(inst, parent);
835 static handle cast(const itype &src, return_value_policy policy, handle parent) {
838 return cast(&src, policy, parent);
841 static handle cast(itype &&src, return_value_policy, handle parent) {
842 return cast(&src, return_value_policy::move, parent);
869 static handle cast(const itype *src, return_value_policy policy, handle parent) {
872 st.first, policy, parent, st.second,
934 static handle cast(const std::reference_wrapper<type> &src, return_value_policy policy, handle parent) {
938 return caster_t::cast(&src.get(), policy, parent);
950 static handle cast(T_ *src, return_value_policy policy, handle parent) { \
953 auto h = cast(std::move(*src), policy, parent); delete src; return h; \
955 return cast(*src, policy, parent); \
1029 cast(U src, return_value_policy /* policy */, handle /* parent */) {
1035 cast(U src, return_value_policy /* policy */, handle /* parent */) {
1041 cast(U src, return_value_policy /* policy */, handle /* parent */) {
1047 cast(U src, return_value_policy /* policy */, handle /* parent */) {
1053 cast(U src, return_value_policy /* policy */, handle /* parent */) {
1067 static handle cast(T, return_value_policy /* policy */, handle /* parent */) {
1104 static handle cast(const void *ptr, return_value_policy /* policy */, handle /* parent */) {
1154 static handle cast(bool src, return_value_policy /* policy */, handle /* parent */) {
1215 static handle cast(const StringType &src, return_value_policy /* policy */, handle /* parent */) {
1293 static handle cast(const CharT *src, return_value_policy policy, handle parent) {
1295 return StringCaster::cast(StringType(src), policy, parent);
1298 static handle cast(CharT src, return_value_policy policy, handle parent) {
1304 return StringCaster::cast(StringType(1, src), policy, parent);
1377 static handle cast(T &&src, return_value_policy policy, handle parent) {
1378 return cast_impl(std::forward<T>(src), policy, parent, indices{});
1406 static handle cast_impl(T &&src, return_value_policy policy, handle parent, index_sequence<Is...>) {
1408 reinterpret_steal<object>(make_caster<Ts>::cast(std::get<Is>(std::forward<T>(src)), policy, parent))...
1575 static handle cast(const handle &src, return_value_policy /* policy */, handle /* parent */) {
1675 handle parent = handle()) {
1680 return reinterpret_steal<object>(detail::make_caster<T>::cast(value, policy, parent));
1877 /// The parent, if any
1878 handle parent;