Home
last modified time | relevance | path

Searched refs:_PyObject_SIZE (Results 1 – 18 of 18) 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.c407 res = _PyObject_SIZE(Py_TYPE(self)); in buffered_sizeof()
/third_party/python/Modules/
Ditertoolsmodule.c2327 res = _PyObject_SIZE(Py_TYPE(lz)); in product_sizeof()
2661 res = _PyObject_SIZE(Py_TYPE(co)); in combinations_sizeof()
2998 res = _PyObject_SIZE(Py_TYPE(co)); in cwr_sizeof()
3344 res = _PyObject_SIZE(Py_TYPE(po)); in permutations_sizeof()
Dmmapmodule.c773 res = _PyObject_SIZE(Py_TYPE(self)); in mmap__sizeof__method()
Dgcmodule.c2289 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
D_struct.c2041 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode); in s_sizeof()
D_collectionsmodule.c1531 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.c4608 res = _PyObject_SIZE(Py_TYPE(self)); in _pickle_Pickler___sizeof___impl()
7125 res = _PyObject_SIZE(Py_TYPE(self)); in _pickle_Unpickler___sizeof___impl()
D_elementtree.c918 Py_ssize_t result = _PyObject_SIZE(Py_TYPE(self)); in _elementtree_Element___sizeof___impl()
/third_party/python/Objects/
Dcodeobject.c678 Py_ssize_t res = _PyObject_SIZE(Py_TYPE(co)); in code_sizeof()
Dobject.c183 PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp)); in _PyObject_New()
Dbytearrayobject.c2187 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()
Dsetobject.c1935 res = _PyObject_SIZE(Py_TYPE(so)); in set_sizeof()
Dlistobject.c2778 res = _PyObject_SIZE(Py_TYPE(self)) + self->allocated * sizeof(void*); in list___sizeof___impl()
Ddictobject.c3279 res = _PyObject_SIZE(Py_TYPE(mp)); in _PyDict_SizeOf()
/third_party/python/Modules/_decimal/
D_decimal.c4663 res = _PyObject_SIZE(Py_TYPE(v)); in dec_sizeof()