Searched refs:PyObject_INIT (Results 1 – 25 of 29) sorted by relevance
12
/external/python/cpython3/Include/cpython/ |
D | objimpl.h | 76 #define PyObject_INIT(op, typeobj) \ macro 84 PyObject_INIT((PyObject *)op, typeobj); in _PyObject_INIT_VAR()
|
/external/python/cpython2/Include/ |
D | objimpl.h | 163 #define PyObject_INIT(op, typeobj) \ macro 166 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) )
|
/external/python/cpython3/Include/ |
D | objimpl.h | 143 # define PyObject_INIT(op, typeobj) \ macro
|
/external/python/cpython2/Objects/ |
D | methodobject.c | 23 (void)PyObject_INIT(op, &PyCFunction_Type); in PyCFunction_NewEx()
|
D | intobject.c | 110 (void)PyObject_INIT(v, &PyInt_Type); in PyInt_FromLong() 1464 (void)PyObject_INIT(v, &PyInt_Type); in _PyInt_Init()
|
D | bufferobject.c | 218 b = (PyBufferObject *) PyObject_INIT(o, &PyBuffer_Type); in PyBuffer_New()
|
D | complexobject.c | 242 (void)PyObject_INIT(op, &PyComplex_Type); in PyComplex_FromCComplex()
|
D | floatobject.c | 151 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
|
D | object.c | 247 return PyObject_INIT(op, tp); in _PyObject_New()
|
D | classobject.c | 2257 (void)PyObject_INIT(im, &PyMethod_Type); in PyMethod_New()
|
D | typeobject.c | 794 (void)PyObject_INIT(obj, type); in PyType_GenericAlloc()
|
D | unicodeobject.c | 350 (void)PyObject_INIT(unicode, &PyUnicode_Type); in _PyUnicode_New()
|
/external/python/cpython3/Objects/ |
D | object.c | 148 return PyObject_INIT(op, tp); in PyObject_Init() 169 PyObject_INIT(op, tp); in _PyObject_New()
|
D | complexobject.c | 238 (void)PyObject_INIT(op, &PyComplex_Type); in PyComplex_FromCComplex()
|
D | floatobject.c | 128 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
|
D | typeobject.c | 1060 (void)PyObject_INIT(obj, type); in PyType_GenericAlloc()
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 1523 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
|
D | datetimemodule.c | 616 (void)PyObject_INIT(self, type); in time_alloc() 631 (void)PyObject_INIT(self, type); in datetime_alloc()
|
/external/python/cpython3/PC/ |
D | winreg.c | 466 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a4.rst | 898 In the limited C API, ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` are
|
/external/python/cpython2/PC/ |
D | _winreg.c | 669 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 2266 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
|
D | _datetimemodule.c | 649 (void)PyObject_INIT(self, type); in time_alloc() 664 (void)PyObject_INIT(self, type); in datetime_alloc()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 1570 * :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`.
|
D | 3.9.rst | 1273 * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque"
|
12