Home
last modified time | relevance | path

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

12345

/external/python/cpython3/Objects/
Dcellobject.c16 Py_XINCREF(obj); in PyCell_New()
29 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
42 Py_XINCREF(obj); in PyCell_Set()
116 Py_XINCREF(obj); in cell_set_contents()
Dmethodobject.c44 Py_XINCREF(self); in PyCFunction_NewEx()
46 Py_XINCREF(module); in PyCFunction_NewEx()
Ddescrobject.c446 Py_XINCREF(descr->d_qualname); in descr_get_qualname()
726 Py_XINCREF(type); in descr_new()
1479 Py_XINCREF(fget); in property_init_impl()
1480 Py_XINCREF(fset); in property_init_impl()
1481 Py_XINCREF(fdel); in property_init_impl()
1482 Py_XINCREF(doc); in property_init_impl()
Dboolobject.c22 Py_XINCREF(s); in bool_repr()
/external/python/cpython2/Objects/
Dcellobject.c14 Py_XINCREF(obj); in PyCell_New()
27 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
40 Py_XINCREF(obj); in PyCell_Set()
Dgenobject.c80 Py_XINCREF(tstate->frame); in gen_send_ex()
238 Py_XINCREF(val); in gen_throw()
239 Py_XINCREF(tb); in gen_throw()
Dframeobject.c44 Py_XINCREF(new); \
408 Py_XINCREF(v); in frame_settrace()
749 Py_XINCREF(back); in PyFrame_New()
895 Py_XINCREF(value); in dict_to_map()
Ddescrobject.c616 Py_XINCREF(type); in descr_new()
1319 Py_XINCREF(get); in property_init()
1320 Py_XINCREF(set); in property_init()
1321 Py_XINCREF(del); in property_init()
1322 Py_XINCREF(doc); in property_init()
/external/libxml2/python/
Dlibxml.c785 Py_XINCREF(pythonExternalEntityLoaderObjext); in libxml_xmlSetEntityLoader()
913 Py_XINCREF(Py_None); in pythonStartElement()
925 Py_XINCREF(Py_None); in pythonStartElement()
1641 Py_XINCREF(libxml_xmlPythonErrorFuncCtxt); in libxml_xmlErrorFuncHandler()
1685 Py_XINCREF(pyobj_ctx); in libxml_xmlRegisterErrorHandler()
1686 Py_XINCREF(pyobj_f); in libxml_xmlRegisterErrorHandler()
1727 Py_XINCREF(pyCtxt->arg); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1810 Py_XINCREF(pyobj_f); in libxml_xmlParserCtxtSetErrorHandler()
1813 Py_XINCREF(pyobj_arg); in libxml_xmlParserCtxtSetErrorHandler()
1850 Py_XINCREF(pyCtxt->f); in libxml_xmlParserCtxtGetErrorHandler()
[all …]
/external/libnl/python/netlink/
Dcapi.i682 Py_XINCREF(info->cbtype[i].cbf); in py_nl_cb_clone()
683 Py_XINCREF(info->cbtype[i].cba); in py_nl_cb_clone()
687 Py_XINCREF(info->cberr.cbf); in py_nl_cb_clone()
688 Py_XINCREF(info->cberr.cba); in py_nl_cb_clone()
733 Py_XINCREF(func); in py_nl_cb_set()
734 Py_XINCREF(a); in py_nl_cb_set()
758 Py_XINCREF(func); in py_nl_cb_set_all()
759 Py_XINCREF(a); in py_nl_cb_set_all()
788 Py_XINCREF(func); in py_nl_cb_err()
789 Py_XINCREF(a); in py_nl_cb_err()
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c71 Py_XINCREF(dst->proto); in PyCStgDict_clone()
72 Py_XINCREF(dst->argtypes); in PyCStgDict_clone()
73 Py_XINCREF(dst->converters); in PyCStgDict_clone()
74 Py_XINCREF(dst->restype); in PyCStgDict_clone()
75 Py_XINCREF(dst->checker); in PyCStgDict_clone()
246 Py_XINCREF(new_descr->proto); in MakeFields()
/external/python/cpython3/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()
/external/python/cpython2/Modules/_sqlite/
Drow.c76 Py_XINCREF(item); in pysqlite_row_item()
97 Py_XINCREF(item); in pysqlite_row_subscript()
106 Py_XINCREF(item); in pysqlite_row_subscript()
Dstatement.c248 Py_XINCREF(current_param); in pysqlite_statement_bind_parameters()
251 Py_XINCREF(current_param); in pysqlite_statement_bind_parameters()
295 Py_XINCREF(current_param); in pysqlite_statement_bind_parameters()
/external/python/cpython2/Modules/
D_csv.c167 Py_XINCREF(str); in get_string()
397 Py_XINCREF(delimiter); in dialect_new()
398 Py_XINCREF(doublequote); in dialect_new()
399 Py_XINCREF(escapechar); in dialect_new()
400 Py_XINCREF(lineterminator); in dialect_new()
401 Py_XINCREF(quotechar); in dialect_new()
402 Py_XINCREF(quoting); in dialect_new()
403 Py_XINCREF(skipinitialspace); in dialect_new()
404 Py_XINCREF(strict); in dialect_new()
/external/python/cpython2/Doc/c-api/
Drefcounting.rst17 you aren't sure that it isn't *NULL*, use :c:func:`Py_XINCREF`.
20 .. c:function:: void Py_XINCREF(PyObject *o)
68 simply exported function versions of :c:func:`Py_XINCREF` and
/external/python/cpython3/Doc/c-api/
Drefcounting.rst17 you aren't sure that it isn't *NULL*, use :c:func:`Py_XINCREF`.
20 .. c:function:: void Py_XINCREF(PyObject *o)
67 simply exported function versions of :c:func:`Py_XINCREF` and
/external/python/cpython3/Modules/
D_csv.c147 Py_XINCREF(str); in get_string()
386 Py_XINCREF(delimiter); in dialect_new()
387 Py_XINCREF(doublequote); in dialect_new()
388 Py_XINCREF(escapechar); in dialect_new()
389 Py_XINCREF(lineterminator); in dialect_new()
390 Py_XINCREF(quotechar); in dialect_new()
391 Py_XINCREF(quoting); in dialect_new()
392 Py_XINCREF(skipinitialspace); in dialect_new()
393 Py_XINCREF(strict); in dialect_new()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c239 Py_XINCREF(current_param); in pysqlite_statement_bind_parameters()
242 Py_XINCREF(current_param); in pysqlite_statement_bind_parameters()
286 Py_XINCREF(current_param); in pysqlite_statement_bind_parameters()
Drow.c75 Py_XINCREF(item); in pysqlite_row_item()
98 Py_XINCREF(item); in pysqlite_row_subscript()
/external/python/cpython3/Python/
Dstructmember.c75 Py_XINCREF(v); in PyMember_GetOne()
246 Py_XINCREF(v); in PyMember_SetOne()
Derrors.c97 Py_XINCREF(value); in PyErr_SetObject()
142 Py_XINCREF(exception); in PyErr_SetObject()
365 Py_XINCREF(*p_type); in PyErr_GetExcInfo()
366 Py_XINCREF(*p_value); in PyErr_GetExcInfo()
367 Py_XINCREF(*p_traceback); in PyErr_GetExcInfo()
Dcontext.c229 Py_XINCREF(*val); in PyContextVar_Get()
261 Py_XINCREF(old_val); in PyContextVar_Set()
782 Py_XINCREF(def); in contextvar_new()
1161 Py_XINCREF(val); in token_new()
/external/python/cpython2/Python/
Dtraceback.c94 Py_XINCREF(next); in newtracebackobject()
96 Py_XINCREF(frame); in newtracebackobject()
Dstructmember.c124 Py_XINCREF(v); in PyMember_GetOne()
318 Py_XINCREF(v); in PyMember_SetOne()

12345