Home
last modified time | relevance | path

Searched refs:nb_add (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Objects/
Dtypeslots.inc8 {offsetof(PyNumberMethods, nb_add), offsetof(PyTypeObject, tp_as_number)},
Dabstract.c1071 PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+"); in PyNumber_Add()
1265 NB_SLOT(nb_add), "+="); in PyNumber_InPlaceAdd()
1778 PyObject *result = BINARY_OP1(s, o, NB_SLOT(nb_add), "+"); in PySequence_Concat()
1838 NB_SLOT(nb_add), "+="); in PySequence_InPlaceConcat()
Dtypeobject.c5785 COPYNUM(nb_add); in inherit_slots()
7274 SLOT1BIN(slot_nb_add, nb_add, "__add__", "__radd__")
7967 BINSLOT("__add__", nb_add, slot_nb_add,
7969 RBINSLOT("__radd__", nb_add, slot_nb_add,
/third_party/python/Include/cpython/
Dobject.h109 binaryfunc nb_add; member
/third_party/python/Doc/c-api/
Dtype.rst243 * ``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`
Dtypeobj.rst206 …| :c:member:`~PyNumberMethods.nb_add` | :c:type:`binaryfunc` | __…
2095 binaryfunc nb_add;
2152 .. c:member:: binaryfunc PyNumberMethods.nb_add
2251 addition via the :c:member:`~PyNumberMethods.nb_add` slot.
/third_party/python/Modules/
D_testcapimodule.c1115 binaryfunc nb_add = PyType_GetSlot(&PyLong_Type, Py_nb_add); in test_get_statictype_slots() local
1116 if (PyLong_Type.tp_as_number->nb_add != nb_add) { in test_get_statictype_slots()
/third_party/python/Misc/
DHISTORY29270 object and extensions (e.g. nb_add).