Home
last modified time | relevance | path

Searched refs:PyObject_INIT_VAR (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Include/cpython/
Dobjimpl.h88 #define PyObject_INIT_VAR(op, typeobj, size) \ macro
/external/python/cpython3/Include/
Dobjimpl.h145 # define PyObject_INIT_VAR(op, typeobj, size) \ macro
/external/python/cpython2/Include/
Dobjimpl.h165 #define PyObject_INIT_VAR(op, typeobj, size) \ macro
/external/python/cpython3/Objects/
Dobject.c159 return PyObject_INIT_VAR(op, tp, size); in PyObject_InitVar()
181 return PyObject_INIT_VAR(op, tp, nitems); in _PyObject_NewVar()
Dbytesobject.c84 (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()
Dlongobject.c265 return (PyLongObject*)PyObject_INIT_VAR(result, &PyLong_Type, size); in _PyLong_New()
Dtypeobject.c1063 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
/external/python/cpython2/Objects/
Dbytesobject.c88 (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()
Dstringobject.c91 (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()
Dobject.c258 return PyObject_INIT_VAR(op, tp, nitems); in _PyObject_NewVar()
Dtypeobject.c796 (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems); in PyType_GenericAlloc()
/external/python/cpython2/Modules/
Dgcmodule.c1533 op = PyObject_INIT_VAR(op, tp, nitems); in _PyObject_GC_NewVar()
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a4.rst898 In the limited C API, ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` are
D3.8.0a1.rst8800 :c:func:`Py_XDECREF`, :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`.
/external/python/cpython3/Modules/
Dgcmodule.c2283 op = PyObject_INIT_VAR(op, tp, nitems); in _PyObject_GC_NewVar()
/external/python/cpython3/Doc/whatsnew/
D3.9.rst1273 * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque"
D3.8.rst1570 * :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`