Searched refs:_PyLong_Sign (Results 1 – 17 of 17) sorted by relevance
390 step_sign = _PyLong_Sign(step); in _PySlice_GetLongIndices()426 if (_PyLong_Sign(start) < 0) { in _PySlice_GetLongIndices()465 if (_PyLong_Sign(stop) < 0) { in _PySlice_GetLongIndices()525 if (_PyLong_Sign(length) < 0) { in slice_indices()
32 if (step && _PyLong_Sign(step) == 0) { in validate_step()
713 _PyLong_Sign(PyObject *vv) in _PyLong_Sign() function1042 if (PyLong_Check(vv) && _PyLong_Sign(vv) < 0) in PyLong_AsVoidPtr()1053 if (PyLong_Check(vv) && _PyLong_Sign(vv) < 0) in PyLong_AsVoidPtr()
375 int wsign = _PyLong_Sign(w); in float_richcompare()
1323 if (_PyLong_Sign(value) < 0) in PyNumber_AsSsize_t()
67 PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
107 PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
527 if (_PyLong_Sign(value) < 0) in PyNumber_AsOff_t()
577 if (_PyLong_Sign(value) < 0) in PyNumber_AsOff_t()
416 "_PyLong_Sign"
481 _PyLong_Sign(PyObject *vv) in _PyLong_Sign() function806 else if (PyLong_Check(vv) && _PyLong_Sign(vv) < 0) in PyLong_AsVoidPtr()822 else if (PyLong_Check(vv) && _PyLong_Sign(vv) < 0) in PyLong_AsVoidPtr()
469 int wsign = _PyLong_Sign(w); in float_richcompare()
1547 if (_PyLong_Sign(value) < 0)
1850 int sign = _PyLong_Sign(plong); in test_long_numbits()
1098 int sign = _PyLong_Sign(args); in save_long()
2118 sign = _PyLong_Sign(plong); in test_long_numbits()
1984 int sign = _PyLong_Sign(obj); in save_long()