Searched refs:as_number (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Objects/ |
D | typeslots.inc | 7 offsetof(PyHeapTypeObject, as_number.nb_absolute), 8 offsetof(PyHeapTypeObject, as_number.nb_add), 9 offsetof(PyHeapTypeObject, as_number.nb_and), 10 offsetof(PyHeapTypeObject, as_number.nb_bool), 11 offsetof(PyHeapTypeObject, as_number.nb_divmod), 12 offsetof(PyHeapTypeObject, as_number.nb_float), 13 offsetof(PyHeapTypeObject, as_number.nb_floor_divide), 14 offsetof(PyHeapTypeObject, as_number.nb_index), 15 offsetof(PyHeapTypeObject, as_number.nb_inplace_add), 16 offsetof(PyHeapTypeObject, as_number.nb_inplace_and), [all …]
|
D | typeobject.c | 2604 type->tp_as_number = &et->as_number; in type_new() 2910 type->tp_as_number = &res->as_number; in PyType_FromSpecWithBases() 6771 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, DOC) 6773 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ 6776 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ 6779 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \ 6782 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \ 6785 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \ 6788 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \ 7000 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) { in slotptr() [all …]
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 2368 type->tp_as_number = &et->as_number; in type_new() 6017 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, DOC) 6019 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ 6022 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ 6025 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \ 6028 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \ 6031 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \ 6034 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \ 6252 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) { 6254 offset -= offsetof(PyHeapTypeObject, as_number);
|
/external/python/cpython2/Include/ |
D | object.h | 419 PyNumberMethods as_number; member
|
/external/python/cpython3/Include/ |
D | object.h | 466 PyNumberMethods as_number; member
|