Searched refs:_PyLong_Sign (Results 1 – 11 of 11) sorted by relevance
400 step_sign = _PyLong_Sign(step); in _PySlice_GetLongIndices()436 if (_PyLong_Sign(start) < 0) { in _PySlice_GetLongIndices()475 if (_PyLong_Sign(stop) < 0) { in _PySlice_GetLongIndices()535 if (_PyLong_Sign(length) < 0) { in slice_indices()
683 _PyLong_Sign(PyObject *vv) in _PyLong_Sign() function999 if (PyLong_Check(vv) && _PyLong_Sign(vv) < 0) in PyLong_AsVoidPtr()1010 if (PyLong_Check(vv) && _PyLong_Sign(vv) < 0) in PyLong_AsVoidPtr()1353 if (PyLong_Check(obj) && _PyLong_Sign(obj) < 0) { in _PyLong_UnsignedShort_Converter()1375 if (PyLong_Check(obj) && _PyLong_Sign(obj) < 0) { in _PyLong_UnsignedInt_Converter()1397 if (PyLong_Check(obj) && _PyLong_Sign(obj) < 0) { in _PyLong_UnsignedLong_Converter()1414 if (PyLong_Check(obj) && _PyLong_Sign(obj) < 0) { in _PyLong_UnsignedLongLong_Converter()1431 if (PyLong_Check(obj) && _PyLong_Sign(obj) < 0) { in _PyLong_Size_t_Converter()
37 if (step && _PyLong_Sign(step) == 0) { in validate_step()
405 int wsign = _PyLong_Sign(w); in float_richcompare()
1510 if (_PyLong_Sign(value) < 0) in PyNumber_AsSsize_t()
114 PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
598 if (_PyLong_Sign(value) < 0) in PyNumber_AsOff_t()
1746 if (_PyLong_Sign(n) < 0) { in math_isqrt()1752 if (_PyLong_Sign(n) == 0) { in math_isqrt()
2345 sign = _PyLong_Sign(plong); in test_long_numbits()
2136 int sign = _PyLong_Sign(obj); in save_long()
1527 if (_PyLong_Sign(length_attr) == -1) { in PyCArrayType_new()