Home
last modified time | relevance | path

Searched refs:fail_pos (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dpystrtod.c167 char *fail_pos; in _PyOS_ascii_strtod() local
179 fail_pos = NULL; in _PyOS_ascii_strtod()
276 val = strtod(copy, &fail_pos); in _PyOS_ascii_strtod()
278 if (fail_pos) in _PyOS_ascii_strtod()
280 if (fail_pos > decimal_point_pos) in _PyOS_ascii_strtod()
281 fail_pos = (char *)digits_pos + in _PyOS_ascii_strtod()
282 (fail_pos - copy) - in _PyOS_ascii_strtod()
285 fail_pos = (char *)digits_pos + in _PyOS_ascii_strtod()
286 (fail_pos - copy); in _PyOS_ascii_strtod()
293 val = strtod(digits_pos, &fail_pos); in _PyOS_ascii_strtod()
[all …]
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.c361 gchar *fail_pos;
372 fail_pos = NULL;
459 val = strtod (copy, &fail_pos);
462 if (fail_pos)
464 if (fail_pos - copy > decimal_point_pos - nptr)
465 fail_pos = (char *)nptr + (fail_pos - copy) - (decimal_point_len - 1);
467 fail_pos = (char *)nptr + (fail_pos - copy);
482 val = strtod (copy, &fail_pos);
485 if (fail_pos)
487 fail_pos = (char *)nptr + (fail_pos - copy);
[all …]
/third_party/glib/glib/
Dgstrfuncs.c744 gchar *fail_pos; in g_ascii_strtod()
757 fail_pos = NULL; in g_ascii_strtod()
849 val = strtod (copy, &fail_pos); in g_ascii_strtod()
852 if (fail_pos) in g_ascii_strtod()
854 if (fail_pos - copy > decimal_point_pos - nptr) in g_ascii_strtod()
855 fail_pos = (char *)nptr + (fail_pos - copy) - (decimal_point_len - 1); in g_ascii_strtod()
857 fail_pos = (char *)nptr + (fail_pos - copy); in g_ascii_strtod()
872 val = strtod (copy, &fail_pos); in g_ascii_strtod()
875 if (fail_pos) in g_ascii_strtod()
877 fail_pos = (char *)nptr + (fail_pos - copy); in g_ascii_strtod()
[all …]