Searched refs:_PyObject_SIZE (Results 1 – 14 of 14) sorted by relevance
168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro194 (PyObject *) PyObject_MALLOC( _PyObject_SIZE(typeobj) ), (typeobj)) )
812 res = _PyObject_SIZE(Py_TYPE(self)); in bytesio_sizeof()
393 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
1521 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
652 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
1738 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode) * (self->s_len + 1); in s_sizeof()
1104 res = _PyObject_SIZE(Py_TYPE(deque)); in deque_sizeof()
1566 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * self->ob_descr->itemsize; in array_sizeof()
723 res = _PyObject_SIZE(Py_TYPE(st)) + _PyNode_SizeOf(st->st_node); in parser_sizeof()
244 op = (PyObject *) PyObject_MALLOC(_PyObject_SIZE(tp)); in _PyObject_New()
1985 res = _PyObject_SIZE(Py_TYPE(so)); in set_sizeof()
2790 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof()
2185 res = _PyObject_SIZE(Py_TYPE(mp)); in dict_sizeof()
2475 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * sizeof(void*); in list_sizeof()