Home
last modified time | relevance | path

Searched refs:Py_XNewRef (Results 1 - 14 of 14) sorted by relevance

/third_party/python/Modules/_sqlite/
H A Drow.c96 return Py_XNewRef(item); in pysqlite_row_item()
141 return Py_XNewRef(item); in pysqlite_row_subscript()
156 return Py_XNewRef(item); in pysqlite_row_subscript()
H A Dcursor.c674 current_param = Py_XNewRef(item); in bind_parameters()
728 current_param = Py_XNewRef(item); in bind_parameters()
/third_party/python/Include/
H A Dobject.h614 PyAPI_FUNC(PyObject*) Py_XNewRef(PyObject *obj);
628 // Py_NewRef() and Py_XNewRef() are exported as functions for the stable ABI.
633 # define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj)) macro
636 # define Py_XNewRef(obj) _Py_XNewRef(obj) macro
/third_party/python/Include/internal/
H A Dpycore_frame.h110 frame->f_locals = Py_XNewRef(locals); in _PyFrame_InitializeSpecials()
/third_party/python/Modules/
H A Datexitmodule.c176 callback->kwargs = Py_XNewRef(kwargs); in atexit_register()
H A D_threadmodule.c799 self->args = Py_XNewRef(args); in local_new()
800 self->kw = Py_XNewRef(kw); in local_new()
1160 boot->kwargs = Py_XNewRef(kwargs); in thread_PyThread_start_new_thread()
H A D_testcapimodule.c5741 /* test Py_XNewRef() */ \
5742 PyObject *xref = Py_XNewRef(obj); \
5747 assert(Py_XNewRef(NULL) == NULL); \
5754 // Test Py_NewRef() and Py_XNewRef() macros
5762 #undef Py_XNewRef macro
5764 // Test Py_NewRef() and Py_XNewRef() functions, after undefining macros.
/third_party/python/PC/
H A Dpython3dll.c88 EXPORT_FUNC(Py_XNewRef)
/third_party/python/Objects/
H A Dweakrefobject.c31 self->wr_callback = Py_XNewRef(callback); in init_weakref()
H A Dobject.c2425 #undef Py_XNewRef macro
2427 // Export Py_NewRef() and Py_XNewRef() as regular functions for the stable ABI.
2435 Py_XNewRef(PyObject *obj) in Py_XNewRef() function
H A Dtypeobject.c3463 res->ht_module = Py_XNewRef(module); in PyType_FromModuleAndSpec()
/third_party/python/Python/
H A Derrors.c523 Py_XSETREF(tstate->exc_info->exc_value, Py_XNewRef(exc)); in _PyErr_SetHandledException()
H A Dsysmodule.c1839 PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame)); in sys__getframe_impl()
H A Dimport.c982 return Py_XNewRef(mod); in create_builtin()

Completed in 43 milliseconds