Home
last modified time | relevance | path

Searched refs:_PyObject_VAR_SIZE (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Include/
Dobjimpl.h164 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro
175 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\
/external/python/cpython2/Include/
Dobjimpl.h184 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro
198 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\
/external/python/cpython2/Tools/gdb/
Dlibpython.py448 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/
Dlibpython.py476 def _PyObject_VAR_SIZE(typeobj, nitems): function
477 if _PyObject_VAR_SIZE._type_size_t is None:
478 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t')
484 ).cast(_PyObject_VAR_SIZE._type_size_t)
485 _PyObject_VAR_SIZE._type_size_t = None
504 size = _PyObject_VAR_SIZE(typeobj, tsize)
/external/python/cpython3/Objects/
Dobject.c265 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_NewVar()
1065 size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GetDictPtr()
1255 size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GenericGetAttrWithDict()
Dtupleobject.c73 numfree[i], _PyObject_VAR_SIZE(&PyTuple_Type, i)); in _PyTuple_DebugMallocStats()
Dtypeobject.c966 const size_t size = _PyObject_VAR_SIZE(type, nitems+1); in PyType_GenericAlloc()
/external/python/cpython2/Modules/
Dgcmodule.c1530 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/
Dobject.c254 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()
Dtypeobject.c777 const size_t size = _PyObject_VAR_SIZE(type, nitems+1); in PyType_GenericAlloc()
/external/python/cpython3/Modules/
Dgcmodule.c1746 size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_GC_NewVar()
1756 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems); in _PyObject_GC_Resize()