Home
last modified time | relevance | path

Searched refs:tp_init (Results 1 – 25 of 49) sorted by relevance

12

/external/python/cpython3/Modules/clinic/
D_bz2module.c.h92 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()
Ditertoolsmodule.c.h123 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.h27 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()
Dselectmodule.c.h1111 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.h607 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in tuplegetter_new()
D_ssl.c.h761 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/
Dclassobject.c.h41 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()
Dtupleobject.c.h83 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in tuple_new()
Denumobject.c.h97 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in reversed_new()
Dfloatobject.c.h212 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in float_new()
Dcodeobject.c.h53 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in code_new()
/external/python/cpython3/Doc/includes/newtypes/
Dsublist.c25 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0) in SubList_init()
38 .tp_init = (initproc) SubList_init,
Dcustom2.c100 .tp_init = (initproc) Custom_init,
Dcustom3.c140 .tp_init = (initproc) Custom_init,
Dcustom4.c156 .tp_init = (initproc) Custom_init,
/external/python/cpython3/Modules/_sqlite/clinic/
Drow.c.h19 if ((type == base_tp || type->tp_init == base_tp->tp_init) && in pysqlite_row_new()
/external/python/cpython3/Python/clinic/
Dinstruction_sequence.c.h26 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/
Dxxsubtype.c84 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.c1384 .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.c559 Py_TYPE(self)->tp_init == ((PyTypeObject*)state->Random_Type)->tp_init) && in random_init()
D_threadmodule.c1448 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/
Dtypestruct.h66 initproc tp_init; member
/external/tensorflow/tensorflow/python/util/
Dfast_module_type.cc49 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/
Dtypeslots.inc61 {-1, offsetof(PyTypeObject, tp_init)},
/external/python/cpython3/Doc/extending/
Dnewtypes_tutorial.rst319 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)

12