Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dobjimpl.h184 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro
198 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\
/external/python/cpython3/Include/cpython/
Dobjimpl.h25 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro
/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.py478 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/
Dobject.c177 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()
Dtupleobject.c51 numfree[i], _PyObject_VAR_SIZE(&PyTuple_Type, i)); in _PyTuple_DebugMallocStats()
Dtypeobject.c1043 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.c2280 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()