Home
last modified time | relevance | path

Searched refs:PyLong_SHIFT (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dlongintrepr.h49 #define PyLong_SHIFT 30 macro
57 #define PyLong_SHIFT 15
63 #define PyLong_BASE ((digit)1 << PyLong_SHIFT)
67 #define SHIFT PyLong_SHIFT
71 #if PyLong_SHIFT % 5 != 0
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dlongintrepr.h49 #define PyLong_SHIFT 30 macro
57 #define PyLong_SHIFT 15
63 #define PyLong_BASE ((digit)1 << PyLong_SHIFT)
67 #define SHIFT PyLong_SHIFT
71 #if PyLong_SHIFT % 5 != 0
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dlongobject.c143 t >>= PyLong_SHIFT; in PyLong_FromLong()
152 t >>= PyLong_SHIFT; in PyLong_FromLong()
171 t >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()
179 ival >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()
211 ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */ in PyLong_FromDouble()
215 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()
220 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()
314 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()
315 if ((x >> PyLong_SHIFT) != prev) { in PyLong_AsLongAndOverflow()
382 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c143 t >>= PyLong_SHIFT; in PyLong_FromLong()
152 t >>= PyLong_SHIFT; in PyLong_FromLong()
171 t >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()
179 ival >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()
211 ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */ in PyLong_FromDouble()
215 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()
220 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()
314 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()
315 if ((x >> PyLong_SHIFT) != prev) { in PyLong_AsLongAndOverflow()
382 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c139 t >>= PyLong_SHIFT; in PyLong_FromLong()
148 t >>= PyLong_SHIFT; in PyLong_FromLong()
167 t >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()
175 ival >>= PyLong_SHIFT; in PyLong_FromUnsignedLong()
207 ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */ in PyLong_FromDouble()
211 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()
216 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()
310 x = (x << PyLong_SHIFT) + v->ob_digit[i]; in PyLong_AsLongAndOverflow()
311 if ((x >> PyLong_SHIFT) != prev) { in PyLong_AsLongAndOverflow()
396 x = (x << PyLong_SHIFT) | v->ob_digit[i]; in PyLong_AsSsize_t()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dmarshal.c148 #if PyLong_SHIFT % PyLong_MARSHAL_SHIFT != 0
151 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Dmarshal.c169 #if PyLong_SHIFT % PyLong_MARSHAL_SHIFT != 0
172 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dmarshal.c148 #if PyLong_SHIFT % PyLong_MARSHAL_SHIFT != 0
151 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT)