/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()
|
D | funcobject.c | 12 PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, in PyFunction_New()
|
D | classobject.c | 115 op = PyObject_GC_New(PyClassObject, &PyClass_Type); in PyClass_New() 536 inst = PyObject_GC_New(PyInstanceObject, &PyInstance_Type); in PyInstance_NewRaw() 2263 im = PyObject_GC_New(PyMethodObject, &PyMethod_Type); in PyMethod_New()
|
D | dictobject.c | 277 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in PyDict_New() 2502 di = PyObject_GC_New(dictiterobject, itertype); in dictiter_new() 2835 dv = PyObject_GC_New(dictviewobject, type); in dictview_new()
|
D | listobject.c | 142 op = PyObject_GC_New(PyListObject, &PyList_Type); in PyList_New() 2877 it = PyObject_GC_New(listiterobject, &PyListIter_Type); in list_iter() 2994 it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type); in list_reversed()
|
D | weakrefobject.c | 36 result = PyObject_GC_New(PyWeakReference, &_PyWeakref_RefType); in new_weakref()
|
D | tupleobject.c | 1032 it = PyObject_GC_New(tupleiterobject, &PyTupleIter_Type); in tuple_iter()
|
/external/python/cpython2/Misc/ |
D | pymemcompat.h | 78 #define PyObject_GC_New PyObject_New macro
|
/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/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 | 926 ReaderObj * self = PyObject_GC_New(ReaderObj, &Reader_Type); in csv_reader() 1360 WriterObj * self = PyObject_GC_New(WriterObj, &Writer_Type); in csv_writer()
|
D | itertoolsmodule.c | 199 igo = PyObject_GC_New(_grouperobject, &_grouper_type); in _grouper_create() 349 tdo = PyObject_GC_New(teedataobject, &teedataobject_type); in teedataobject_new() 517 newto = PyObject_GC_New(teeobject, &tee_type); in tee_copy() 544 to = PyObject_GC_New(teeobject, &tee_type); in tee_fromiterable()
|
D | _collectionsmodule.c | 1251 it = PyObject_GC_New(dequeiterobject, &dequeiter_type); in deque_iter() 1361 it = PyObject_GC_New(dequeiterobject, &dequereviter_type); in deque_reviter()
|
D | pyexpat.c | 1076 new_parser = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in xmlparse_ExternalEntityParserCreate() 1288 self = PyObject_GC_New(xmlparseobject, &Xmlparsetype); in newxmlparseobject()
|
D | arraymodule.c | 2209 it = PyObject_GC_New(arrayiterobject, &PyArrayIter_Type); in array_iter()
|
D | cPickle.c | 3050 self = PyObject_GC_New(Picklerobject, &Picklertype); in newPicklerobject() 5490 if (!( self = PyObject_GC_New(Unpicklerobject, &Unpicklertype))) in newUnpicklerobject()
|
/external/python/cpython2/Include/ |
D | objimpl.h | 313 #define PyObject_GC_New(type, typeobj) \ macro
|
/external/python/cpython2/Python/ |
D | traceback.c | 92 tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type); in newtracebackobject()
|