Home
last modified time | relevance | path

Searched refs:PyNumberMethods (Results 1 – 25 of 100) sorted by relevance

1234

/aosp_15_r20/external/python/cpython3/Objects/
Dtypeslots.inc7 {offsetof(PyNumberMethods, nb_absolute), offsetof(PyTypeObject, tp_as_number)},
8 {offsetof(PyNumberMethods, nb_add), offsetof(PyTypeObject, tp_as_number)},
9 {offsetof(PyNumberMethods, nb_and), offsetof(PyTypeObject, tp_as_number)},
10 {offsetof(PyNumberMethods, nb_bool), offsetof(PyTypeObject, tp_as_number)},
11 {offsetof(PyNumberMethods, nb_divmod), offsetof(PyTypeObject, tp_as_number)},
12 {offsetof(PyNumberMethods, nb_float), offsetof(PyTypeObject, tp_as_number)},
13 {offsetof(PyNumberMethods, nb_floor_divide), offsetof(PyTypeObject, tp_as_number)},
14 {offsetof(PyNumberMethods, nb_index), offsetof(PyTypeObject, tp_as_number)},
15 {offsetof(PyNumberMethods, nb_inplace_add), offsetof(PyTypeObject, tp_as_number)},
16 {offsetof(PyNumberMethods, nb_inplace_and), offsetof(PyTypeObject, tp_as_number)},
[all …]
Dabstract.c836 PyNumberMethods *nb = Py_TYPE(o)->tp_as_number; in PyNumber_Check()
842 #define NB_SLOT(x) offsetof(PyNumberMethods, x)
970 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in ternary_op()
971 PyNumberMethods *mw = Py_TYPE(w)->tp_as_number; in ternary_op()
1018 PyNumberMethods *mz = Py_TYPE(z)->tp_as_number; in ternary_op()
1186 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in binary_iop1()
1227 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in ternary_iop()
1333 PyNumberMethods *m = Py_TYPE(o)->tp_as_number; in PyNumber_Negative()
1350 PyNumberMethods *m = Py_TYPE(o)->tp_as_number; in PyNumber_Positive()
1367 PyNumberMethods *m = Py_TYPE(o)->tp_as_number; in PyNumber_Invert()
[all …]
Dboolobject.c109 static PyNumberMethods bool_as_number = {
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dtypeobj.rst64 …| :c:member:`~PyTypeObject.tp_as_number` | :c:type:`PyNumberMethods` * | :ref:`sub-s…
212 …| :c:member:`~PyNumberMethods.nb_add` | :c:type:`binaryfunc` | __…
215 …| :c:member:`~PyNumberMethods.nb_inplace_add` | :c:type:`binaryfunc` | __…
217 …| :c:member:`~PyNumberMethods.nb_subtract` | :c:type:`binaryfunc` | __…
220 …| :c:member:`~PyNumberMethods.nb_inplace_subtract` | :c:type:`binaryfunc` | __…
222 …| :c:member:`~PyNumberMethods.nb_multiply` | :c:type:`binaryfunc` | __…
225 …| :c:member:`~PyNumberMethods.nb_inplace_multiply` | :c:type:`binaryfunc` | __…
227 …| :c:member:`~PyNumberMethods.nb_remainder` | :c:type:`binaryfunc` | __…
230 …| :c:member:`~PyNumberMethods.nb_inplace_remainder` | :c:type:`binaryfunc` | __…
232 …| :c:member:`~PyNumberMethods.nb_divmod` | :c:type:`binaryfunc` | __…
[all …]
Dtype.rst180 :c:member:`~PyTypeObject.tp_init` or :c:member:`~PyNumberMethods.nb_add`)
267 :c:type:`PyTypeObject`, :c:type:`PyNumberMethods`,
273 * ``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`
/aosp_15_r20/external/llvm/test/CodeGen/X86/
H A D2007-08-09-IllegalX86-64Asm.ll10 …%struct.PyNumberMethods = type { %struct.PyObject* (%struct.PyObject*, %struct.PyObject*)*, %struc…
16 …%struct.PyObject*)*, %struct.PyObject* (%struct.PyObject*)*, %struct.PyNumberMethods*, %struct.PyS…
53 …ct._typeobject, %struct._typeobject* %tmp78, i32 0, i32 12 ; <%struct.PyNumberMethods**> [#uses=1]
54 …%tmp10 = load %struct.PyNumberMethods*, %struct.PyNumberMethods** %tmp9 ; <%struct.PyNumberMethod…
55 …%tmp11 = getelementptr %struct.PyNumberMethods, %struct.PyNumberMethods* %tmp10, i32 0, i32 5 ; <…
70 …._typeobject, %struct._typeobject* %tmp2425, i32 0, i32 12 ; <%struct.PyNumberMethods**> [#uses=1]
71 …%tmp27 = load %struct.PyNumberMethods*, %struct.PyNumberMethods** %tmp26 ; <%struct.PyNumberMetho…
72 …%tmp28 = getelementptr %struct.PyNumberMethods, %struct.PyNumberMethods* %tmp27, i32 0, i32 5 ; <…
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dobject.h106 } PyNumberMethods; typedef
165 PyNumberMethods *tp_as_number;
245 PyNumberMethods as_number;
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dobject.h106 } PyNumberMethods; typedef
165 PyNumberMethods *tp_as_number;
245 PyNumberMethods as_number;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dobject.h106 } PyNumberMethods; typedef
165 PyNumberMethods *tp_as_number;
245 PyNumberMethods as_number;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dobject.h106 } PyNumberMethods; typedef
165 PyNumberMethods *tp_as_number;
245 PyNumberMethods as_number;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dobject.h106 } PyNumberMethods; typedef
165 PyNumberMethods *tp_as_number;
245 PyNumberMethods as_number;
/aosp_15_r20/external/python/cpython2/Objects/
Dabstract.c894 #define NB_SLOT(x) offsetof(PyNumberMethods, x)
962 PyNumberMethods *mv = v->ob_type->tp_as_number;
1041 PyNumberMethods *mv, *mw, *mz;
1280 PyNumberMethods *mv = v->ob_type->tp_as_number;
1413 PyNumberMethods *m;
1427 PyNumberMethods *m;
1441 PyNumberMethods *m;
1455 PyNumberMethods *m;
1610 PyNumberMethods *m;
1704 PyNumberMethods *m;
[all …]
Dintobject.c145 PyNumberMethods *nb; in PyInt_AsLong()
206 PyNumberMethods *nb; in PyInt_AsSsize_t()
264 PyNumberMethods *nb; in PyInt_AsUnsignedLongMask()
309 PyNumberMethods *nb; in PyInt_AsUnsignedLongLongMask()
1368 static PyNumberMethods int_as_number = {
Dboolobject.c107 static PyNumberMethods bool_as_number = {
/aosp_15_r20/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c419 (PyNumberMethods *)0, /* tp_as_number */
640 (PyNumberMethods *)0, /* tp_as_number */
770 (PyNumberMethods *)0, /* tp_as_number */
918 (PyNumberMethods *)0, /* tp_as_number */
1110 (PyNumberMethods *)0, /* tp_as_number */
1243 (PyNumberMethods *)0, /* tp_as_number */
1398 (PyNumberMethods *)0, /* tp_as_number */
1528 (PyNumberMethods *)0, /* tp_as_number */
/aosp_15_r20/external/python/cpython2/Include/
Dobject.h273 } PyNumberMethods; typedef
340 PyNumberMethods *tp_as_number;
419 PyNumberMethods as_number;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/aosp_15_r20/external/python/cpython2/Doc/includes/
Dtypestruct.h17 PyNumberMethods *tp_as_number;
/aosp_15_r20/external/python/cpython3/Doc/includes/
Dtypestruct.h18 PyNumberMethods *tp_as_number;
/aosp_15_r20/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c442 (PyNumberMethods *)0, /* tp_as_number */
653 (PyNumberMethods *)0, /* tp_as_number */
893 (PyNumberMethods *)0, /* tp_as_number */
1086 (PyNumberMethods *)0, /* tp_as_number */
1263 (PyNumberMethods *)0, /* tp_as_number */
1494 (PyNumberMethods *)0, /* tp_as_number */
1759 (PyNumberMethods *)0, /* tp_as_number */
2502 (PyNumberMethods *)0, /* tp_as_number */
2890 (PyNumberMethods *)0, /* tp_as_number */
3542 (PyNumberMethods *)0, /* tp_as_number */
/aosp_15_r20/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c296 (PyNumberMethods *)0, /* tp_as_number */
734 (PyNumberMethods *)0, /* tp_as_number */

1234