Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dobjimpl.h5 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) macro
/third_party/python/Modules/_io/
Dbytesio.c968 res = _PyObject_SIZE(Py_TYPE(self)); in bytesio_sizeof()
Dbufferedio.c394 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
/third_party/python/Modules/
Ditertoolsmodule.c2326 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()
Dmmapmodule.c843 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
Dgcmodule.c2298 PyObject *op = gc_alloc(_PyObject_SIZE(tp), presize); in _PyObject_GC_New()
D_struct.c2059 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode); in s_sizeof()
D_collectionsmodule.c1528 res = _PyObject_SIZE(Py_TYPE(deque)); in deque_sizeof()
Darraymodule.c1783 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * self->ob_descr->itemsize; in array_array___sizeof___impl()
D_pickle.c4620 res = _PyObject_SIZE(Py_TYPE(self)); in _pickle_Pickler___sizeof___impl()
7127 res = _PyObject_SIZE(Py_TYPE(self)); in _pickle_Unpickler___sizeof___impl()
D_elementtree.c906 Py_ssize_t result = _PyObject_SIZE(Py_TYPE(self)); in _elementtree_Element___sizeof___impl()
/third_party/python/Objects/
Dobject.c176 PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp)); in _PyObject_New()
Dbytearrayobject.c2158 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()
Dsetobject.c1974 res = _PyObject_SIZE(Py_TYPE(so)); in set_sizeof()
Dlistobject.c2836 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * sizeof(void*); in list___sizeof___impl()
Ddictobject.c3577 res = _PyObject_SIZE(Py_TYPE(mp)); in _PyDict_SizeOf()
/third_party/python/Modules/_decimal/
D_decimal.c4820 res = _PyObject_SIZE(Py_TYPE(v)); in dec_sizeof()