Home
last modified time | relevance | path

Searched refs:Py_XINCREF (Results 1 – 25 of 73) sorted by relevance

123

/third_party/python/Objects/
Dcellobject.c15 Py_XINCREF(obj); in PyCell_New()
59 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
72 Py_XINCREF(obj); in PyCell_Set()
146 Py_XINCREF(obj); in cell_set_contents()
Dexceptions.c324 Py_XINCREF(base_self->traceback); in PyException_GetTraceback()
339 Py_XINCREF(cause); in PyException_GetCause()
356 Py_XINCREF(context); in PyException_GetContext()
660 Py_XINCREF(name); in ImportError_init()
663 Py_XINCREF(path); in ImportError_init()
923 Py_XINCREF(myerrno); in oserror_init()
926 Py_XINCREF(strerror); in oserror_init()
930 Py_XINCREF(winerror); in oserror_init()
1351 Py_XINCREF(name); in NameError_init()
1426 Py_XINCREF(name); in AttributeError_init()
[all …]
Ddescrobject.c604 Py_XINCREF(descr->d_qualname); in descr_get_qualname()
886 Py_XINCREF(type); in descr_new()
1558 Py_XINCREF(name); in property_set_name()
1679 Py_XINCREF(pold->prop_name); in property_copy()
1733 Py_XINCREF(fget); in property_init_impl()
1734 Py_XINCREF(fset); in property_init_impl()
1735 Py_XINCREF(fdel); in property_init_impl()
1736 Py_XINCREF(doc); in property_init_impl()
Dfuncobject.c51 Py_XINCREF(module); in PyFunction_NewWithQualName()
423 Py_XINCREF(value); in func_set_defaults()
464 Py_XINCREF(value); in func_set_kwdefaults()
493 Py_XINCREF(value); in func_set_annotations()
Dboolobject.c22 Py_XINCREF(s); in bool_repr()
Dmethodobject.c109 Py_XINCREF(self); in PyCMethod_New()
111 Py_XINCREF(module); in PyCMethod_New()
Dgenobject.c201 Py_XINCREF(tstate->frame); in gen_send_ex2()
506 Py_XINCREF(val); in _gen_throw()
507 Py_XINCREF(tb); in _gen_throw()
1739 Py_XINCREF(sendval); in async_gen_asend_new()
2136 Py_XINCREF(args); in async_gen_athrow_new()
Dframeobject.c517 Py_XINCREF(v); in frame_settrace()
1005 Py_XINCREF(value); in dict_to_map()
1176 Py_XINCREF(back); in PyFrame_GetBack()
/third_party/libxml2/python/
Dlibxml.c786 Py_XINCREF(pythonExternalEntityLoaderObjext); in libxml_xmlSetEntityLoader()
914 Py_XINCREF(Py_None); in pythonStartElement()
926 Py_XINCREF(Py_None); in pythonStartElement()
1642 Py_XINCREF(libxml_xmlPythonErrorFuncCtxt); in libxml_xmlErrorFuncHandler()
1686 Py_XINCREF(pyobj_ctx); in libxml_xmlRegisterErrorHandler()
1687 Py_XINCREF(pyobj_f); in libxml_xmlRegisterErrorHandler()
1728 Py_XINCREF(pyCtxt->arg); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1811 Py_XINCREF(pyobj_f); in libxml_xmlParserCtxtSetErrorHandler()
1814 Py_XINCREF(pyobj_arg); in libxml_xmlParserCtxtSetErrorHandler()
1851 Py_XINCREF(pyCtxt->f); in libxml_xmlParserCtxtGetErrorHandler()
[all …]
/third_party/boost/libs/python/doc/reference/
Dhandle.qbk77 ``Py_XINCREF(upcast<PyObject*>(p));
86 ``Py_XINCREF(upcast<PyObject*>(p));
95 ``Py_XINCREF(upcast<PyObject*>(p));
125 [[Effects][m_p = r.m_p; Py_XINCREF(upcast<PyObject*>(m_p));]]
135 [[Effects][`Py_XINCREF(upcast<PyObject*>(r.m_p)); Py_XDECREF( upcast<PyObject*>(m_p)); m_p = r.m_p;…
/third_party/libnl/python/netlink/
Dcapi.i687 Py_XINCREF(info->cbtype[i].cbf); in py_nl_cb_clone()
688 Py_XINCREF(info->cbtype[i].cba); in py_nl_cb_clone()
692 Py_XINCREF(info->cberr.cbf); in py_nl_cb_clone()
693 Py_XINCREF(info->cberr.cba); in py_nl_cb_clone()
738 Py_XINCREF(func); in py_nl_cb_set()
739 Py_XINCREF(a); in py_nl_cb_set()
763 Py_XINCREF(func); in py_nl_cb_set_all()
764 Py_XINCREF(a); in py_nl_cb_set_all()
793 Py_XINCREF(func); in py_nl_cb_err()
794 Py_XINCREF(a); in py_nl_cb_err()
/third_party/python/Modules/_ctypes/
Dstgdict.c86 Py_XINCREF(dst->proto); in PyCStgDict_clone()
87 Py_XINCREF(dst->argtypes); in PyCStgDict_clone()
88 Py_XINCREF(dst->converters); in PyCStgDict_clone()
89 Py_XINCREF(dst->restype); in PyCStgDict_clone()
90 Py_XINCREF(dst->checker); in PyCStgDict_clone()
262 Py_XINCREF(new_descr->proto); in MakeFields()
/third_party/boost/libs/python/src/object/
Dclass.cpp93 Py_XINCREF(get); in property_init()
94 Py_XINCREF(set); in property_init()
95 Py_XINCREF(del); in property_init()
96 Py_XINCREF(doc); in property_init()
Dlife_support.cpp117 Py_XINCREF(patient); // hang on to the patient until death in make_nurse_and_patient()
/third_party/python/Doc/c-api/
Drefcounting.rst23 ``NULL``, use :c:func:`Py_XINCREF`.
26 .. c:function:: void Py_XINCREF(PyObject *o)
115 simply exported function versions of :c:func:`Py_XINCREF` and
/third_party/python/Modules/
D_csv.c168 Py_XINCREF(self->lineterminator); in Dialect_get_lineterminator()
451 Py_XINCREF(delimiter); in dialect_new()
452 Py_XINCREF(doublequote); in dialect_new()
453 Py_XINCREF(escapechar); in dialect_new()
454 Py_XINCREF(lineterminator); in dialect_new()
455 Py_XINCREF(quotechar); in dialect_new()
456 Py_XINCREF(quoting); in dialect_new()
457 Py_XINCREF(skipinitialspace); in dialect_new()
458 Py_XINCREF(strict); in dialect_new()
Dfaulthandler.c542 Py_XINCREF(file); in faulthandler_py_enable()
756 Py_XINCREF(file); in faulthandler_dump_traceback_later()
939 Py_XINCREF(file); in faulthandler_register_py()
/third_party/python/Python/
Dstructmember.c79 Py_XINCREF(v); in PyMember_GetOne()
250 Py_XINCREF(v); in PyMember_SetOne()
Dcontext.c249 Py_XINCREF(*val); in PyContextVar_Get()
281 Py_XINCREF(old_val); in PyContextVar_Set()
829 Py_XINCREF(def); in contextvar_new()
1229 Py_XINCREF(val); in token_new()
Dtraceback.c49 Py_XINCREF(next); in tb_create_raw()
51 Py_XINCREF(frame); in tb_create_raw()
137 Py_XINCREF(new_next); in tb_next_set()
Dhamt.c575 Py_XINCREF(node->b_array[i]); in hamt_node_bitmap_clone()
601 Py_XINCREF(o->b_array[i]); in hamt_node_bitmap_clone_without()
607 Py_XINCREF(o->b_array[i]); in hamt_node_bitmap_clone_without()
921 Py_XINCREF(self->b_array[i]); in hamt_node_bitmap_assoc()
935 Py_XINCREF(self->b_array[i]); in hamt_node_bitmap_assoc()
1659 Py_XINCREF(node->a_array[i]); in hamt_node_array_clone()
1717 Py_XINCREF(self->a_array[i]); in hamt_node_array_assoc()
Derrors.c129 Py_XINCREF(value); in _PyErr_SetObject()
188 Py_XINCREF(exception); in _PyErr_SetObject()
476 Py_XINCREF(*p_type); in _PyErr_GetExcInfo()
477 Py_XINCREF(*p_value); in _PyErr_GetExcInfo()
478 Py_XINCREF(*p_traceback); in _PyErr_GetExcInfo()
Dsuggestions.c170 Py_XINCREF(suggestion); in calculate_suggestions()
/third_party/boost/boost/python/
Drefcount.hpp23 Py_XINCREF(python::upcast<PyObject>(p)); in xincref()
/third_party/python/Include/
Dobject.h562 #define Py_XINCREF(op) _Py_XINCREF(_PyObject_CAST(op)) macro
588 Py_XINCREF(obj); in _Py_XNewRef()

123