Searched refs:_PyObject_SIZE (Results 1 – 25 of 33) sorted by relevance
12
168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro194 (PyObject *) PyObject_MALLOC( _PyObject_SIZE(typeobj) ), (typeobj)) )
9 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro
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()
408 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
2192 res = _PyObject_SIZE(Py_TYPE(lz)); in product_sizeof()2521 res = _PyObject_SIZE(Py_TYPE(co)); in combinations_sizeof()2853 res = _PyObject_SIZE(Py_TYPE(co)); in cwr_sizeof()3194 res = _PyObject_SIZE(Py_TYPE(po)); in permutations_sizeof()
365 res = _PyObject_SIZE(Py_TYPE(st)) + _PyNode_SizeOf(st->st_node); in parser_sizeof()
749 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
2264 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
2020 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode); in s_sizeof()
1509 res = _PyObject_SIZE(Py_TYPE(deque)); in deque_sizeof()
1741 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * self->ob_descr->itemsize; in array_array___sizeof___impl()
1521 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
652 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
1742 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode) * (self->s_len + 1); in s_sizeof()
1114 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()
593 Py_ssize_t res = _PyObject_SIZE(Py_TYPE(co)); in code_sizeof()
165 PyObject *op = (PyObject *) PyObject_MALLOC(_PyObject_SIZE(tp)); in _PyObject_New()
2195 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()
1938 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()
2472 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * sizeof(void*); in list_sizeof()