Searched refs:_PyObject_SIZE (Results 1 – 25 of 35) sorted by relevance
12
168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro194 (PyObject *) PyObject_MALLOC( _PyObject_SIZE(typeobj) ), (typeobj)) )
5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro
2326 res = _PyObject_SIZE(Py_TYPE(lz)); in product_sizeof()2660 res = _PyObject_SIZE(Py_TYPE(co)); in combinations_sizeof()2997 res = _PyObject_SIZE(Py_TYPE(co)); in cwr_sizeof()3343 res = _PyObject_SIZE(Py_TYPE(po)); in permutations_sizeof()
843 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
2298 PyObject *op = gc_alloc(_PyObject_SIZE(tp), presize); in _PyObject_GC_New()
2059 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode); in s_sizeof()
1528 res = _PyObject_SIZE(Py_TYPE(deque)); in deque_sizeof()
813 res = _PyObject_SIZE(Py_TYPE(self)); in bytesio_sizeof()
393 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
968 res = _PyObject_SIZE(Py_TYPE(self)); in bytesio_sizeof()
394 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()
1114 res = _PyObject_SIZE(Py_TYPE(deque)); in deque_sizeof()
1742 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode) * (self->s_len + 1); in s_sizeof()
1566 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * self->ob_descr->itemsize; in array_sizeof()
176 PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp)); in _PyObject_New()
2158 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()
1974 res = _PyObject_SIZE(Py_TYPE(so)); in set_sizeof()
244 op = (PyObject *) PyObject_MALLOC(_PyObject_SIZE(tp)); in _PyObject_New()
1990 res = _PyObject_SIZE(Py_TYPE(so)); in set_sizeof()