/external/python/cpython3/Modules/clinic/ |
D | _bz2module.c.h | 92 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in _bz2_BZ2Compressor() 224 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in _bz2_BZ2Decompressor() 228 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in _bz2_BZ2Decompressor()
|
D | itertoolsmodule.c.h | 123 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in pairwise_new() 217 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools__grouper() 255 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools_teedataobject() 291 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools__tee() 366 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools_cycle() 399 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools_dropwhile() 431 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools_takewhile() 463 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools_starmap() 843 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in itertools_filterfalse()
|
D | _queuemodule.c.h | 27 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in simplequeue_new() 31 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in simplequeue_new()
|
D | selectmodule.c.h | 1111 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in select_kqueue() 1115 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in select_kqueue()
|
D | _collectionsmodule.c.h | 607 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in tuplegetter_new()
|
D | _ssl.c.h | 761 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in _ssl__SSLContext() 2077 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in _ssl_MemoryBIO() 2081 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in _ssl_MemoryBIO()
|
/external/python/cpython3/Objects/clinic/ |
D | classobject.c.h | 41 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in method_new() 72 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in instancemethod_new()
|
D | tupleobject.c.h | 83 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in tuple_new()
|
D | enumobject.c.h | 97 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in reversed_new()
|
D | floatobject.c.h | 212 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in float_new()
|
D | codeobject.c.h | 53 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in code_new()
|
/external/python/cpython3/Doc/includes/newtypes/ |
D | sublist.c | 25 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0) in SubList_init() 38 .tp_init = (initproc) SubList_init,
|
D | custom2.c | 100 .tp_init = (initproc) Custom_init,
|
D | custom3.c | 140 .tp_init = (initproc) Custom_init,
|
D | custom4.c | 156 .tp_init = (initproc) Custom_init,
|
/external/python/cpython3/Modules/_sqlite/clinic/ |
D | row.c.h | 19 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in pysqlite_row_new()
|
/external/python/cpython3/Python/clinic/ |
D | instruction_sequence.c.h | 26 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in inst_seq_new() 30 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in inst_seq_new()
|
/external/python/cpython3/Modules/ |
D | xxsubtype.c | 84 if (PyList_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamlist_init() 180 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
|
D | _testclinic.c | 1384 .tp_init = depr_star_init, 1415 .tp_init = depr_star_init_noinline, 1465 .tp_init = depr_kwd_init, 1495 .tp_init = depr_kwd_init_noinline,
|
D | _randommodule.c | 559 Py_TYPE(self)->tp_init == ((PyTypeObject*)state->Random_Type)->tp_init) && in random_init()
|
D | _threadmodule.c | 1448 if (type->tp_init == PyBaseObject_Type.tp_init) { in local_new() 1649 if (Py_TYPE(self)->tp_init != PyBaseObject_Type.tp_init && in _ldict() 1650 Py_TYPE(self)->tp_init((PyObject *)self, self->args, self->kw) < 0) { in _ldict()
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 66 initproc tp_init; member
|
/external/tensorflow/tensorflow/python/util/ |
D | fast_module_type.cc | 49 if (PyModule_Type.tp_init(reinterpret_cast<PyObject *>(self), args, kwds) < 0) in FastModule_init() 243 obj.tp_init = reinterpret_cast<initproc>(FastModule_init); in __anonb42701910102()
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 61 {-1, offsetof(PyTypeObject, tp_init)},
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 319 arguments, leaving the argument handling to initializer (a.k.a. ``tp_init`` 323 ``tp_new`` shouldn't call ``tp_init`` explicitly, as the interpreter 380 by filling the :c:member:`~PyTypeObject.tp_init` slot. :: 382 .tp_init = (initproc) Custom_init, 384 The :c:member:`~PyTypeObject.tp_init` slot is exposed in Python as the 389 Unlike the ``tp_new`` handler, there is no guarantee that ``tp_init`` 608 We also need to update the :c:member:`~PyTypeObject.tp_init` handler to only 830 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0)
|