Home
last modified time | relevance | path

Searched refs:PyObject_GC_NewVar (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Include/
Dobjimpl.h182 #define PyObject_GC_NewVar(type, typeobj, n) \ macro
/external/python/cpython3/Doc/c-api/
Dgcsupport.rst29 or :c:macro:`PyObject_GC_NewVar`.
60 .. c:macro:: PyObject_GC_NewVar(TYPE, typeobj, size)
137 :c:macro:`PyObject_GC_NewVar`.
Dtypeobj.rst656 :c:macro:`PyObject_GC_New` or :c:macro:`PyObject_GC_NewVar`.
/external/pytorch/torch/csrc/dynamo/
Dcpython_defs.c218 PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots); in THP_PyFrame_New_NoTrack()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c327 p = PyObject_GC_NewVar(CThunkObject, st->PyCThunk_Type, nargs); in CThunkObject_new()
/external/python/cpython3/Objects/
Dstructseq.c72 obj = PyObject_GC_NewVar(PyStructSequence, type, size); in PyStructSequence_New()
Dgenobject.c873 PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots); in make_gen()
944 PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, size); in gen_new_with_qualname()
Dtupleobject.c52 op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size); in tuple_alloc()
Dframeobject.c1883 PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots); in _PyFrame_New_NoTrack()
Dcodeobject.c679 co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size); in _PyCode_New()
Dmemoryobject.c649 PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim); in memory_alloc()
/external/python/cpython3/Modules/_sre/
Dsre.c1617 self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n); in _sre_compile_impl()
1716 self = PyObject_GC_NewVar(TemplateObject, module_state->Template_Type, n); in _sre_template_impl()
2720 match = PyObject_GC_NewVar(MatchObject, in pattern_new_match()
/external/python/cpython3/Doc/data/
Drefcounts.dat1704 PyObject_GC_NewVar:TYPE*::+1:
1705 PyObject_GC_NewVar::TYPE::
1706 PyObject_GC_NewVar:PyTypeObject*:type:0:
1707 PyObject_GC_NewVar:Py_ssize_t:size::
/external/python/cpython3/Doc/howto/
Disolating-extensions.rst450 call :c:func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar`::
454 TYPE *o = PyObject_GC_NewVar(TYPE, typeobj, size);
/external/python/cpython3/Python/
Dhamt.c525 node = PyObject_GC_NewVar( in hamt_node_bitmap_new()
1243 node = PyObject_GC_NewVar( in hamt_node_collision_new()
Doptimizer.c1059 _PyExecutorObject *res = PyObject_GC_NewVar(_PyExecutorObject, &_PyUOpExecutor_Type, size); in allocate_executor()
/external/python/cpython3/Doc/whatsnew/
D2.2.rst1084 * Use :c:func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar` to allocate
D3.8.rst2066 :c:func:`PyObject_GC_NewVar`, or any other custom allocator that uses
/external/python/cpython3/Misc/
DHISTORY24397 - use PyObject_GC_New or PyObject_GC_NewVar to allocate objects and