Lines Matching refs:idx
67 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument
79 if (idx) in as_integer_helper()
80 *idx = static_cast<size_t>(ptr - p); in as_integer_helper()
87 as_integer(const string& func, const S& s, size_t* idx, int base);
93 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
96 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
105 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
107 return as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
113 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
115 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ); in as_integer()
121 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
123 return as_integer_helper<long long>( func, s, idx, base, strtoll ); in as_integer()
129 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
131 return as_integer_helper<unsigned long long>( func, s, idx, base, strtoull ); in as_integer()
138 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
141 long r = as_integer_helper<long>( func, s, idx, base, wcstol ); in as_integer()
150 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
152 return as_integer_helper<long>( func, s, idx, base, wcstol ); in as_integer()
158 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
160 return as_integer_helper<unsigned long>( func, s, idx, base, wcstoul ); in as_integer()
166 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
168 return as_integer_helper<long long>( func, s, idx, base, wcstoll ); in as_integer()
174 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
176 return as_integer_helper<unsigned long long>( func, s, idx, base, wcstoull ); in as_integer()
184 as_float_helper(const string& func, const S& str, size_t* idx, F f ) in as_float_helper() argument
196 if (idx) in as_float_helper()
197 *idx = static_cast<size_t>(ptr - p); in as_float_helper()
203 V as_float( const string& func, const S& s, size_t* idx = nullptr );
208 as_float( const string& func, const string& s, size_t* idx ) in as_float() argument
210 return as_float_helper<float>( func, s, idx, strtof ); in as_float()
216 as_float(const string& func, const string& s, size_t* idx ) in as_float() argument
218 return as_float_helper<double>( func, s, idx, strtod ); in as_float()
224 as_float( const string& func, const string& s, size_t* idx ) in as_float() argument
226 return as_float_helper<long double>( func, s, idx, strtold ); in as_float()
232 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() argument
234 return as_float_helper<float>( func, s, idx, wcstof ); in as_float()
240 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() argument
242 return as_float_helper<double>( func, s, idx, wcstod ); in as_float()
248 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() argument
250 return as_float_helper<long double>( func, s, idx, wcstold ); in as_float()
256 stoi(const string& str, size_t* idx, int base) in stoi() argument
258 return as_integer<int>( "stoi", str, idx, base ); in stoi()
262 stoi(const wstring& str, size_t* idx, int base) in stoi() argument
264 return as_integer<int>( "stoi", str, idx, base ); in stoi()
268 stol(const string& str, size_t* idx, int base) in stol() argument
270 return as_integer<long>( "stol", str, idx, base ); in stol()
274 stol(const wstring& str, size_t* idx, int base) in stol() argument
276 return as_integer<long>( "stol", str, idx, base ); in stol()
280 stoul(const string& str, size_t* idx, int base) in stoul() argument
282 return as_integer<unsigned long>( "stoul", str, idx, base ); in stoul()
286 stoul(const wstring& str, size_t* idx, int base) in stoul() argument
288 return as_integer<unsigned long>( "stoul", str, idx, base ); in stoul()
292 stoll(const string& str, size_t* idx, int base) in stoll() argument
294 return as_integer<long long>( "stoll", str, idx, base ); in stoll()
298 stoll(const wstring& str, size_t* idx, int base) in stoll() argument
300 return as_integer<long long>( "stoll", str, idx, base ); in stoll()
304 stoull(const string& str, size_t* idx, int base) in stoull() argument
306 return as_integer<unsigned long long>( "stoull", str, idx, base ); in stoull()
310 stoull(const wstring& str, size_t* idx, int base) in stoull() argument
312 return as_integer<unsigned long long>( "stoull", str, idx, base ); in stoull()
316 stof(const string& str, size_t* idx) in stof() argument
318 return as_float<float>( "stof", str, idx ); in stof()
322 stof(const wstring& str, size_t* idx) in stof() argument
324 return as_float<float>( "stof", str, idx ); in stof()
328 stod(const string& str, size_t* idx) in stod() argument
330 return as_float<double>( "stod", str, idx ); in stod()
334 stod(const wstring& str, size_t* idx) in stod() argument
336 return as_float<double>( "stod", str, idx ); in stod()
340 stold(const string& str, size_t* idx) in stold() argument
342 return as_float<long double>( "stold", str, idx ); in stold()
346 stold(const wstring& str, size_t* idx) in stold() argument
348 return as_float<long double>( "stold", str, idx ); in stold()