Searched refs:PyObject_INIT (Results 1 – 14 of 14) sorted by relevance
/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/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() 1461 (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 | 152 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
|
D | object.c | 247 return PyObject_INIT(op, tp); in _PyObject_New()
|
D | classobject.c | 2259 (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/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/cpython2/PC/ |
D | _winreg.c | 669 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
|
/external/python/cpython2/Misc/ |
D | HISTORY | 7730 weakly referencable type in PyObject_INIT(), since most types are
|