Lines Matching full:o1
231 PyAPI_FUNC(int) PyObject_Cmp(PyObject *o1, PyObject *o2, int *result);
234 Compare the values of o1 and o2 using a routine provided by
235 o1, if one exists, otherwise with a routine provided by o2.
238 statement: result=cmp(o1,o2).
244 int PyObject_Compare(PyObject *o1, PyObject *o2);
246 Compare the values of o1 and o2 using a routine provided by
247 o1, if one exists, otherwise with a routine provided by o2.
250 Python expression: cmp(o1,o2).
660 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
663 Returns the result of adding o1 and o2, or null on failure.
664 This is the equivalent of the Python expression: o1+o2.
669 PyAPI_FUNC(PyObject *) PyNumber_Subtract(PyObject *o1, PyObject *o2);
672 Returns the result of subtracting o2 from o1, or null on
674 o1-o2.
678 PyAPI_FUNC(PyObject *) PyNumber_Multiply(PyObject *o1, PyObject *o2);
681 Returns the result of multiplying o1 and o2, or null on
683 o1*o2.
688 PyAPI_FUNC(PyObject *) PyNumber_Divide(PyObject *o1, PyObject *o2);
691 Returns the result of dividing o1 by o2, or null on failure.
692 This is the equivalent of the Python expression: o1/o2.
697 PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *o1, PyObject *o2);
700 Returns the result of dividing o1 by o2 giving an integral result,
702 This is the equivalent of the Python expression: o1//o2.
707 PyAPI_FUNC(PyObject *) PyNumber_TrueDivide(PyObject *o1, PyObject *o2);
710 Returns the result of dividing o1 by o2 giving a float result,
712 This is the equivalent of the Python expression: o1/o2.
717 PyAPI_FUNC(PyObject *) PyNumber_Remainder(PyObject *o1, PyObject *o2);
720 Returns the remainder of dividing o1 by o2, or null on
722 o1%o2.
727 PyAPI_FUNC(PyObject *) PyNumber_Divmod(PyObject *o1, PyObject *o2);
732 divmod(o1,o2).
737 PyAPI_FUNC(PyObject *) PyNumber_Power(PyObject *o1, PyObject *o2,
743 pow(o1,o2,o3), where o3 is optional.
781 PyAPI_FUNC(PyObject *) PyNumber_Lshift(PyObject *o1, PyObject *o2);
784 Returns the result of left shifting o1 by o2 on success, or
786 expression: o1 << o2.
791 PyAPI_FUNC(PyObject *) PyNumber_Rshift(PyObject *o1, PyObject *o2);
794 Returns the result of right shifting o1 by o2 on success, or
796 expression: o1 >> o2.
800 PyAPI_FUNC(PyObject *) PyNumber_And(PyObject *o1, PyObject *o2);
803 Returns the result of bitwise and of o1 and o2 on success, or
805 expression: o1&o2.
810 PyAPI_FUNC(PyObject *) PyNumber_Xor(PyObject *o1, PyObject *o2);
813 Returns the bitwise exclusive or of o1 by o2 on success, or
815 expression: o1^o2.
820 PyAPI_FUNC(PyObject *) PyNumber_Or(PyObject *o1, PyObject *o2);
823 Returns the result of bitwise or on o1 and o2 on success, or
825 expression: o1|o2.
843 The call PyNumber_Coerce(&o1, &o2) is equivalent to the Python
844 statement o1, o2 = coerce(o1, o2).
911 PyAPI_FUNC(PyObject *) PyNumber_InPlaceAdd(PyObject *o1, PyObject *o2);
914 Returns the result of adding o2 to o1, possibly in-place, or null
916 o1 += o2.
920 PyAPI_FUNC(PyObject *) PyNumber_InPlaceSubtract(PyObject *o1, PyObject *o2);
923 Returns the result of subtracting o2 from o1, possibly in-place or
925 o1 -= o2.
929 PyAPI_FUNC(PyObject *) PyNumber_InPlaceMultiply(PyObject *o1, PyObject *o2);
932 Returns the result of multiplying o1 by o2, possibly in-place, or
934 o1 *= o2.
938 PyAPI_FUNC(PyObject *) PyNumber_InPlaceDivide(PyObject *o1, PyObject *o2);
941 Returns the result of dividing o1 by o2, possibly in-place, or null
943 o1 /= o2.
947 PyAPI_FUNC(PyObject *) PyNumber_InPlaceFloorDivide(PyObject *o1,
951 Returns the result of dividing o1 by o2 giving an integral result,
954 o1 /= o2.
958 PyAPI_FUNC(PyObject *) PyNumber_InPlaceTrueDivide(PyObject *o1,
962 Returns the result of dividing o1 by o2 giving a float result,
965 o1 /= o2.
969 PyAPI_FUNC(PyObject *) PyNumber_InPlaceRemainder(PyObject *o1, PyObject *o2);
972 Returns the remainder of dividing o1 by o2, possibly in-place, or
974 o1 %= o2.
978 PyAPI_FUNC(PyObject *) PyNumber_InPlacePower(PyObject *o1, PyObject *o2,
982 Returns the result of raising o1 to the power of o2, possibly
984 expression: o1 **= o2, or pow(o1, o2, o3) if o3 is present.
988 PyAPI_FUNC(PyObject *) PyNumber_InPlaceLshift(PyObject *o1, PyObject *o2);
991 Returns the result of left shifting o1 by o2, possibly in-place, or
993 o1 <<= o2.
997 PyAPI_FUNC(PyObject *) PyNumber_InPlaceRshift(PyObject *o1, PyObject *o2);
1000 Returns the result of right shifting o1 by o2, possibly in-place or
1002 o1 >>= o2.
1006 PyAPI_FUNC(PyObject *) PyNumber_InPlaceAnd(PyObject *o1, PyObject *o2);
1009 Returns the result of bitwise and of o1 and o2, possibly in-place,
1011 expression: o1 &= o2.
1015 PyAPI_FUNC(PyObject *) PyNumber_InPlaceXor(PyObject *o1, PyObject *o2);
1018 Returns the bitwise exclusive or of o1 by o2, possibly in-place, or
1020 o1 ^= o2.
1024 PyAPI_FUNC(PyObject *) PyNumber_InPlaceOr(PyObject *o1, PyObject *o2);
1027 Returns the result of bitwise or of o1 and o2, possibly in-place,
1029 expression: o1 |= o2.
1068 PyAPI_FUNC(PyObject *) PySequence_Concat(PyObject *o1, PyObject *o2);
1071 Return the concatenation of o1 and o2 on success, and NULL on
1073 expression: o1+o2.
1082 expression: o1*count.
1240 PyAPI_FUNC(PyObject *) PySequence_InPlaceConcat(PyObject *o1, PyObject *o2);
1243 Append o2 to o1, in-place when possible. Return the resulting
1244 object, which could be o1, or NULL on failure. This is the
1245 equivalent of the Python expression: o1 += o2.
1252 Repeat o1 by count, in-place when possible. Return the resulting
1253 object, which could be o1, or NULL on failure. This is the
1254 equivalent of the Python expression: o1 *= count.