Searched refs:_PyObject_SIZE (Results 1 – 17 of 17) sorted by relevance
5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro
968 res = _PyObject_SIZE(Py_TYPE(self)); in bytesio_sizeof()
394 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
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()
1783 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * self->ob_descr->itemsize; in array_array___sizeof___impl()
4620 res = _PyObject_SIZE(Py_TYPE(self)); in _pickle_Pickler___sizeof___impl()7127 res = _PyObject_SIZE(Py_TYPE(self)); in _pickle_Unpickler___sizeof___impl()
906 Py_ssize_t result = _PyObject_SIZE(Py_TYPE(self)); in _elementtree_Element___sizeof___impl()
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()
2836 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * sizeof(void*); in list___sizeof___impl()
3577 res = _PyObject_SIZE(Py_TYPE(mp)); in _PyDict_SizeOf()
4820 res = _PyObject_SIZE(Py_TYPE(v)); in dec_sizeof()