Home
last modified time | relevance | path

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

1234

/external/python/cpython3/Doc/c-api/
Dtypeobj.rst64 …| :c:member:`~PyTypeObject.tp_as_number` | :c:type:`PyNumberMethods` * | :ref:`sub-s…
204 …| :c:member:`~PyNumberMethods.nb_add` | :c:type:`binaryfunc` | __…
207 …| :c:member:`~PyNumberMethods.nb_inplace_add` | :c:type:`binaryfunc` | __…
209 …| :c:member:`~PyNumberMethods.nb_subtract` | :c:type:`binaryfunc` | __…
212 …| :c:member:`~PyNumberMethods.nb_inplace_subtract` | :c:type:`binaryfunc` | __…
214 …| :c:member:`~PyNumberMethods.nb_multiply` | :c:type:`binaryfunc` | __…
217 …| :c:member:`~PyNumberMethods.nb_inplace_multiply` | :c:type:`binaryfunc` | __…
219 …| :c:member:`~PyNumberMethods.nb_remainder` | :c:type:`binaryfunc` | __…
222 …| :c:member:`~PyNumberMethods.nb_inplace_remainder` | :c:type:`binaryfunc` | __…
224 …| :c:member:`~PyNumberMethods.nb_divmod` | :c:type:`binaryfunc` | __…
[all …]
Dtype.rst220 :c:type:`PyTypeObject`, :c:type:`PyNumberMethods`,
226 * ``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`
/external/llvm/test/CodeGen/X86/
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 ; <…
/external/llvm-project/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll11 …%struct.PyNumberMethods = type { %struct.PyObject* (%struct.PyObject*, %struct.PyObject*)*, %struc…
17 …%struct.PyObject*)*, %struct.PyObject* (%struct.PyObject*)*, %struct.PyNumberMethods*, %struct.PyS…
223 …ct._typeobject, %struct._typeobject* %tmp78, i32 0, i32 12 ; <%struct.PyNumberMethods**> [#uses=1]
224 …%tmp10 = load %struct.PyNumberMethods*, %struct.PyNumberMethods** %tmp9 ; <%struct.PyNumberMethod…
225 …%tmp11 = getelementptr %struct.PyNumberMethods, %struct.PyNumberMethods* %tmp10, i32 0, i32 5 ; <…
240 …._typeobject, %struct._typeobject* %tmp2425, i32 0, i32 12 ; <%struct.PyNumberMethods**> [#uses=1]
241 …%tmp27 = load %struct.PyNumberMethods*, %struct.PyNumberMethods** %tmp26 ; <%struct.PyNumberMetho…
242 …%tmp28 = getelementptr %struct.PyNumberMethods, %struct.PyNumberMethods* %tmp27, i32 0, i32 5 ; <…
/external/python/cpython3/Include/internal/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/external/python/cpython3/Include/cpython/
Dobject.h156 } PyNumberMethods; typedef
210 PyNumberMethods *tp_as_number;
282 PyNumberMethods as_number;
/external/python/cpython2/Doc/includes/
Dtypestruct.h17 PyNumberMethods *tp_as_number;
/external/python/cpython3/Doc/includes/
Dtypestruct.h18 PyNumberMethods *tp_as_number;
/external/python/cpython3/Objects/
Dboolobject.c95 static PyNumberMethods bool_as_number = {
Dabstract.c830 #define NB_SLOT(x) offsetof(PyNumberMethods, x)
936 PyNumberMethods *mv, *mw, *mz; in ternary_op()
1114 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in binary_iop1()
1250 PyNumberMethods *m; in PyNumber_Negative()
1266 PyNumberMethods *m; in PyNumber_Positive()
1282 PyNumberMethods *m; in PyNumber_Invert()
1298 PyNumberMethods *m; in PyNumber_Absolute()
1414 PyNumberMethods *m; in PyNumber_Long()
1512 PyNumberMethods *m; in PyNumber_Float()
Dinterpreteridobject.c120 static PyNumberMethods interpid_as_number = {
Dcomplexobject.c920 PyNumberMethods *nbr, *nbi = NULL; in complex_new_impl()
1049 static PyNumberMethods complex_as_number = {
Dfloatobject.c235 PyNumberMethods *nb; in PyFloat_AsDouble()
1525 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio_impl()
1846 static PyNumberMethods float_as_number = {
/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 …]
Dboolobject.c107 static PyNumberMethods bool_as_number = {
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 = {
Dcomplexobject.c1138 PyNumberMethods *nbr, *nbi = NULL; in complex_new()
1273 static PyNumberMethods complex_as_number = {
/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 */
/external/python/cpython2/Include/
Dobject.h273 } PyNumberMethods; typedef
340 PyNumberMethods *tp_as_number;
419 PyNumberMethods as_number;
/external/python/cpython2/Mac/Modules/ibcarbon/
D_IBCarbon.c178 (PyNumberMethods *)0, /* tp_as_number */
/external/python/cpython2/Mac/Modules/scrap/
D_Scrapmodule.c246 (PyNumberMethods *)0, /* tp_as_number */
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c296 (PyNumberMethods *)0, /* tp_as_number */
734 (PyNumberMethods *)0, /* tp_as_number */
/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 */
/external/python/cpython2/PC/
D_subprocess.c136 static PyNumberMethods sp_handle_as_number;
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c223 (PyNumberMethods *)0, /* tp_as_number */
391 (PyNumberMethods *)0, /* tp_as_number */

1234