Home
last modified time | relevance | path

Searched refs:sdigit (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Include/
Dlongintrepr.h46 typedef int32_t sdigit; /* signed variant of digit */ typedef
54 typedef short sdigit; /* signed variant of digit */
/third_party/python/Misc/
Dcoverity_model.c23 typedef int sdigit; typedef
41 static PyObject *get_small_int(sdigit ival) in get_small_int()
/third_party/python/Objects/
Dlongobject.c32 Py_SIZE(x) < 0 ? -(sdigit)(x)->ob_digit[0] : \
33 (Py_SIZE(x) == 0 ? (sdigit)0 : \
34 (sdigit)(x)->ob_digit[0]))
42 get_small_int(sdigit ival) in get_small_int()
54 sdigit ival = MEDIUM_VALUE(v); in maybe_small_long()
158 sdigit ival = MEDIUM_VALUE(src); in _PyLong_Copy()
185 return get_small_int((sdigit)ival); in PyLong_FromLong()
248 return get_small_int((sdigit)(ival)); \
404 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongAndOverflow()
505 case -1: return -(sdigit)v->ob_digit[0]; in PyLong_AsSsize_t()
[all …]
Dlistobject.c2094 PyLongObject *vl, *wl; sdigit v0, w0; int res; in unsafe_long_compare()
2105 v0 = Py_SIZE(vl) == 0 ? 0 : (sdigit)vl->ob_digit[0]; in unsafe_long_compare()
2106 w0 = Py_SIZE(wl) == 0 ? 0 : (sdigit)wl->ob_digit[0]; in unsafe_long_compare()