Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dlongobject.c52 while (i > 0 && v->ob_digit[i-1] == 0) in long_normalize()
63 ((PY_SSIZE_T_MAX - offsetof(PyLongObject, ob_digit))/sizeof(digit))
93 result->ob_digit[i] = src->ob_digit[i]; in _PyLong_Copy()
131 digit *p = v->ob_digit; in PyLong_FromLong()
159 digit *p = v->ob_digit; in PyLong_FromUnsignedLong()
202 v->ob_digit[i] = bits; in PyLong_FromDouble()
281 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongAndOverflow()
287 res = v->ob_digit[0]; in PyLong_AsLongAndOverflow()
298 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()
384 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()
[all …]
/external/python/cpython2/Include/
Dlongintrepr.h92 digit ob_digit[1]; member
/external/python/cpython2/Python/
Dmarshal.c183 d = ob->ob_digit[n-1]; in w_PyLong()
197 d = ob->ob_digit[i]; in w_PyLong()
204 d = ob->ob_digit[n-1]; in w_PyLong()
605 ob->ob_digit[i] = d; in r_PyLong()
623 ob->ob_digit[size-1] = d; in r_PyLong()
/external/python/cpython2/Tools/gdb/
Dlibpython.py796 ob_digit = self.field('ob_digit')
803 digits = [long(ob_digit[i]) * 2**(SHIFT*i)