Searched refs:PyObject_INIT_VAR (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython3/Include/cpython/ |
D | objimpl.h | 88 #define PyObject_INIT_VAR(op, typeobj, size) \ macro
|
/external/python/cpython3/Include/ |
D | objimpl.h | 145 # define PyObject_INIT_VAR(op, typeobj, size) \ macro
|
/external/python/cpython2/Include/ |
D | objimpl.h | 165 #define PyObject_INIT_VAR(op, typeobj, size) \ macro
|
/external/python/cpython3/Objects/ |
D | object.c | 159 return PyObject_INIT_VAR(op, tp, size); in PyObject_InitVar() 181 return PyObject_INIT_VAR(op, tp, nitems); in _PyObject_NewVar()
|
D | bytesobject.c | 84 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in _PyBytes_FromSize() 153 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in PyBytes_FromString() 1438 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in bytes_repeat()
|
D | longobject.c | 265 return (PyLongObject*)PyObject_INIT_VAR(result, &PyLong_Type, size); in _PyLong_New()
|
D | typeobject.c | 1063 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 88 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in _PyBytes_FromSize() 166 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in PyBytes_FromString() 1510 (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); in bytes_repeat()
|
D | stringobject.c | 91 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in PyString_FromStringAndSize() 146 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in PyString_FromString() 1070 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in string_concat() 1112 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in string_repeat()
|
D | object.c | 258 return PyObject_INIT_VAR(op, tp, nitems); in _PyObject_NewVar()
|
D | typeobject.c | 796 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 1533 op = PyObject_INIT_VAR(op, tp, nitems); in _PyObject_GC_NewVar()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a4.rst | 898 In the limited C API, ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` are
|
D | 3.8.0a1.rst | 8800 :c:func:`Py_XDECREF`, :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`.
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 2283 op = PyObject_INIT_VAR(op, tp, nitems); in _PyObject_GC_NewVar()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.9.rst | 1273 * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque"
|
D | 3.8.rst | 1570 * :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`
|