Lines Matching refs:nptr
295 g_strtod (const gchar *nptr,
303 g_return_val_if_fail (nptr != NULL, 0);
308 val_1 = strtod (nptr, &fail_pos_1);
311 val_2 = g_ascii_strtod (nptr, &fail_pos_2);
358 g_ascii_strtod (const gchar *nptr,
370 g_return_val_if_fail (nptr != NULL, 0);
386 p = nptr;
447 copy = g_malloc (end - nptr + 1 + decimal_point_len);
450 memcpy (c, nptr, decimal_point_pos - nptr);
451 c += decimal_point_pos - nptr;
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);
477 copy = g_malloc (end - (char *)nptr + 1);
478 memcpy (copy, nptr, end - nptr);
479 *(copy + (end - (char *)nptr)) = 0;
487 fail_pos = (char *)nptr + (fail_pos - copy);
495 val = strtod (nptr, &fail_pos);
638 g_parse_long_long (const gchar *nptr,
655 g_return_val_if_fail (nptr != NULL, 0);
663 save = s = nptr;
748 if (save - nptr >= 2 && TOUPPER (save[-1]) == 'X'
753 *endptr = (gchar*) nptr;
787 g_ascii_strtoull (const gchar *nptr,
794 result = g_parse_long_long (nptr, endptr, base, &negative);
829 g_ascii_strtoll (const gchar *nptr,
836 result = g_parse_long_long (nptr, endptr, base, &negative);