Searched refs:nb_add (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Objects/ |
D | typeslots.inc | 8 {offsetof(PyNumberMethods, nb_add), offsetof(PyTypeObject, tp_as_number)},
|
D | abstract.c | 1071 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()
|
D | typeobject.c | 5785 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/ |
D | object.h | 109 binaryfunc nb_add; member
|
/third_party/python/Doc/c-api/ |
D | type.rst | 243 * ``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`
|
D | typeobj.rst | 206 …| :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.c | 1115 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/ |
D | HISTORY | 29270 object and extensions (e.g. nb_add).
|