Home
last modified time | relevance | path

Searched refs:PyObject_INIT (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython3/Include/cpython/
Dobjimpl.h76 #define PyObject_INIT(op, typeobj) \ macro
84 PyObject_INIT((PyObject *)op, typeobj); in _PyObject_INIT_VAR()
/external/python/cpython2/Include/
Dobjimpl.h163 #define PyObject_INIT(op, typeobj) \ macro
166 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) )
/external/python/cpython3/Include/
Dobjimpl.h143 # define PyObject_INIT(op, typeobj) \ macro
/external/python/cpython2/Objects/
Dmethodobject.c23 (void)PyObject_INIT(op, &PyCFunction_Type); in PyCFunction_NewEx()
Dintobject.c110 (void)PyObject_INIT(v, &PyInt_Type); in PyInt_FromLong()
1464 (void)PyObject_INIT(v, &PyInt_Type); in _PyInt_Init()
Dbufferobject.c218 b = (PyBufferObject *) PyObject_INIT(o, &PyBuffer_Type); in PyBuffer_New()
Dcomplexobject.c242 (void)PyObject_INIT(op, &PyComplex_Type); in PyComplex_FromCComplex()
Dfloatobject.c151 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
Dobject.c247 return PyObject_INIT(op, tp); in _PyObject_New()
Dclassobject.c2257 (void)PyObject_INIT(im, &PyMethod_Type); in PyMethod_New()
Dtypeobject.c794 (void)PyObject_INIT(obj, type); in PyType_GenericAlloc()
Dunicodeobject.c350 (void)PyObject_INIT(unicode, &PyUnicode_Type); in _PyUnicode_New()
/external/python/cpython3/Objects/
Dobject.c148 return PyObject_INIT(op, tp); in PyObject_Init()
169 PyObject_INIT(op, tp); in _PyObject_New()
Dcomplexobject.c238 (void)PyObject_INIT(op, &PyComplex_Type); in PyComplex_FromCComplex()
Dfloatobject.c128 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
Dtypeobject.c1060 (void)PyObject_INIT(obj, type); in PyType_GenericAlloc()
/external/python/cpython2/Modules/
Dgcmodule.c1523 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
Ddatetimemodule.c616 (void)PyObject_INIT(self, type); in time_alloc()
631 (void)PyObject_INIT(self, type); in datetime_alloc()
/external/python/cpython3/PC/
Dwinreg.c466 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a4.rst898 In the limited C API, ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` are
/external/python/cpython2/PC/
D_winreg.c669 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
/external/python/cpython3/Modules/
Dgcmodule.c2266 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
D_datetimemodule.c649 (void)PyObject_INIT(self, type); in time_alloc()
664 (void)PyObject_INIT(self, type); in datetime_alloc()
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1570 * :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`
1615 in :c:func:`PyObject_Init` (and its parallel macro ``PyObject_INIT``)
2039 :c:func:`PyObject_Init` and :c:func:`PyObject_INIT`.
2059 :c:func:`PyObject_Init` or :c:func:`PyObject_INIT`.
D3.9.rst1273 * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque"

12