Home
last modified time | relevance | path

Searched refs:PyLong_MARSHAL_RATIO (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dmarshal.c166 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT) macro
182 l = (n-1) * PyLong_MARSHAL_RATIO; in w_PyLong()
198 for (j=0; j < PyLong_MARSHAL_RATIO; j++) { in w_PyLong()
596 size = 1 + (ABS(n) - 1) / PyLong_MARSHAL_RATIO; in r_PyLong()
597 shorts_in_top_digit = 1 + (ABS(n) - 1) % PyLong_MARSHAL_RATIO; in r_PyLong()
605 for (j=0; j < PyLong_MARSHAL_RATIO; j++) { in r_PyLong()
/external/python/cpython3/Python/
Dmarshal.c220 #define PyLong_MARSHAL_RATIO (PyLong_SHIFT / PyLong_MARSHAL_SHIFT) macro
240 l = (n-1) * PyLong_MARSHAL_RATIO; in w_PyLong()
256 for (j=0; j < PyLong_MARSHAL_RATIO; j++) { in w_PyLong()
785 size = 1 + (Py_ABS(n) - 1) / PyLong_MARSHAL_RATIO; in r_PyLong()
786 shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % PyLong_MARSHAL_RATIO; in r_PyLong()
795 for (j=0; j < PyLong_MARSHAL_RATIO; j++) { in r_PyLong()