Searched refs:PyNumberMethods (Results 1 – 25 of 41) sorted by relevance
12
/third_party/python/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 = {
|
D | unionobject.c | 421 static PyNumberMethods union_as_number = {
|
D | genericaliasobject.c | 625 static PyNumberMethods ga_as_number = {
|
D | object.c | 1591 static PyNumberMethods none_as_number = { 1725 static PyNumberMethods notimplemented_as_number = {
|
D | weakrefobject.c | 684 static PyNumberMethods proxy_as_number = {
|
D | setobject.c | 2050 static PyNumberMethods set_as_number = { 2164 static PyNumberMethods frozenset_as_number = {
|
D | rangeobject.c | 686 static PyNumberMethods range_as_number = {
|
D | odictobject.c | 898 static PyNumberMethods odict_as_number = {
|
D | descrobject.c | 1049 static PyNumberMethods mappingproxy_as_number = {
|
/third_party/python/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`
|
/third_party/boost/libs/python/src/converter/ |
D | builtin_converters.cpp | 157 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 189 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 247 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 343 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot()
|
/third_party/python/Include/internal/ |
D | pycore_abstract.h | 15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
|
/third_party/python/Include/cpython/ |
D | object.h | 149 } PyNumberMethods; typedef 208 PyNumberMethods *tp_as_number; 281 PyNumberMethods as_number;
|
/third_party/python/Doc/includes/ |
D | typestruct.h | 18 PyNumberMethods *tp_as_number;
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 450 PyNumberMethods *tp_as_number; 456 type :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, or
|
/third_party/python/Modules/ |
D | _collectionsmodule.c | 1578 static PyNumberMethods deque_as_number = { 2188 static PyNumberMethods defdict_as_number = {
|
D | _datetimemodule.c | 2675 static PyNumberMethods delta_as_number = { 3544 static PyNumberMethods date_as_number = { 6412 static PyNumberMethods datetime_as_number = {
|
/third_party/python/PC/ |
D | winreg.c | 190 static PyNumberMethods PyHKEY_NumberMethods =
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 4296 static PyNumberMethods PyCFuncPtr_as_number = { 5008 static PyNumberMethods Simple_as_number = { 5411 static PyNumberMethods Pointer_as_number = {
|
12