Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/stringlib/
Dlocaleutil.h47 PyObject *digits, Py_ssize_t *digits_pos, in InsertThousandsGrouping_fill() argument
71 *digits_pos -= n_chars; in InsertThousandsGrouping_fill()
73 digits, *digits_pos, in InsertThousandsGrouping_fill()
/external/python/cpython3/Python/
Dpystrtod.c173 const char *digits_pos = NULL; in _PyOS_ascii_strtod() local
219 digits_pos = p; in _PyOS_ascii_strtod()
257 copy = (char *)PyMem_MALLOC(end - digits_pos + in _PyOS_ascii_strtod()
266 memcpy(c, digits_pos, decimal_point_pos - digits_pos); in _PyOS_ascii_strtod()
267 c += decimal_point_pos - digits_pos; in _PyOS_ascii_strtod()
280 fail_pos = (char *)digits_pos + in _PyOS_ascii_strtod()
284 fail_pos = (char *)digits_pos + in _PyOS_ascii_strtod()
292 val = strtod(digits_pos, &fail_pos); in _PyOS_ascii_strtod()
295 if (fail_pos == digits_pos) in _PyOS_ascii_strtod()
/external/python/cpython2/Python/
Dpystrtod.c134 const char *digits_pos = NULL; in _PyOS_ascii_strtod() local
180 digits_pos = p; in _PyOS_ascii_strtod()
218 copy = (char *)PyMem_MALLOC(end - digits_pos + in _PyOS_ascii_strtod()
227 memcpy(c, digits_pos, decimal_point_pos - digits_pos); in _PyOS_ascii_strtod()
228 c += decimal_point_pos - digits_pos; in _PyOS_ascii_strtod()
241 fail_pos = (char *)digits_pos + in _PyOS_ascii_strtod()
245 fail_pos = (char *)digits_pos + in _PyOS_ascii_strtod()
253 val = strtod(digits_pos, &fail_pos); in _PyOS_ascii_strtod()
256 if (fail_pos == digits_pos) in _PyOS_ascii_strtod()
/external/python/cpython3/Objects/
Dunicodeobject.c9394 Py_ssize_t digits_pos; in _PyUnicode_InsertThousandsGrouping() local
9409 digits_pos = d_pos + n_digits; in _PyUnicode_InsertThousandsGrouping()
9413 assert(digits_pos <= PyUnicode_GET_LENGTH(digits)); in _PyUnicode_InsertThousandsGrouping()
9435 digits, &digits_pos, in _PyUnicode_InsertThousandsGrouping()
9464 digits, &digits_pos, in _PyUnicode_InsertThousandsGrouping()