Lines Matching refs:arg
15 double FAST_FUNC bb_strtod(const char *arg, char **endp)
21 if (arg[0] != '-' && arg[0] != '.' && NOT_DIGIT(arg[0]))
24 v = strtod(arg, &endptr);
47 char* FAST_FUNC bb_str_to_ts(struct timespec *ts, const char *arg)
50 ts->tv_sec = bb_strtou(arg, &arg, 10);
52 ts->tv_sec = bb_strtoul(arg, &arg, 10);
54 ts->tv_sec = bb_strtoull(arg, &arg, 10);
57 if (*arg != '.')
58 return arg;
62 return arg;
64 if (!*++arg) /* "NNN." */
65 return arg;
73 safe_strncpy(buf, arg, 10);
76 arg += ndigits;
82 while (isdigit(*arg)) /* skip possible 10th plus digits */
83 arg++;
85 return arg;