Searched refs:digitval (Results 1 – 4 of 4) sorted by relevance
112 Py_ssize_t digitval; in get_integer() local120 digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ_CHAR(str->str, i)); in get_integer()121 if (digitval < 0) in get_integer()129 if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) { in get_integer()134 accumulator = accumulator * 10 + digitval; in get_integer()
199 Py_ssize_t digitval; in get_integer() local207 digitval = STRINGLIB_TODECIMAL(*p); in get_integer()208 if (digitval < 0) in get_integer()216 if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) { in get_integer()221 accumulator = accumulator * 10 + digitval; in get_integer()
76 Py_ssize_t accumulator, digitval; in get_integer() local82 digitval = STRINGLIB_TODECIMAL(**ptr); in get_integer()83 if (digitval < 0) in get_integer()91 if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) { in get_integer()96 accumulator = accumulator * 10 + digitval; in get_integer()
62 Py_ssize_t accumulator, digitval, pos = *ppos; in get_integer() local69 digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ(kind, data, pos)); in get_integer()70 if (digitval < 0) in get_integer()78 if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) { in get_integer()84 accumulator = accumulator * 10 + digitval; in get_integer()