Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dobjimpl.h168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro
194 (PyObject *) PyObject_MALLOC( _PyObject_SIZE(typeobj) ), (typeobj)) )
/external/python/cpython2/Modules/_io/
Dbytesio.c812 res = _PyObject_SIZE(Py_TYPE(self)); in bytesio_sizeof()
Dbufferedio.c393 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
/external/python/cpython2/Modules/
Dgcmodule.c1521 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
Dmmapmodule.c652 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
D_struct.c1738 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode) * (self->s_len + 1); in s_sizeof()
D_collectionsmodule.c1104 res = _PyObject_SIZE(Py_TYPE(deque)); in deque_sizeof()
Darraymodule.c1566 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * self->ob_descr->itemsize; in array_sizeof()
Dparsermodule.c723 res = _PyObject_SIZE(Py_TYPE(st)) + _PyNode_SizeOf(st->st_node); in parser_sizeof()
/external/python/cpython2/Objects/
Dobject.c244 op = (PyObject *) PyObject_MALLOC(_PyObject_SIZE(tp)); in _PyObject_New()
Dsetobject.c1985 res = _PyObject_SIZE(Py_TYPE(so)); in set_sizeof()
Dbytearrayobject.c2790 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof()
Ddictobject.c2185 res = _PyObject_SIZE(Py_TYPE(mp)); in dict_sizeof()
Dlistobject.c2475 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * sizeof(void*); in list_sizeof()