/external/python/cpython3/Doc/includes/ |
D | sublist.c | 25 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0) in SubList_init() 38 .tp_init = (initproc) SubList_init,
|
D | typestruct.h | 63 initproc tp_init; member
|
D | custom2.c | 106 .tp_init = (initproc) Custom_init,
|
D | custom3.c | 156 .tp_init = (initproc) Custom_init,
|
D | custom4.c | 168 .tp_init = (initproc) Custom_init,
|
/external/python/cpython2/Modules/ |
D | xxsubtype.c | 85 if (PyList_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamlist_init() 182 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
|
D | threadmodule.c | 336 if (type->tp_init == PyBaseObject_Type.tp_init) { in local_new() 451 if (Py_TYPE(self)->tp_init != PyBaseObject_Type.tp_init && in _ldict() 452 Py_TYPE(self)->tp_init((PyObject*)self, in _ldict()
|
/external/python/cpython3/Modules/ |
D | xxsubtype.c | 85 if (PyList_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamlist_init() 182 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
|
D | _threadmodule.c | 745 if (type->tp_init == PyBaseObject_Type.tp_init) { in local_new() 865 if (Py_TYPE(self)->tp_init != PyBaseObject_Type.tp_init && in _ldict() 866 Py_TYPE(self)->tp_init((PyObject*)self, in _ldict()
|
/external/python/cpython2/Doc/includes/ |
D | shoddy.c | 26 if (PyList_Type.tp_init((PyObject *)self, args, kwds) < 0) in Shoddy_init()
|
D | typestruct.h | 65 initproc tp_init; member
|
/external/tensorflow/tensorflow/python/util/ |
D | fast_module_type.cc | 44 if (PyModule_Type.tp_init(reinterpret_cast<PyObject *>(self), args, kwds) < 0) in FastModule_init() 238 obj.tp_init = reinterpret_cast<initproc>(FastModule_init); in __anona71ec8820102()
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 61 offsetof(PyHeapTypeObject, ht_type.tp_init),
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 331 arguments, leaving the argument handling to initializer (a.k.a. ``tp_init`` 335 ``tp_new`` shouldn't call ``tp_init`` explicitly, as the interpreter 392 by filling the :c:member:`~PyTypeObject.tp_init` slot. :: 394 .tp_init = (initproc) Custom_init, 396 The :c:member:`~PyTypeObject.tp_init` slot is exposed in Python as the 401 Unlike the ``tp_new`` handler, there is no guarantee that ``tp_init`` 616 We also need to update the :c:member:`~PyTypeObject.tp_init` handler to only 838 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0)
|
/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 467 type->tp_init = pybind11_object_init; in make_object_base_type() 663 type->tp_init = pybind11_object_init; in make_new_python_type()
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 1497 VersionInfoType.tp_init = NULL; in _PySys_Init() 1505 FlagsType.tp_init = NULL; in _PySys_Init() 1514 WindowsVersionType.tp_init = NULL; in _PySys_Init()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 257 initproc tp_init; member
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.c | 115 if (((PyTypeObject *)PyExc_IOError)->tp_init( in blockingioerror_init()
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 515 …:c:member:`~PyTypeObject.tp_dictoffset`, :c:member:`~PyTypeObject.tp_init`, :c:member:`~PyTypeObje… 935 .. c:member:: initproc PyTypeObject.tp_init 946 int tp_init(PyObject *self, PyObject *args, PyObject *kwds) 952 The :c:member:`~PyTypeObject.tp_init` function, if not *NULL*, is called when an instance is 956 …:c:member:`~PyTypeObject.tp_init` function is called; if :c:member:`~PyTypeObject.tp_new` returns … 957 … subtype of the original type, the subtype's :c:member:`~PyTypeObject.tp_init` is called. (VERSION 959 Python 2.2, the :c:member:`~PyTypeObject.tp_init` of the type of the object returned by 1013 ignored or repeated should be placed in the :c:member:`~PyTypeObject.tp_init` handler. A good 1016 deferred to :c:member:`~PyTypeObject.tp_init`.
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 22 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in PyCStgDict_init()
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 122 …| :c:member:`~PyTypeObject.tp_init` | :c:type:`initproc` | __init__ … 1651 .. c:member:: initproc PyTypeObject.tp_init 1662 int tp_init(PyObject *self, PyObject *args, PyObject *kwds); 1668 The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called when an instance is 1672 …:c:member:`~PyTypeObject.tp_init` function is called; if :c:member:`~PyTypeObject.tp_new` returns … 1673 subtype of the original type, the subtype's :c:member:`~PyTypeObject.tp_init` is called. 1727 ignored or repeated should be placed in the :c:member:`~PyTypeObject.tp_init` handler. A good 1730 deferred to :c:member:`~PyTypeObject.tp_init`. 2372 See :c:member:`~PyTypeObject.tp_init`. 2511 0, /* tp_init */
|
/external/python/cpython2/Include/ |
D | object.h | 388 initproc tp_init; member
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 2755 VersionInfoType.tp_init = NULL; in _PySys_InitCore() 2782 WindowsVersionType.tp_init = NULL; in _PySys_InitCore() 2950 FlagsType.tp_init = NULL; in _PySys_InitMain()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 764 type->tp_init != NULL && in type_call() 765 type->tp_init(obj, args, kwds) < 0) { in type_call() 2983 if (type->tp_init != object_init && in object_init() 2990 else if (type->tp_init != object_init || in object_init() 3007 type->tp_init != object_init) in object_new() 3014 type->tp_init == object_init) in object_new() 4096 COPYSLOT(tp_init); 6083 FLSLOT("__init__", tp_init, slot_tp_init, (wrapperfunc)wrap_init,
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 22 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in PyCStgDict_init()
|