| /external/python/cpython3/Objects/ |
| D | typeslots.inc | 7 {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 …]
|
| D | abstract.c | 834 PyNumberMethods *nb = Py_TYPE(o)->tp_as_number; in PyNumber_Check() 840 #define NB_SLOT(x) offsetof(PyNumberMethods, x) 968 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in ternary_op() 969 PyNumberMethods *mw = Py_TYPE(w)->tp_as_number; in ternary_op() 1016 PyNumberMethods *mz = Py_TYPE(z)->tp_as_number; in ternary_op() 1178 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in binary_iop1() 1219 PyNumberMethods *mv = Py_TYPE(v)->tp_as_number; in ternary_iop() 1344 PyNumberMethods *m = Py_TYPE(o)->tp_as_number; in PyNumber_Negative() 1361 PyNumberMethods *m = Py_TYPE(o)->tp_as_number; in PyNumber_Positive() 1378 PyNumberMethods *m = Py_TYPE(o)->tp_as_number; in PyNumber_Invert() [all …]
|
| D | boolobject.c | 119 static PyNumberMethods bool_as_number = {
|
| D | interpreteridobject.c | 126 static PyNumberMethods interpid_as_number = {
|
| D | complexobject.c | 880 PyNumberMethods *nbr, *nbi = NULL; in complex_new_impl() 1017 static PyNumberMethods complex_as_number = {
|
| D | floatobject.c | 255 PyNumberMethods *nb; in PyFloat_AsDouble() 1545 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio_impl() 1892 static PyNumberMethods float_as_number = {
|
| /external/python/cpython3/Doc/c-api/ |
| D | typeobj.rst | 64 …| :c:member:`~PyTypeObject.tp_as_number` | :c:type:`PyNumberMethods` * | :ref:`sub-s… 206 …| :c:member:`~PyNumberMethods.nb_add` | :c:type:`binaryfunc` | __… 209 …| :c:member:`~PyNumberMethods.nb_inplace_add` | :c:type:`binaryfunc` | __… 211 …| :c:member:`~PyNumberMethods.nb_subtract` | :c:type:`binaryfunc` | __… 214 …| :c:member:`~PyNumberMethods.nb_inplace_subtract` | :c:type:`binaryfunc` | __… 216 …| :c:member:`~PyNumberMethods.nb_multiply` | :c:type:`binaryfunc` | __… 219 …| :c:member:`~PyNumberMethods.nb_inplace_multiply` | :c:type:`binaryfunc` | __… 221 …| :c:member:`~PyNumberMethods.nb_remainder` | :c:type:`binaryfunc` | __… 224 …| :c:member:`~PyNumberMethods.nb_inplace_remainder` | :c:type:`binaryfunc` | __… 226 …| :c:member:`~PyNumberMethods.nb_divmod` | :c:type:`binaryfunc` | __… [all …]
|
| D | type.rst | 237 :c:type:`PyTypeObject`, :c:type:`PyNumberMethods`, 243 * ``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/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 | 149 } PyNumberMethods; typedef 208 PyNumberMethods *tp_as_number; 281 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/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 | floatobject.c | 261 PyNumberMethods *nb; in PyFloat_AsDouble() 1721 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio() 2076 static PyNumberMethods float_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/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/Mac/Modules/scrap/ |
| D | _Scrapmodule.c | 246 (PyNumberMethods *)0, /* tp_as_number */
|
| /external/python/cpython2/Mac/Modules/snd/ |
| D | _Sndmodule.c | 223 (PyNumberMethods *)0, /* tp_as_number */ 391 (PyNumberMethods *)0, /* tp_as_number */
|