/third_party/python/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() 490 anextawaitableobject *anext = PyObject_GC_New( in PyAnextAwaitable_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 | 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 | genobject.c | 834 PyGenObject *gen = PyObject_GC_New(PyGenObject, type); in gen_new_with_qualname() 953 PyCoroWrapper *cw = PyObject_GC_New(PyCoroWrapper, &_PyCoroWrapper_Type); in coro_await() 1730 o = PyObject_GC_New(PyAsyncGenASend, &_PyAsyncGenASend_Type); in async_gen_asend_new() 1842 o = PyObject_GC_New(_PyAsyncGenWrappedValue, in _PyAsyncGenValueWrapperNew() 2128 o = PyObject_GC_New(PyAsyncGenAThrow, &_PyAsyncGenAThrow_Type); in async_gen_athrow_new()
|
D | descrobject.c | 1223 mappingproxy = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type); in mappingproxy_new_impl() 1240 pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type); in PyDictProxy_New() 1446 wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type); in PyWrapper_New()
|
D | unionobject.c | 486 unionobject *result = PyObject_GC_New(unionobject, &_PyUnion_Type); in make_union()
|
D | sliceobject.c | 134 obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
|
/third_party/python/Include/ |
D | objimpl.h | 184 #define PyObject_GC_New(type, typeobj) \ macro
|
/third_party/python/Doc/c-api/ |
D | gcsupport.rst | 30 #. The memory for the object must be allocated using :c:func:`PyObject_GC_New` 57 .. c:function:: TYPE* PyObject_GC_New(TYPE, PyTypeObject *type) 114 Releases memory allocated to an object using :c:func:`PyObject_GC_New` or
|
/third_party/python/Python/ |
D | context.c | 357 ctx = PyObject_GC_New(PyContext, &PyContext_Type); in _context_alloc() 815 PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type); in contextvar_new() 1218 PyContextToken *tok = PyObject_GC_New(PyContextToken, &PyContextToken_Type); in token_new()
|
D | hamt.c | 1627 PyHamtNode_Array *node = PyObject_GC_New( in hamt_node_array_new() 2457 o = PyObject_GC_New(PyHamtObject, &_PyHamt_Type); in hamt_alloc() 2584 PyHamtIterator *it = PyObject_GC_New(PyHamtIterator, type); in hamt_baseiter_new()
|
/third_party/python/Modules/ |
D | xxlimited_35.c | 29 self = PyObject_GC_New(XxoObject, (PyTypeObject*)Xxo_Type); in newXxoObject()
|
D | xxlimited.c | 88 self = PyObject_GC_New(XxoObject, (PyTypeObject*)state->Xxo_Type); in newXxoObject()
|
D | _operator.c | 979 ig = PyObject_GC_New(itemgetterobject, (PyTypeObject *) state->itemgetter_type); in itemgetter_new() 1250 ag = PyObject_GC_New(attrgetterobject, (PyTypeObject *)state->attrgetter_type); in attrgetter_new() 1505 mc = PyObject_GC_New(methodcallerobject, (PyTypeObject *)state->methodcaller_type); in methodcaller_new()
|
D | sha256module.c | 385 SHAobject *sha = (SHAobject *)PyObject_GC_New(SHAobject, in newSHA224object() 394 SHAobject *sha = (SHAobject *)PyObject_GC_New(SHAobject, in newSHA256object()
|
D | sha512module.c | 441 SHAobject *sha = (SHAobject *)PyObject_GC_New(SHAobject, st->sha384_type); in newSHA384object() 449 SHAobject *sha = (SHAobject *)PyObject_GC_New(SHAobject, st->sha512_type); in newSHA512object()
|
D | _dbmmodule.c | 68 dbmobject *dp = PyObject_GC_New(dbmobject, state->dbm_type); in newdbmobject()
|
D | sha1module.c | 313 SHA1object *sha = (SHA1object *)PyObject_GC_New(SHA1object, st->sha1_type); in newSHA1object()
|
D | _gdbmmodule.c | 77 gdbmobject *dp = PyObject_GC_New(gdbmobject, state->gdbm_type); in newgdbmobject()
|
D | _csv.c | 1013 ReaderObj * self = PyObject_GC_New( in csv_reader() 1438 WriterObj * self = PyObject_GC_New(WriterObj, module_state->writer_type); in csv_writer()
|
D | _functoolsmodule.c | 577 result = PyObject_GC_New(keyobject, Py_TYPE(ko)); in keyobject_call() 639 object = PyObject_GC_New(keyobject, state->keyobject_type); in functools_cmp_to_key()
|
D | md5module.c | 336 MD5object *md5 = (MD5object *)PyObject_GC_New(MD5object, st->md5_type); in newMD5object()
|
/third_party/python/Modules/_sqlite/ |
D | statement.c | 75 pysqlite_Statement *self = PyObject_GC_New(pysqlite_Statement, in pysqlite_statement_create()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 105 PyDescriptorPool* cpool = PyObject_GC_New( in _CreateDescriptorPool()
|