Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/cpython3/Objects/
Dtypeslots.inc78 {offsetof(PyAsyncMethods, am_await), offsetof(PyTypeObject, tp_as_async)},
79 {offsetof(PyAsyncMethods, am_aiter), offsetof(PyTypeObject, tp_as_async)},
80 {offsetof(PyAsyncMethods, am_anext), offsetof(PyTypeObject, tp_as_async)},
82 {offsetof(PyAsyncMethods, am_send), offsetof(PyTypeObject, tp_as_async)},
Dabstract.c2821 if (t->tp_as_async == NULL || t->tp_as_async->am_aiter == NULL) { in PyObject_GetAIter()
2824 f = t->tp_as_async->am_aiter; in PyObject_GetAIter()
2848 return (tp->tp_as_async != NULL && in PyAIter_Check()
2849 tp->tp_as_async->am_anext != NULL && in PyAIter_Check()
2850 tp->tp_as_async->am_anext != &_PyObject_NextNotImplemented); in PyAIter_Check()
2881 if (Py_TYPE(iter)->tp_as_async && Py_TYPE(iter)->tp_as_async->am_send) { in PyIter_Send()
2882 PySendResult res = Py_TYPE(iter)->tp_as_async->am_send(iter, arg, result); in PyIter_Send()
Diterobject.c338 unaryfunc getter = Py_TYPE(awaitable)->tp_as_async->am_await; in anextawaitable_getiter()
Dtypeobject.c2766 type->tp_as_async = &et->as_async; in type_new_alloc()
3513 type->tp_as_async = &res->as_async; in PyType_FromModuleAndSpec()
5868 #define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT) in inherit_slots()
5918 if (type->tp_as_async != NULL && base->tp_as_async != NULL) { in inherit_slots()
5920 if (basebase->tp_as_async == NULL) in inherit_slots()
6250 if (type->tp_as_async == NULL) { in type_ready_inherit_as_structs()
6251 type->tp_as_async = base->tp_as_async; in type_ready_inherit_as_structs()
8253 ptr = (char *)type->tp_as_async; in slotptr()
Dgenobject.c1054 if (ot->tp_as_async != NULL) { in _PyCoro_GetAwaitableIter()
1055 getter = ot->tp_as_async->am_await; in _PyCoro_GetAwaitableIter()
/aosp_15_r20/external/python/cpython3/Doc/includes/
Dtypestruct.h12 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dobject.h159 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dobject.h159 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dobject.h159 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dobject.h159 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dobject.h159 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/aosp_15_r20/external/python/cpython3/Python/
Dbltinmodule.c1664 if (t->tp_as_async == NULL || t->tp_as_async->am_anext == NULL) { in builtin_anext_impl()
1671 awaitable = (*t->tp_as_async->am_anext)(aiterator); in builtin_anext_impl()
Dceval.c2459 if (type->tp_as_async != NULL) {
2460 getter = type->tp_as_async->am_aiter;
2481 if (Py_TYPE(iter)->tp_as_async == NULL ||
2482 Py_TYPE(iter)->tp_as_async->am_anext == NULL) {
2505 awaitable = type->tp_as_async->am_anext(aiter);
2510 if (type->tp_as_async != NULL){
2511 getter = type->tp_as_async->am_anext;
7796 if (type->tp_as_async == NULL || type->tp_as_async->am_await == NULL) {
/aosp_15_r20/external/python/cpython3/Modules/
D_asynciomodule.c1515 .tp_as_async = &FutureType_as_async,
1753 .tp_as_async = &FutureIterType_as_async,
2529 .tp_as_async = &FutureType_as_async,
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dtypeobj.rst60 …| :c:member:`~PyTypeObject.tp_as_async` | :c:type:`PyAsyncMethods` * | :ref:`sub-s…
789 .. c:member:: PyAsyncMethods* PyTypeObject.tp_as_async
800 The :c:member:`~PyTypeObject.tp_as_async` field is not inherited,
2639 0, /* tp_as_async */
/aosp_15_r20/external/python/cpython3/Doc/whatsnew/
D3.5.rst2536 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for
/aosp_15_r20/external/python/cpython3/Doc/data/
Dpython3.11.abi2134 …<var-decl name='tp_as_async' type-id='type-id-81' visibility='default' filepath='./Include/cpython…