Searched refs:nb_multiply (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Include/cpython/ |
H A D | object.h | 68 binaryfunc nb_multiply; member
|
/third_party/python/Objects/ |
H A D | abstract.c | 1111 PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*"); in PyNumber_Multiply() 1285 NB_SLOT(nb_multiply), "*="); in PyNumber_InPlaceMultiply() 1794 have an nb_multiply slot, not an sq_repeat slot. so we fall back in PySequence_Repeat() 1795 to nb_multiply if o appears to be a sequence. */ in PySequence_Repeat() 1801 result = BINARY_OP1(o, n, NB_SLOT(nb_multiply), "*"); in PySequence_Repeat() 1864 NB_SLOT(nb_multiply), "*="); in PySequence_InPlaceRepeat()
|
H A D | typeobject.c | 5883 COPYNUM(nb_multiply); in inherit_slots() 7430 SLOT1BIN(slot_nb_multiply, nb_multiply, __mul__, __rmul__) 8108 BINSLOT("__mul__", nb_multiply, slot_nb_multiply, 8110 RBINSLOT("__rmul__", nb_multiply, slot_nb_multiply, 8198 The logic in abstract.c always falls back to nb_add/nb_multiply in
|
/third_party/python/Modules/_decimal/ |
H A D | _decimal.c | 5849 _py_long_multiply = PyLong_Type.tp_as_number->nb_multiply; in PyInit__decimal()
|
Completed in 22 milliseconds