Home
last modified time | relevance | path

Searched refs:_PyObject_VAR_SIZE (Results 1 – 5 of 5) 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/cpython2/Tools/gdb/
Dlibpython.py444 def _PyObject_VAR_SIZE(typeobj, nitems): function
445 if _PyObject_VAR_SIZE._type_size_t is None:
446 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t')
452 ).cast(_PyObject_VAR_SIZE._type_size_t)
453 _PyObject_VAR_SIZE._type_size_t = None
472 size = _PyObject_VAR_SIZE(typeobj, tsize)
/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()
1294 size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GetDictPtr()
1416 size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_GenericGetAttrWithDict()
Dtypeobject.c777 const size_t size = _PyObject_VAR_SIZE(type, nitems+1); in PyType_GenericAlloc()