• Home
  • Raw
  • Download

Lines Matching refs:PyLong_Check

476     if (PyLong_Check(vv)) {  in PyLong_AsLongAndOverflow()
586 if (!PyLong_Check(vv)) { in PyLong_AsSsize_t()
635 if (!PyLong_Check(vv)) { in PyLong_AsUnsignedLong()
689 if (!PyLong_Check(vv)) { in PyLong_AsSize_t()
727 if (vv == NULL || !PyLong_Check(vv)) { in _PyLong_AsUnsignedLongMask()
759 if (PyLong_Check(op)) { in PyLong_AsUnsignedLongMask()
778 assert(PyLong_Check(v)); in _PyLong_Sign()
804 assert(PyLong_Check(v)); in _PyLong_NumBits()
956 assert(v != NULL && PyLong_Check(v)); in _PyLong_AsByteArray()
1128 if (PyLong_Check(vv)) { in PyLong_AsNativeBytes()
1359 if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) { in PyLong_AsVoidPtr()
1372 if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) { in PyLong_AsVoidPtr()
1492 if (PyLong_Check(vv)) { in PyLong_AsLongLong()
1535 if (!PyLong_Check(vv)) { in PyLong_AsUnsignedLongLong()
1579 if (vv == NULL || !PyLong_Check(vv)) { in _PyLong_AsUnsignedLongLongMask()
1611 if (PyLong_Check(op)) { in PyLong_AsUnsignedLongLongMask()
1651 if (PyLong_Check(vv)) { in PyLong_AsLongLongAndOverflow()
1717 if (PyLong_Check(obj) && _PyLong_IsNegative((PyLongObject *)obj)) { in _PyLong_UnsignedShort_Converter()
1739 if (PyLong_Check(obj) && _PyLong_IsNegative((PyLongObject *)obj)) { in _PyLong_UnsignedInt_Converter()
1761 if (PyLong_Check(obj) && _PyLong_IsNegative((PyLongObject *)obj)) { in _PyLong_UnsignedLong_Converter()
1778 if (PyLong_Check(obj) && _PyLong_IsNegative((PyLongObject *)obj)) { in _PyLong_UnsignedLongLong_Converter()
1795 if (PyLong_Check(obj) && _PyLong_IsNegative((PyLongObject *)obj)) { in _PyLong_Size_t_Converter()
1810 if (!PyLong_Check(v) || !PyLong_Check(w)) \
2077 if (a == NULL || !PyLong_Check(a)) { in long_to_decimal_string_internal()
2311 if (a == NULL || !PyLong_Check(a)) { in long_format_binary()
2635 if (!PyLong_Check(result)) { in pylong_int_from_string()
3525 if (!PyLong_Check(v)) { in PyLong_AsDouble()
4336 if (!PyLong_Check(q) || !PyLong_Check(r)) { in pylong_int_divmod()
4908 if (PyLong_Check(x)) { in long_pow()
5210 assert(PyLong_Check(shiftby)); in divmod_shift()
5356 assert(PyLong_Check(a)); in _PyLong_Rshift()
5433 assert(PyLong_Check(a)); in _PyLong_Lshift()
5918 assert(PyLong_Check(tmp)); in long_subtype_new()
5930 assert(PyLong_Check(newobj)); in long_subtype_new()
6018 if (!PyLong_Check(a) || !PyLong_Check(b)) { in _PyLong_DivmodNear()
6191 assert(PyLong_Check(self)); in int_bit_length_impl()
6259 assert(PyLong_Check(self)); in int_bit_count_impl()