/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()
|
D | descrobject.c | 918 pp = PyObject_GC_New(proxyobject, &PyDictProxy_Type); in PyDictProxy_New() 1105 wp = PyObject_GC_New(wrapperobject, &wrappertype); in PyWrapper_New()
|
/external/python/cpython2/Misc/ |
D | pymemcompat.h | 78 #define PyObject_GC_New PyObject_New macro
|
/external/python/cpython3/Objects/ |
D | iterobject.c | 22 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type); in PySeqIter_New() 183 it = PyObject_GC_New(calliterobject, &PyCallIter_Type); in PyCallIter_New()
|
D | cellobject.c | 12 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type); in PyCell_New()
|
D | genobject.c | 781 PyGenObject *gen = PyObject_GC_New(PyGenObject, type); in gen_new_with_qualname() 919 PyCoroWrapper *cw = PyObject_GC_New(PyCoroWrapper, &_PyCoroWrapper_Type); in coro_await() 1661 o = PyObject_GC_New(PyAsyncGenASend, &_PyAsyncGenASend_Type); in async_gen_asend_new() 1761 o = PyObject_GC_New(_PyAsyncGenWrappedValue, in _PyAsyncGenValueWrapperNew() 2010 o = PyObject_GC_New(PyAsyncGenAThrow, &_PyAsyncGenAThrow_Type); in async_gen_athrow_new()
|
D | classobject.c | 62 im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New() 406 method = PyObject_GC_New(PyInstanceMethodObject, in PyInstanceMethod_New()
|
D | methodobject.c | 38 op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type); in PyCFunction_NewEx()
|
D | descrobject.c | 982 mappingproxy = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type); in mappingproxy_new_impl() 999 pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type); in PyDictProxy_New() 1209 wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type); in PyWrapper_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) 83 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/Python/ |
D | context.c | 332 ctx = PyObject_GC_New(PyContext, &PyContext_Type); in _context_alloc() 768 PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type); in contextvar_new() 1150 PyContextToken *tok = PyObject_GC_New(PyContextToken, &PyContextToken_Type); in token_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()
|
D | _csv.c | 929 ReaderObj * self = PyObject_GC_New(ReaderObj, &Reader_Type); in csv_reader() 1356 WriterObj * self = PyObject_GC_New(WriterObj, &Writer_Type); in csv_writer()
|
/external/python/cpython3/Modules/ |
D | xxlimited.c | 34 self = PyObject_GC_New(XxoObject, (PyTypeObject*)Xxo_Type); in newXxoObject()
|
D | _operator.c | 963 ig = PyObject_GC_New(itemgetterobject, &itemgetter_type); in itemgetter_new() 1219 ag = PyObject_GC_New(attrgetterobject, &attrgetter_type); in attrgetter_new() 1485 mc = PyObject_GC_New(methodcallerobject, &methodcaller_type); in methodcaller_new()
|
/external/python/cpython2/Python/ |
D | traceback.c | 92 tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type); in newtracebackobject()
|
/external/python/cpython3/Include/ |
D | objimpl.h | 340 #define PyObject_GC_New(type, typeobj) \ macro
|
/external/python/cpython2/Include/ |
D | objimpl.h | 328 #define PyObject_GC_New(type, typeobj) \ macro
|