Searched refs:_PyObject_VAR_SIZE (Results 1 - 7 of 7) sorted by relevance
/third_party/python/Include/cpython/ |
H A D | objimpl.h | 7 /* _PyObject_VAR_SIZE returns the number of bytes (as size_t) allocated for a 18 # error "_PyObject_VAR_SIZE requires SIZEOF_VOID_P be a power of 2" 21 #define _PyObject_VAR_SIZE(typeobj, nitems) \ macro
|
/third_party/python/Tools/gdb/ |
H A D | libpython.py | 457 def _PyObject_VAR_SIZE(typeobj, nitems): function 458 if _PyObject_VAR_SIZE._type_size_t is None: 459 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t') 465 ).cast(_PyObject_VAR_SIZE._type_size_t) 466 _PyObject_VAR_SIZE._type_size_t = None 485 size = _PyObject_VAR_SIZE(typeobj, tsize)
|
/third_party/python/Objects/ |
H A D | tupleobject.c | 1269 _PyObject_VAR_SIZE(&PyTuple_Type, len)); in _PyTuple_DebugMallocStats()
|
H A D | object.c | 188 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_NewVar() 1078 size_t size = _PyObject_VAR_SIZE(tp, tsize); in _PyObject_DictPointer()
|
H A D | codeobject.c | 1860 Py_ssize_t res = _PyObject_VAR_SIZE(Py_TYPE(co), Py_SIZE(co)); in code_sizeof()
|
H A D | typeobject.c | 1129 const size_t size = _PyObject_VAR_SIZE(type, nitems+1); in _PyType_AllocNoTrack()
|
/third_party/python/Modules/ |
H A D | gcmodule.c | 2317 size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_GC_NewVar() 2329 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems); in _PyObject_GC_Resize()
|
Completed in 31 milliseconds