Home
last modified time | relevance | path

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

12

/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
146 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) )
/external/python/cpython3/Objects/
Dmethodobject.c34 (void)PyObject_INIT(op, &PyCFunction_Type); in PyCFunction_NewEx()
Dclassobject.c58 (void)PyObject_INIT(im, &PyMethod_Type); in PyMethod_New()
Dcomplexobject.c231 (void)PyObject_INIT(op, &PyComplex_Type); in PyComplex_FromCComplex()
Dfloatobject.c127 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
Dobject.c258 return PyObject_INIT(op, tp); in _PyObject_New()
Dlongobject.c5488 (void)PyObject_INIT(v, &PyLong_Type); in _PyLong_Init()
Dtypeobject.c983 (void)PyObject_INIT(obj, type); in PyType_GenericAlloc()
Dunicodeobject.c1325 obj = PyObject_INIT(obj, &PyUnicode_Type); in PyUnicode_New()
/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/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.c462 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
/external/python/cpython3/Modules/
Dgcmodule.c1732 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
D_datetimemodule.c632 (void)PyObject_INIT(self, type); in time_alloc()
647 (void)PyObject_INIT(self, type); in datetime_alloc()
/external/python/cpython2/PC/
D_winreg.c669 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()

12