Searched refs:PyObject_INIT (Results 1 – 25 of 27) sorted by relevance
12
/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 146 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) )
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 34 (void)PyObject_INIT(op, &PyCFunction_Type); in PyCFunction_NewEx()
|
D | classobject.c | 58 (void)PyObject_INIT(im, &PyMethod_Type); in PyMethod_New()
|
D | complexobject.c | 231 (void)PyObject_INIT(op, &PyComplex_Type); in PyComplex_FromCComplex()
|
D | floatobject.c | 127 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
|
D | object.c | 258 return PyObject_INIT(op, tp); in _PyObject_New()
|
D | longobject.c | 5488 (void)PyObject_INIT(v, &PyLong_Type); in _PyLong_Init()
|
D | typeobject.c | 983 (void)PyObject_INIT(obj, type); in PyType_GenericAlloc()
|
D | unicodeobject.c | 1325 obj = PyObject_INIT(obj, &PyUnicode_Type); in PyUnicode_New()
|
/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/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 | 462 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 1732 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
|
D | _datetimemodule.c | 632 (void)PyObject_INIT(self, type); in time_alloc() 647 (void)PyObject_INIT(self, type); in datetime_alloc()
|
/external/python/cpython2/PC/ |
D | _winreg.c | 669 PyObject_INIT(op, &PyHKEY_Type); in PyHKEY_FromHKEY()
|
12