/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 64 …| :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 …]
|
D | type.rst | 220 :c:type:`PyTypeObject`, :c:type:`PyNumberMethods`, 226 * ``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`
|
/external/llvm/test/CodeGen/X86/ |
D | 2007-08-09-IllegalX86-64Asm.ll | 10 …%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/ |
D | 2007-08-09-IllegalX86-64Asm.ll | 11 …%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/ |
D | pycore_abstract.h | 15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 156 } PyNumberMethods; typedef 210 PyNumberMethods *tp_as_number; 282 PyNumberMethods as_number;
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 17 PyNumberMethods *tp_as_number;
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 18 PyNumberMethods *tp_as_number;
|
/external/python/cpython3/Objects/ |
D | boolobject.c | 95 static PyNumberMethods bool_as_number = {
|
D | abstract.c | 830 #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()
|
D | interpreteridobject.c | 120 static PyNumberMethods interpid_as_number = {
|
D | complexobject.c | 920 PyNumberMethods *nbr, *nbi = NULL; in complex_new_impl() 1049 static PyNumberMethods complex_as_number = {
|
D | floatobject.c | 235 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/ |
D | abstract.c | 894 #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 …]
|
D | boolobject.c | 107 static PyNumberMethods bool_as_number = {
|
D | intobject.c | 145 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 = {
|
D | complexobject.c | 1138 PyNumberMethods *nbr, *nbi = NULL; in complex_new() 1273 static PyNumberMethods complex_as_number = {
|
/external/python/cpython2/Mac/Modules/carbonevt/ |
D | _CarbonEvtmodule.c | 419 (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/ |
D | object.h | 273 } PyNumberMethods; typedef 340 PyNumberMethods *tp_as_number; 419 PyNumberMethods as_number;
|
/external/python/cpython2/Mac/Modules/ibcarbon/ |
D | _IBCarbon.c | 178 (PyNumberMethods *)0, /* tp_as_number */
|
/external/python/cpython2/Mac/Modules/scrap/ |
D | _Scrapmodule.c | 246 (PyNumberMethods *)0, /* tp_as_number */
|
/external/python/cpython2/Mac/Modules/cm/ |
D | _Cmmodule.c | 296 (PyNumberMethods *)0, /* tp_as_number */ 734 (PyNumberMethods *)0, /* tp_as_number */
|
/external/python/cpython2/Mac/Modules/cf/ |
D | _CFmodule.c | 442 (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.c | 136 static PyNumberMethods sp_handle_as_number;
|
/external/python/cpython2/Mac/Modules/snd/ |
D | _Sndmodule.c | 223 (PyNumberMethods *)0, /* tp_as_number */ 391 (PyNumberMethods *)0, /* tp_as_number */
|