Lines Matching refs:o2

419 /* Returns the result of adding o1 and o2, or NULL on failure.
421 This is the equivalent of the Python expression: o1 + o2. */
422 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
424 /* Returns the result of subtracting o2 from o1, or NULL on failure.
426 This is the equivalent of the Python expression: o1 - o2. */
427 PyAPI_FUNC(PyObject *) PyNumber_Subtract(PyObject *o1, PyObject *o2);
429 /* Returns the result of multiplying o1 and o2, or NULL on failure.
431 This is the equivalent of the Python expression: o1 * o2. */
432 PyAPI_FUNC(PyObject *) PyNumber_Multiply(PyObject *o1, PyObject *o2);
435 /* This is the equivalent of the Python expression: o1 @ o2. */
436 PyAPI_FUNC(PyObject *) PyNumber_MatrixMultiply(PyObject *o1, PyObject *o2);
439 /* Returns the result of dividing o1 by o2 giving an integral result,
442 This is the equivalent of the Python expression: o1 // o2. */
443 PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *o1, PyObject *o2);
445 /* Returns the result of dividing o1 by o2 giving a float result, or NULL on
448 This is the equivalent of the Python expression: o1 / o2. */
449 PyAPI_FUNC(PyObject *) PyNumber_TrueDivide(PyObject *o1, PyObject *o2);
451 /* Returns the remainder of dividing o1 by o2, or NULL on failure.
453 This is the equivalent of the Python expression: o1 % o2. */
454 PyAPI_FUNC(PyObject *) PyNumber_Remainder(PyObject *o1, PyObject *o2);
460 This is the equivalent of the Python expression: divmod(o1, o2). */
461 PyAPI_FUNC(PyObject *) PyNumber_Divmod(PyObject *o1, PyObject *o2);
465 This is the equivalent of the Python expression: pow(o1, o2, o3),
467 PyAPI_FUNC(PyObject *) PyNumber_Power(PyObject *o1, PyObject *o2,
490 /* Returns the result of left shifting o1 by o2 on success, or NULL on failure.
492 This is the equivalent of the Python expression: o1 << o2. */
493 PyAPI_FUNC(PyObject *) PyNumber_Lshift(PyObject *o1, PyObject *o2);
495 /* Returns the result of right shifting o1 by o2 on success, or NULL on
498 This is the equivalent of the Python expression: o1 >> o2. */
499 PyAPI_FUNC(PyObject *) PyNumber_Rshift(PyObject *o1, PyObject *o2);
501 /* Returns the result of bitwise and of o1 and o2 on success, or NULL on
504 This is the equivalent of the Python expression: o1 & o2. */
505 PyAPI_FUNC(PyObject *) PyNumber_And(PyObject *o1, PyObject *o2);
507 /* Returns the bitwise exclusive or of o1 by o2 on success, or NULL on failure.
509 This is the equivalent of the Python expression: o1 ^ o2. */
510 PyAPI_FUNC(PyObject *) PyNumber_Xor(PyObject *o1, PyObject *o2);
512 /* Returns the result of bitwise or on o1 and o2 on success, or NULL on
515 This is the equivalent of the Python expression: o1 | o2. */
516 PyAPI_FUNC(PyObject *) PyNumber_Or(PyObject *o1, PyObject *o2);
549 /* Returns the result of adding o2 to o1, possibly in-place, or NULL
552 This is the equivalent of the Python expression: o1 += o2. */
553 PyAPI_FUNC(PyObject *) PyNumber_InPlaceAdd(PyObject *o1, PyObject *o2);
555 /* Returns the result of subtracting o2 from o1, possibly in-place or
558 This is the equivalent of the Python expression: o1 -= o2. */
559 PyAPI_FUNC(PyObject *) PyNumber_InPlaceSubtract(PyObject *o1, PyObject *o2);
561 /* Returns the result of multiplying o1 by o2, possibly in-place, or NULL on
564 This is the equivalent of the Python expression: o1 *= o2. */
565 PyAPI_FUNC(PyObject *) PyNumber_InPlaceMultiply(PyObject *o1, PyObject *o2);
568 /* This is the equivalent of the Python expression: o1 @= o2. */
569 PyAPI_FUNC(PyObject *) PyNumber_InPlaceMatrixMultiply(PyObject *o1, PyObject *o2);
572 /* Returns the result of dividing o1 by o2 giving an integral result, possibly
575 This is the equivalent of the Python expression: o1 /= o2. */
577 PyObject *o2);
579 /* Returns the result of dividing o1 by o2 giving a float result, possibly
582 This is the equivalent of the Python expression: o1 /= o2. */
584 PyObject *o2);
586 /* Returns the remainder of dividing o1 by o2, possibly in-place, or NULL on
589 This is the equivalent of the Python expression: o1 %= o2. */
590 PyAPI_FUNC(PyObject *) PyNumber_InPlaceRemainder(PyObject *o1, PyObject *o2);
592 /* Returns the result of raising o1 to the power of o2, possibly in-place,
595 This is the equivalent of the Python expression: o1 **= o2,
596 or o1 = pow(o1, o2, o3) if o3 is present. */
597 PyAPI_FUNC(PyObject *) PyNumber_InPlacePower(PyObject *o1, PyObject *o2,
600 /* Returns the result of left shifting o1 by o2, possibly in-place, or NULL
603 This is the equivalent of the Python expression: o1 <<= o2. */
604 PyAPI_FUNC(PyObject *) PyNumber_InPlaceLshift(PyObject *o1, PyObject *o2);
606 /* Returns the result of right shifting o1 by o2, possibly in-place or NULL
609 This is the equivalent of the Python expression: o1 >>= o2. */
610 PyAPI_FUNC(PyObject *) PyNumber_InPlaceRshift(PyObject *o1, PyObject *o2);
612 /* Returns the result of bitwise and of o1 and o2, possibly in-place, or NULL
615 This is the equivalent of the Python expression: o1 &= o2. */
616 PyAPI_FUNC(PyObject *) PyNumber_InPlaceAnd(PyObject *o1, PyObject *o2);
618 /* Returns the bitwise exclusive or of o1 by o2, possibly in-place, or NULL
621 This is the equivalent of the Python expression: o1 ^= o2. */
622 PyAPI_FUNC(PyObject *) PyNumber_InPlaceXor(PyObject *o1, PyObject *o2);
624 /* Returns the result of bitwise or of o1 and o2, possibly in-place,
627 This is the equivalent of the Python expression: o1 |= o2. */
628 PyAPI_FUNC(PyObject *) PyNumber_InPlaceOr(PyObject *o1, PyObject *o2);
654 /* Return the concatenation of o1 and o2 on success, and NULL on failure.
656 This is the equivalent of the Python expression: o1 + o2. */
657 PyAPI_FUNC(PyObject *) PySequence_Concat(PyObject *o1, PyObject *o2);
767 /* Append sequence 'o2' to sequence 'o1', in-place when possible. Return the
770 This is the equivalent of the Python expression: o1 += o2. */
771 PyAPI_FUNC(PyObject *) PySequence_InPlaceConcat(PyObject *o1, PyObject *o2);