Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dobjimpl.h163 #define PyObject_INIT(op, typeobj) \ macro
166 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) )
/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()
1461 (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.c152 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
Dobject.c247 return PyObject_INIT(op, tp); in _PyObject_New()
Dclassobject.c2259 (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/cpython2/PC/
D_winreg.c669 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
/external/python/cpython2/Misc/
DHISTORY7730 weakly referencable type in PyObject_INIT(), since most types are