Lines Matching refs:result
80 typedef void FAST_FUNC (*converter)(const char *arg, void *result);
82 static int multiconvert(const char *arg, void *result, converter convert) in multiconvert() argument
88 convert(arg, result); in multiconvert()
96 static void FAST_FUNC conv_strtoull(const char *arg, void *result) in conv_strtoull() argument
104 *(unsigned long long*)result = bb_strtoull(arg, NULL, 0); in conv_strtoull()
111 *(unsigned long long*)result = bb_strtoll(arg, NULL, 0); in conv_strtoull()
114 static void FAST_FUNC conv_strtoll(const char *arg, void *result) in conv_strtoll() argument
118 *(long long*)result = bb_strtoll(arg, NULL, 0); in conv_strtoll()
120 static void FAST_FUNC conv_strtod(const char *arg, void *result) in conv_strtod() argument
126 *(double*)result = strtod(arg, &end); in conv_strtod()
129 *(double*)result = 0; in conv_strtod()
136 unsigned long long result; in my_xstrtoull() local
137 if (multiconvert(arg, &result, conv_strtoull)) in my_xstrtoull()
138 result = 0; in my_xstrtoull()
139 return result; in my_xstrtoull()
143 long long result; in my_xstrtoll() local
144 if (multiconvert(arg, &result, conv_strtoll)) in my_xstrtoll()
145 result = 0; in my_xstrtoll()
146 return result; in my_xstrtoll()
150 double result; in my_xstrtod() local
151 multiconvert(arg, &result, conv_strtod); in my_xstrtod()
152 return result; in my_xstrtod()