/external/python/cpython2/Objects/ |
D | iterobject.c | 20 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type); in PySeqIter_New() 146 it = PyObject_GC_New(calliterobject, &PyCallIter_Type); in PyCallIter_New()
|
D | cellobject.c | 10 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type); in PyCell_New()
|
D | moduleobject.c | 22 m = PyObject_GC_New(PyModuleObject, &PyModule_Type); in PyModule_New()
|
D | memoryobject.c | 61 PyObject_GC_New(PyMemoryViewObject, &PyMemoryView_Type); in PyMemoryView_FromBuffer() 254 mem = PyObject_GC_New(PyMemoryViewObject, &PyMemoryView_Type); in PyMemoryView_GetContiguous()
|
D | sliceobject.c | 63 PySliceObject *obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
|
D | genobject.c | 385 PyGenObject *gen = PyObject_GC_New(PyGenObject, &PyGen_Type); in PyGen_New()
|
D | methodobject.c | 27 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCFunction_NewEx()
|
/external/python/cpython2/Misc/ |
D | pymemcompat.h | 78 #define PyObject_GC_New PyObject_New macro
|
/external/python/cpython3/Objects/ |
D | iterobject.c | 23 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type); in PySeqIter_New() 184 it = PyObject_GC_New(calliterobject, &PyCallIter_Type); in PyCallIter_New()
|
D | cellobject.c | 11 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type); in PyCell_New()
|
D | classobject.c | 105 PyMethodObject *im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New() 380 method = PyObject_GC_New(PyInstanceMethodObject, in PyInstanceMethod_New()
|
D | genobject.c | 784 PyGenObject *gen = PyObject_GC_New(PyGenObject, type); in gen_new_with_qualname() 904 PyCoroWrapper *cw = PyObject_GC_New(PyCoroWrapper, &_PyCoroWrapper_Type); in coro_await() 1658 o = PyObject_GC_New(PyAsyncGenASend, &_PyAsyncGenASend_Type); in async_gen_asend_new() 1758 o = PyObject_GC_New(_PyAsyncGenWrappedValue, in _PyAsyncGenValueWrapperNew() 2043 o = PyObject_GC_New(PyAsyncGenAThrow, &_PyAsyncGenAThrow_Type); in async_gen_athrow_new()
|
D | methodobject.c | 87 PyCMethodObject *om = PyObject_GC_New(PyCMethodObject, &PyCMethod_Type); in PyCMethod_New() 101 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCMethod_New()
|
D | descrobject.c | 1220 mappingproxy = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type); in mappingproxy_new_impl() 1237 pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type); in PyDictProxy_New() 1443 wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type); in PyWrapper_New()
|
D | sliceobject.c | 125 obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
|
/external/python/cpython3/Doc/c-api/ |
D | gcsupport.rst | 30 #. The memory for the object must be allocated using :c:func:`PyObject_GC_New` 37 .. c:function:: TYPE* PyObject_GC_New(TYPE, PyTypeObject *type) 102 Releases memory allocated to an object using :c:func:`PyObject_GC_New` or
|
/external/python/cpython2/Doc/c-api/ |
D | gcsupport.rst | 33 #. The memory for the object must be allocated using :c:func:`PyObject_GC_New` 40 .. c:function:: TYPE* PyObject_GC_New(TYPE, PyTypeObject *type) 91 Releases memory allocated to an object using :c:func:`PyObject_GC_New` or
|
/external/python/cpython3/Include/ |
D | objimpl.h | 184 #define PyObject_GC_New(type, typeobj) \ macro
|
/external/python/cpython3/Modules/ |
D | xxlimited.c | 34 self = PyObject_GC_New(XxoObject, (PyTypeObject*)Xxo_Type); in newXxoObject()
|
D | _operator.c | 967 ig = PyObject_GC_New(itemgetterobject, &itemgetter_type); in itemgetter_new() 1250 ag = PyObject_GC_New(attrgetterobject, &attrgetter_type); in attrgetter_new() 1517 mc = PyObject_GC_New(methodcallerobject, &methodcaller_type); in methodcaller_new()
|
/external/python/cpython2/Modules/ |
D | operator.c | 481 ig = PyObject_GC_New(itemgetterobject, &itemgetter_type); in itemgetter_new() 620 ag = PyObject_GC_New(attrgetterobject, &attrgetter_type); in attrgetter_new() 800 mc = PyObject_GC_New(methodcallerobject, &methodcaller_type); in methodcaller_new()
|
/external/python/cpython3/Python/ |
D | context.c | 346 ctx = PyObject_GC_New(PyContext, &PyContext_Type); in _context_alloc() 799 PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type); in contextvar_new() 1202 PyContextToken *tok = PyObject_GC_New(PyContextToken, &PyContextToken_Type); in token_new()
|
/external/python/cpython2/Python/ |
D | traceback.c | 92 tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type); in newtracebackobject()
|
/external/python/cpython2/Include/ |
D | objimpl.h | 328 #define PyObject_GC_New(type, typeobj) \ macro
|
/external/python/cffi/c/ |
D | minibuffer.h | 399 MiniBufferObj *ob = PyObject_GC_New(MiniBufferObj, &MiniBuffer_Type); in minibuffer_new()
|