Home
last modified time | relevance | path

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

12

/third_party/python/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.c834 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 …]
Dboolobject.c119 static PyNumberMethods bool_as_number = {
Dinterpreteridobject.c126 static PyNumberMethods interpid_as_number = {
Dcomplexobject.c880 PyNumberMethods *nbr, *nbi = NULL; in complex_new_impl()
1017 static PyNumberMethods complex_as_number = {
Dfloatobject.c255 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 = {
Dunionobject.c421 static PyNumberMethods union_as_number = {
Dgenericaliasobject.c625 static PyNumberMethods ga_as_number = {
Dobject.c1591 static PyNumberMethods none_as_number = {
1725 static PyNumberMethods notimplemented_as_number = {
Dweakrefobject.c684 static PyNumberMethods proxy_as_number = {
Dsetobject.c2050 static PyNumberMethods set_as_number = {
2164 static PyNumberMethods frozenset_as_number = {
Drangeobject.c686 static PyNumberMethods range_as_number = {
Dodictobject.c898 static PyNumberMethods odict_as_number = {
Ddescrobject.c1049 static PyNumberMethods mappingproxy_as_number = {
/third_party/python/Doc/c-api/
Dtypeobj.rst64 …| :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 …]
Dtype.rst237 :c:type:`PyTypeObject`, :c:type:`PyNumberMethods`,
243 * ``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp157 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/
Dpycore_abstract.h15 PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; in _PyIndex_Check()
/third_party/python/Include/cpython/
Dobject.h149 } PyNumberMethods; typedef
208 PyNumberMethods *tp_as_number;
281 PyNumberMethods as_number;
/third_party/python/Doc/includes/
Dtypestruct.h18 PyNumberMethods *tp_as_number;
/third_party/python/Doc/extending/
Dnewtypes.rst450 PyNumberMethods *tp_as_number;
456 type :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, or
/third_party/python/Modules/
D_collectionsmodule.c1578 static PyNumberMethods deque_as_number = {
2188 static PyNumberMethods defdict_as_number = {
D_datetimemodule.c2675 static PyNumberMethods delta_as_number = {
3544 static PyNumberMethods date_as_number = {
6412 static PyNumberMethods datetime_as_number = {
/third_party/python/PC/
Dwinreg.c190 static PyNumberMethods PyHKEY_NumberMethods =
/third_party/python/Modules/_ctypes/
D_ctypes.c4296 static PyNumberMethods PyCFuncPtr_as_number = {
5008 static PyNumberMethods Simple_as_number = {
5411 static PyNumberMethods Pointer_as_number = {

12