Home
last modified time | relevance | path

Searched refs:_Py_NewReference (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython3/Include/
Dobject.h767 PyAPI_FUNC(void) _Py_NewReference(PyObject *);
778 #define _Py_NewReference(op) ( \ macro
Dobjimpl.h144 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
/external/python/cpython2/Include/
Dobject.h744 PyAPI_FUNC(void) _Py_NewReference(PyObject *);
755 #define _Py_NewReference(op) ( \ macro
Dobjimpl.h164 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
/external/python/cpython3/Objects/
Dobject.c235 _Py_NewReference(op); in PyObject_Init()
247 _Py_NewReference((PyObject *)op); in PyObject_InitVar()
316 _Py_NewReference(self); in PyObject_CallFinalizerFromDealloc()
1926 _Py_NewReference(PyObject *op) in _Py_NewReference() function
Dframeobject.c703 _Py_NewReference((PyObject *)f); in _PyFrame_New_NoTrack()
734 _Py_NewReference((PyObject *)f); in _PyFrame_New_NoTrack()
Dtupleobject.c107 _Py_NewReference((PyObject *)op); in PyTuple_New()
897 _Py_NewReference((PyObject *) sv); in _PyTuple_Resize()
Dsliceobject.c122 _Py_NewReference((PyObject *)obj); in PySlice_New()
Dgenobject.c1659 _Py_NewReference((PyObject *)o); in async_gen_asend_new()
1759 _Py_NewReference((PyObject*)o); in _PyAsyncGenValueWrapperNew()
Dexceptions.c2267 _Py_NewReference((PyObject *)self); in MemoryError_new()
Dbytesobject.c3025 _Py_NewReference(*pv); in _PyBytes_Resize()
/external/python/cpython2/Doc/c-api/
Drefcounting.rst72 :c:func:`_Py_Dealloc`, :c:func:`_Py_ForgetReference`, :c:func:`_Py_NewReference`,
/external/python/cpython3/Doc/c-api/
Drefcounting.rst71 :c:func:`_Py_Dealloc`, :c:func:`_Py_ForgetReference`, :c:func:`_Py_NewReference`,
/external/python/cpython2/Objects/
Dgenobject.c190 _Py_NewReference(self); in gen_del()
Dframeobject.c706 _Py_NewReference((PyObject *)f); in PyFrame_New()
735 _Py_NewReference((PyObject *)f); in PyFrame_New()
Dtupleobject.c77 _Py_NewReference((PyObject *)op); in PyTuple_New()
877 _Py_NewReference((PyObject *) sv); in _PyTuple_Resize()
Dobject.c224 _Py_NewReference(op); in PyObject_Init()
236 _Py_NewReference((PyObject *)op); in PyObject_InitVar()
2229 _Py_NewReference(PyObject *op) in _Py_NewReference() function
Dsetobject.c1016 _Py_NewReference((PyObject *)so); in make_new_set()
Dclassobject.c688 _Py_NewReference((PyObject *)inst); in instance_dealloc()
Dlistobject.c137 _Py_NewReference((PyObject *)op); in PyList_New()
Ddictobject.c262 _Py_NewReference((PyObject *)mp); in PyDict_New()
Dbytesobject.c2980 _Py_NewReference(*pv); in _PyBytes_Resize()
/external/python/cpython2/Modules/_io/
Diobase.c247 _Py_NewReference(self); in _PyIOBase_finalize()
/external/python/cpython3/Python/
Dcontext.c329 _Py_NewReference((PyObject *)ctx); in _context_alloc()
/external/python/cpython3/Modules/
D_asynciomodule.c1663 _Py_NewReference((PyObject*) it); in future_new_iter()

12