Searched refs:_PyObject_VAR_SIZE (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Include/ |
D | objimpl.h | 184 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro 198 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\
|
/external/python/cpython3/Include/cpython/ |
D | objimpl.h | 25 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 448 def _PyObject_VAR_SIZE(typeobj, nitems): function 449 if _PyObject_VAR_SIZE._type_size_t is None: 450 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t') 456 ).cast(_PyObject_VAR_SIZE._type_size_t) 457 _PyObject_VAR_SIZE._type_size_t = None 476 size = _PyObject_VAR_SIZE(typeobj, tsize)
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 478 def _PyObject_VAR_SIZE(typeobj, nitems): function 479 if _PyObject_VAR_SIZE._type_size_t is None: 480 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t') 486 ).cast(_PyObject_VAR_SIZE._type_size_t) 487 _PyObject_VAR_SIZE._type_size_t = None 506 size = _PyObject_VAR_SIZE(typeobj, tsize)
|
/external/python/cpython3/Objects/ |
D | object.c | 177 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_NewVar() 1043 size_t size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GetDictPtr() 1219 size_t size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GenericGetAttrWithDict()
|
D | tupleobject.c | 51 numfree[i], _PyObject_VAR_SIZE(&PyTuple_Type, i)); in _PyTuple_DebugMallocStats()
|
D | typeobject.c | 1043 const size_t size = _PyObject_VAR_SIZE(type, nitems+1); in PyType_GenericAlloc()
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 1530 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_GC_NewVar() 1540 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems); in _PyObject_GC_Resize()
|
/external/python/cpython2/Objects/ |
D | object.c | 254 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_NewVar() 1299 size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GetDictPtr() 1421 size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GenericGetAttrWithDict()
|
D | typeobject.c | 777 const size_t size = _PyObject_VAR_SIZE(type, nitems+1); in PyType_GenericAlloc()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 2280 size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_GC_NewVar() 2290 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems); in _PyObject_GC_Resize()
|