Searched refs:PyVarObject (Results 1 – 18 of 18) sorted by relevance
/third_party/python/Include/ |
D | objimpl.h | 122 PyAPI_FUNC(PyVarObject *) PyObject_InitVar(PyVarObject *, 132 PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, Py_ssize_t); 163 PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, Py_ssize_t); 170 PyAPI_FUNC(PyVarObject *) _PyObject_GC_NewVar(PyTypeObject *, Py_ssize_t);
|
D | object.h | 97 #define PyObject_VAR_HEAD PyVarObject ob_base; 118 } PyVarObject; typedef 121 #define _PyVarObject_CAST(op) ((PyVarObject*)(op)) 122 #define _PyVarObject_CAST_CONST(op) ((const PyVarObject*)(op)) 163 static inline void _Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) { in _Py_SET_SIZE()
|
/third_party/python/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 | 18 :c:type:`PyObject` and :c:type:`PyVarObject` types, which are defined, in turn, 35 .. c:type:: PyVarObject 60 PyVarObject ob_base; 62 See documentation of :c:type:`PyVarObject` above. 136 .. c:function:: Py_ssize_t Py_SIZE(const PyVarObject *o) 143 .. c:function:: void Py_SET_SIZE(PyVarObject *o, Py_ssize_t size) 162 :c:type:`PyVarObject` type, including the :attr:`ob_size` field.
|
D | gcsupport.rst | 69 .. c:function:: TYPE* PyObject_GC_Resize(TYPE, PyVarObject *op, Py_ssize_t newsize)
|
D | typeobj.rst | 478 The type object structure extends the :c:type:`PyVarObject` structure. The 544 PyVarObject Slots 547 .. c:member:: Py_ssize_t PyVarObject.ob_size
|
/third_party/python/Modules/ |
D | gcmodule.c | 2297 PyVarObject * 2301 PyVarObject *op; in _PyObject_GC_NewVar() 2308 op = (PyVarObject *) _PyObject_GC_Malloc(size); in _PyObject_GC_NewVar() 2316 PyVarObject * 2317 _PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems) in _PyObject_GC_Resize() 2322 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_GC_Resize() 2328 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_GC_Resize() 2329 op = (PyVarObject *) FROM_GC(g); in _PyObject_GC_Resize()
|
D | arraymodule.c | 2586 view->shape = &((PyVarObject*)self)->ob_size; in array_buffer_getbuf()
|
/third_party/boost/boost/python/detail/ |
D | wrap_python.hpp | 226 # define Py_SIZE(o) (((PyVarObject*)(o))->ob_size)
|
/third_party/python/Objects/ |
D | object.c | 169 PyVarObject * 170 PyObject_InitVar(PyVarObject *op, PyTypeObject *tp, Py_ssize_t size) in PyObject_InitVar() 173 return (PyVarObject *) PyErr_NoMemory(); in PyObject_InitVar() 191 PyVarObject * 194 PyVarObject *op; in _PyObject_NewVar() 196 op = (PyVarObject *) PyObject_Malloc(size); in _PyObject_NewVar() 198 return (PyVarObject *)PyErr_NoMemory(); in _PyObject_NewVar()
|
D | bytesobject.c | 74 _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, 0); in bytes_create_empty_string_singleton() 130 _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size); in _PyBytes_FromSize() 206 _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size); in PyBytes_FromString() 1470 _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size); in bytes_repeat()
|
D | longobject.c | 140 _PyObject_InitVar((PyVarObject*)result, &PyLong_Type, size); in _PyLong_New()
|
D | typeobject.c | 1170 _PyObject_InitVar((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
|
/third_party/python/Include/internal/ |
D | pycore_object.h | 52 _PyObject_InitVar(PyVarObject *op, PyTypeObject *typeobj, Py_ssize_t size) in _PyObject_InitVar()
|
/third_party/python/Misc/ |
D | gdbinit | 60 set $__sz = ((PyVarObject *)$__co->co_lnotab)->ob_size/2
|
D | stable_abi.txt | 17 struct PyVarObject
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 1656 PyObject_GC_Resize:PyVarObject*:op:0: 1735 PyObject_InitVar:PyVarObject*::0: 1736 PyObject_InitVar:PyVarObject*:op:0: 3040 _PyObject_NewVar:PyVarObject*::+1:
|
D | stable_abi.dat | 764 type,PyVarObject,3.2,
|