Lines Matching defs:slot
843 #define NB_BINOP(nb_methods, slot) \
844 (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
845 #define NB_TERNOP(nb_methods, slot) \
846 (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
1188 binaryfunc slot = NB_BINOP(mv, iop_slot);
1189 if (slot) {
1190 PyObject *x = (slot)(v, w);
1229 ternaryfunc slot = NB_TERNOP(mv, iop_slot);
1230 if (slot) {
1231 PyObject *x = (slot)(v, w, z);
1535 /* Convert using the nb_int slot, which should return something
1768 have an nb_add slot, not an sq_concat slot. So we fall back
1794 have an nb_multiply slot, not an sq_repeat slot. so we fall back