Searched refs:_Py_NewReference (Results 1 – 25 of 32) sorted by relevance
12
/external/python/cpython3/Include/ |
D | object.h | 767 PyAPI_FUNC(void) _Py_NewReference(PyObject *); 778 #define _Py_NewReference(op) ( \ macro
|
D | objimpl.h | 144 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
|
/external/python/cpython2/Include/ |
D | object.h | 744 PyAPI_FUNC(void) _Py_NewReference(PyObject *); 755 #define _Py_NewReference(op) ( \ macro
|
D | objimpl.h | 164 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
|
/external/python/cpython3/Objects/ |
D | object.c | 235 _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
|
D | frameobject.c | 703 _Py_NewReference((PyObject *)f); in _PyFrame_New_NoTrack() 734 _Py_NewReference((PyObject *)f); in _PyFrame_New_NoTrack()
|
D | tupleobject.c | 107 _Py_NewReference((PyObject *)op); in PyTuple_New() 897 _Py_NewReference((PyObject *) sv); in _PyTuple_Resize()
|
D | sliceobject.c | 122 _Py_NewReference((PyObject *)obj); in PySlice_New()
|
D | genobject.c | 1659 _Py_NewReference((PyObject *)o); in async_gen_asend_new() 1759 _Py_NewReference((PyObject*)o); in _PyAsyncGenValueWrapperNew()
|
D | exceptions.c | 2267 _Py_NewReference((PyObject *)self); in MemoryError_new()
|
D | bytesobject.c | 3025 _Py_NewReference(*pv); in _PyBytes_Resize()
|
/external/python/cpython2/Doc/c-api/ |
D | refcounting.rst | 72 :c:func:`_Py_Dealloc`, :c:func:`_Py_ForgetReference`, :c:func:`_Py_NewReference`,
|
/external/python/cpython3/Doc/c-api/ |
D | refcounting.rst | 71 :c:func:`_Py_Dealloc`, :c:func:`_Py_ForgetReference`, :c:func:`_Py_NewReference`,
|
/external/python/cpython2/Objects/ |
D | genobject.c | 190 _Py_NewReference(self); in gen_del()
|
D | frameobject.c | 706 _Py_NewReference((PyObject *)f); in PyFrame_New() 735 _Py_NewReference((PyObject *)f); in PyFrame_New()
|
D | tupleobject.c | 77 _Py_NewReference((PyObject *)op); in PyTuple_New() 877 _Py_NewReference((PyObject *) sv); in _PyTuple_Resize()
|
D | object.c | 224 _Py_NewReference(op); in PyObject_Init() 236 _Py_NewReference((PyObject *)op); in PyObject_InitVar() 2229 _Py_NewReference(PyObject *op) in _Py_NewReference() function
|
D | setobject.c | 1016 _Py_NewReference((PyObject *)so); in make_new_set()
|
D | classobject.c | 688 _Py_NewReference((PyObject *)inst); in instance_dealloc()
|
D | listobject.c | 137 _Py_NewReference((PyObject *)op); in PyList_New()
|
D | dictobject.c | 262 _Py_NewReference((PyObject *)mp); in PyDict_New()
|
D | bytesobject.c | 2980 _Py_NewReference(*pv); in _PyBytes_Resize()
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 247 _Py_NewReference(self); in _PyIOBase_finalize()
|
/external/python/cpython3/Python/ |
D | context.c | 329 _Py_NewReference((PyObject *)ctx); in _context_alloc()
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1663 _Py_NewReference((PyObject*) it); in future_new_iter()
|
12