Home
last modified time | relevance | path

Searched refs:_PyLong_Sign (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Objects/
Dsliceobject.c400 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()
Dlongobject.c683 _PyLong_Sign(PyObject *vv) in _PyLong_Sign() function
999 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()
Drangeobject.c37 if (step && _PyLong_Sign(step) == 0) { in validate_step()
Dfloatobject.c405 int wsign = _PyLong_Sign(w); in float_richcompare()
Dabstract.c1510 if (_PyLong_Sign(value) < 0) in PyNumber_AsSsize_t()
/third_party/python/Include/
Dlongobject.h114 PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
/third_party/python/Modules/_io/
D_iomodule.c598 if (_PyLong_Sign(value) < 0) in PyNumber_AsOff_t()
/third_party/python/Modules/
Dmathmodule.c1746 if (_PyLong_Sign(n) < 0) { in math_isqrt()
1752 if (_PyLong_Sign(n) == 0) { in math_isqrt()
D_testcapimodule.c2345 sign = _PyLong_Sign(plong); in test_long_numbits()
D_pickle.c2136 int sign = _PyLong_Sign(obj); in save_long()
/third_party/python/Modules/_ctypes/
D_ctypes.c1527 if (_PyLong_Sign(length_attr) == -1) { in PyCArrayType_new()