Home
last modified time | relevance | path

Searched refs:incref (Results 1 – 24 of 24) sorted by relevance

/third_party/boost/boost/python/
Dobject_core.hpp282 return python::incref(x.ptr()); in get()
289 return python::incref(converter::arg_to_python<T>(x).get()); in get()
300 return python::incref(x.operator object().ptr()); in get()
311 return python::incref(get_managed_object(x, boost::python::tag)); in get()
400 : object_base(python::incref(Py_None)) in object()
405 : m_ptr(python::incref(rhs.m_ptr)) in object_base()
427 : object_base(python::incref((PyObject*)p)) in object()
Dscope.hpp41 detail::current_scope = python::incref(new_scope.ptr()); in scope()
72 detail::current_scope = python::incref(new_scope.ptr()); in scope()
Dhandle.hpp45 return python::incref(expect_non_null((T*)p)); in manage_ptr()
125 python::incref( in handle()
Draw_function.hpp29 return incref( in operator ()()
Drefcount.hpp14 inline T* incref(T* p) in incref() function
Dreturn_arg.hpp90 return incref( detail::get(mpl::int_<arg_pos-1>(),args) ); in postcall()
Dto_python_indirect.hpp65 return incref(o); in execute()
Dextract.hpp252 object_manager_traits<T>::adopt(python::incref(m_source)) in operator ()()
Doperators.hpp289 return python::incref(l.source().ptr()); \
/third_party/boost/libs/python/src/object/
Denum.cpp87 return incref(self->name); in enum_str()
156 Py_TYPE(&enum_type_object) = incref(&PyType_Type); in new_enum_type()
226 p->name = incref(name.ptr()); in add_value()
248 return incref( in to_python()
Dfunction.cpp81 PyTuple_SET_ITEM(m_arg_names.ptr(), j, incref(Py_None)); in function()
102 , incref(kv.ptr()) in function()
170 … PyTuple_SET_ITEM(inner_args.get(), i, incref(PyTuple_GET_ITEM(args, i))); in call()
206 PyTuple_SET_ITEM(inner_args.get(), arg_pos, incref(value)); in call()
639 return python::incref( str("\n").join(signatures).ptr()); in function_get_doc()
659 return python::incref(f->name().ptr()); in function_get_name()
667 return python::incref(upcast<PyObject>(&PyCFunction_Type)); in function_get_class()
675 return python::incref(ns.ptr()); in function_get_module()
Dclass.cpp399 inst->dict = python::incref(dict); in instance_set_dict()
473 Py_TYPE(&class_type_object) = incref(class_metatype().get()); in class_type()
598 converters.m_class_object = (PyTypeObject*)incref(this->ptr()); in class_base()
/third_party/boost/boost/python/converter/
Dshared_ptr_to_python.hpp23 return incref( get_pointer( d->owner ) ); in shared_ptr_to_python()
35 return incref(get_pointer(d->owner)); in shared_ptr_to_python()
/third_party/python/Lib/multiprocessing/
Dmanagers.py406 self.incref(c, ident)
423 def incref(self, c, ident): member in Server
756 authkey=None, exposed=None, incref=True, manager_owned=False): argument
791 if incref:
938 incref = (
942 return func(token, serializer, incref=incref, **kwds)
971 exposed=None, incref=True, manager_owned=False): argument
991 incref=incref, manager_owned=manager_owned)
/third_party/boost/boost/python/detail/
Dmake_tuple.hpp17 , python::incref(python::object(a##N).ptr()) \
/third_party/boost/libs/python/test/
Dpytype_function.cpp31 return boost::python::incref(boost::python::object(b.a).ptr()); in convert()
Da_map_indexing_suite.cpp34 return boost::python::incref(boost::python::object((int)s.value).ptr()); in convert()
/third_party/boost/libs/python/src/
Dobject_operators.cpp82 : object_base(python::incref(python::expect_non_null(x.get()))) in object()
/third_party/grpc/src/core/lib/slice/
Dslice_buffer.cc267 template <bool incref>
288 } else if (incref) { /* n < slice_len */ in slice_buffer_move_first_maybe_ref()
/third_party/boost/libs/python/src/converter/
Dregistry.cpp90 ? incref(Py_None) in to_python()
/third_party/boost/libs/python/doc/reference/
Dpytype_function.qbk128 return incref(object(b.a).ptr());
/third_party/python/Misc/NEWS.d/
D3.5.0b3.rst188 Drop superfluous incref/decref.
/third_party/boost/libs/python/doc/
Dfaq.qbk624 return boost::python::incref(boost::python::object(s.value()).ptr());
/third_party/python/Doc/c-api/
Dintro.rst273 is considerably more complex than the incref one, since it must check whether