/external/python/cpython2/Include/ |
D | objimpl.h | 151 PyAPI_FUNC(PyVarObject *) PyObject_InitVar(PyVarObject *, 154 PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, Py_ssize_t); 198 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\ 244 PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, Py_ssize_t); 246 ( (type *) _PyObject_GC_Resize((PyVarObject *)(op), (n)) ) 323 PyAPI_FUNC(PyVarObject *) _PyObject_GC_NewVar(PyTypeObject *, Py_ssize_t);
|
D | object.h | 112 } PyVarObject; typedef 116 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
|
/external/python/cpython3/Include/ |
D | objimpl.h | 131 PyAPI_FUNC(PyVarObject *) PyObject_InitVar(PyVarObject *, 134 PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, Py_ssize_t); 175 (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ),\ 246 PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, Py_ssize_t); 248 ( (type *) _PyObject_GC_Resize((PyVarObject *)(op), (n)) ) 335 PyAPI_FUNC(PyVarObject *) _PyObject_GC_NewVar(PyTypeObject *, Py_ssize_t);
|
D | object.h | 98 #define PyObject_VAR_HEAD PyVarObject ob_base; 115 } PyVarObject; typedef 119 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
|
/external/python/cpython3/Doc/c-api/ |
D | allocation.rst | 12 .. c:function:: PyVarObject* _PyObject_NewVar(PyTypeObject *type, Py_ssize_t size) 24 .. c:function:: PyVarObject* PyObject_InitVar(PyVarObject *op, PyTypeObject *type, Py_ssize_t size)
|
D | structures.rst | 14 :c:type:`PyObject` and :c:type:`PyVarObject` types, which are defined, in turn, 31 .. c:type:: PyVarObject 56 PyVarObject ob_base; 58 See documentation of :c:type:`PyVarObject` above. 83 (((PyVarObject*)(o))->ob_size) 98 :c:type:`PyVarObject` type, including the :attr:`ob_size` field.
|
D | gcsupport.rst | 49 .. c:function:: TYPE* PyObject_GC_Resize(TYPE, PyVarObject *op, Py_ssize_t newsize)
|
D | typeobj.rst | 35 The type object structure extends the :c:type:`PyVarObject` structure. The 89 .. c:member:: Py_ssize_t PyVarObject.ob_size
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 1527 PyVarObject * 1531 PyVarObject *op = (PyVarObject *) _PyObject_GC_Malloc(size); in _PyObject_GC_NewVar() 1537 PyVarObject * 1538 _PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems) in _PyObject_GC_Resize() 1544 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_GC_Resize() 1547 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_GC_Resize() 1548 op = (PyVarObject *) FROM_GC(g); in _PyObject_GC_Resize()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 1736 PyVarObject * 1740 PyVarObject *op; in _PyObject_GC_NewVar() 1747 op = (PyVarObject *) _PyObject_GC_Malloc(size); in _PyObject_GC_NewVar() 1753 PyVarObject * 1754 _PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems) in _PyObject_GC_Resize() 1760 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_GC_Resize() 1763 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_GC_Resize() 1764 op = (PyVarObject *) FROM_GC(g); in _PyObject_GC_Resize()
|
/external/python/cpython2/Doc/c-api/ |
D | allocation.rst | 12 .. c:function:: PyVarObject* _PyObject_NewVar(PyTypeObject *type, Py_ssize_t size) 31 .. c:function:: PyVarObject* PyObject_InitVar(PyVarObject *op, PyTypeObject *type, Py_ssize_t size)
|
D | structures.rst | 14 :c:type:`PyObject` and :c:type:`PyVarObject` types, which are defined, in turn, 29 .. c:type:: PyVarObject 37 :c:type:`PyVarObject`: 61 :c:type:`PyVarObject` type; it is used when declaring new types which 98 (((PyVarObject*)(o))->ob_size) 115 :c:type:`PyVarObject` type, including the :attr:`ob_size` field.
|
D | gcsupport.rst | 56 .. c:function:: TYPE* PyObject_GC_Resize(TYPE, PyVarObject *op, Py_ssize_t newsize)
|
D | typeobj.rst | 35 The type object structure extends the :c:type:`PyVarObject` structure. The 95 .. c:member:: Py_ssize_t PyVarObject.ob_size
|
/external/python/cpython3/Objects/ |
D | object.c | 239 PyVarObject * 240 PyObject_InitVar(PyVarObject *op, PyTypeObject *tp, Py_ssize_t size) in PyObject_InitVar() 243 return (PyVarObject *) PyErr_NoMemory(); in PyObject_InitVar() 261 PyVarObject * 264 PyVarObject *op; in _PyObject_NewVar() 266 op = (PyVarObject *) PyObject_MALLOC(size); in _PyObject_NewVar() 268 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_NewVar() 1062 tsize = ((PyVarObject *)obj)->ob_size; in _PyObject_GetDictPtr() 1252 tsize = ((PyVarObject *)obj)->ob_size; in _PyObject_GenericGetAttrWithDict()
|
D | typeobject.c | 985 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
|
/external/python/cpython2/Objects/ |
D | object.c | 228 PyVarObject * 229 PyObject_InitVar(PyVarObject *op, PyTypeObject *tp, Py_ssize_t size) in PyObject_InitVar() 232 return (PyVarObject *) PyErr_NoMemory(); in PyObject_InitVar() 250 PyVarObject * 253 PyVarObject *op; in _PyObject_NewVar() 255 op = (PyVarObject *) PyObject_MALLOC(size); in _PyObject_NewVar() 257 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_NewVar() 1296 tsize = ((PyVarObject *)obj)->ob_size; in _PyObject_GetDictPtr() 1418 tsize = ((PyVarObject *)obj)->ob_size; in _PyObject_GenericGetAttrWithDict()
|
D | typeobject.c | 796 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
|
/external/python/cpython3/Misc/ |
D | gdbinit | 54 set $__sz = ((PyVarObject *)$__co->co_lnotab)->ob_size/2
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1625 PyObject_GC_Resize:PyVarObject*:op:0: 1700 PyObject_InitVar:PyVarObject*::0: 1701 PyObject_InitVar:PyVarObject*:op:0: 3018 _PyObject_NewVar:PyVarObject*::+1:
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 998 PyObject_InitVar:PyVarObject*::0: 999 PyObject_InitVar:PyVarObject*:op:0:
|