• Home
  • Raw
  • Download

Lines Matching refs:idx

66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f)  in as_integer_helper()  argument
78 if (idx) in as_integer_helper()
79 *idx = static_cast<size_t>(ptr - p); in as_integer_helper()
86 as_integer(const string& func, const S& s, size_t* idx, int base);
92 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
95 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
104 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
106 return as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer()
112 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
114 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ); in as_integer()
120 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
122 return as_integer_helper<long long>( func, s, idx, base, strtoll ); in as_integer()
128 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() argument
130 return as_integer_helper<unsigned long long>( func, s, idx, base, strtoull ); in as_integer()
137 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
140 long r = as_integer_helper<long>( func, s, idx, base, wcstol ); in as_integer()
149 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
151 return as_integer_helper<long>( func, s, idx, base, wcstol ); in as_integer()
157 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
159 return as_integer_helper<unsigned long>( func, s, idx, base, wcstoul ); in as_integer()
165 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
167 return as_integer_helper<long long>( func, s, idx, base, wcstoll ); in as_integer()
173 as_integer( const string& func, const wstring& s, size_t* idx, int base ) in as_integer() argument
175 return as_integer_helper<unsigned long long>( func, s, idx, base, wcstoull ); in as_integer()
183 as_float_helper(const string& func, const S& str, size_t* idx, F f ) in as_float_helper() argument
195 if (idx) in as_float_helper()
196 *idx = static_cast<size_t>(ptr - p); in as_float_helper()
202 V as_float( const string& func, const S& s, size_t* idx = nullptr );
207 as_float( const string& func, const string& s, size_t* idx ) in as_float() argument
209 return as_float_helper<float>( func, s, idx, strtod ); in as_float()
215 as_float(const string& func, const string& s, size_t* idx ) in as_float() argument
217 return as_float_helper<double>( func, s, idx, strtod ); in as_float()
223 as_float( const string& func, const string& s, size_t* idx ) in as_float() argument
225 return as_float_helper<long double>( func, s, idx, strtold ); in as_float()
231 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() argument
233 return as_float_helper<float>( func, s, idx, wcstod ); in as_float()
239 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() argument
241 return as_float_helper<double>( func, s, idx, wcstod ); in as_float()
247 as_float( const string& func, const wstring& s, size_t* idx ) in as_float() argument
249 return as_float_helper<long double>( func, s, idx, wcstold ); in as_float()
255 stoi(const string& str, size_t* idx, int base) in stoi() argument
257 return as_integer<int>( "stoi", str, idx, base ); in stoi()
261 stoi(const wstring& str, size_t* idx, int base) in stoi() argument
263 return as_integer<int>( "stoi", str, idx, base ); in stoi()
267 stol(const string& str, size_t* idx, int base) in stol() argument
269 return as_integer<long>( "stol", str, idx, base ); in stol()
273 stol(const wstring& str, size_t* idx, int base) in stol() argument
275 return as_integer<long>( "stol", str, idx, base ); in stol()
279 stoul(const string& str, size_t* idx, int base) in stoul() argument
281 return as_integer<unsigned long>( "stoul", str, idx, base ); in stoul()
285 stoul(const wstring& str, size_t* idx, int base) in stoul() argument
287 return as_integer<unsigned long>( "stoul", str, idx, base ); in stoul()
291 stoll(const string& str, size_t* idx, int base) in stoll() argument
293 return as_integer<long long>( "stoll", str, idx, base ); in stoll()
297 stoll(const wstring& str, size_t* idx, int base) in stoll() argument
299 return as_integer<long long>( "stoll", str, idx, base ); in stoll()
303 stoull(const string& str, size_t* idx, int base) in stoull() argument
305 return as_integer<unsigned long long>( "stoull", str, idx, base ); in stoull()
309 stoull(const wstring& str, size_t* idx, int base) in stoull() argument
311 return as_integer<unsigned long long>( "stoull", str, idx, base ); in stoull()
315 stof(const string& str, size_t* idx) in stof() argument
317 return as_float<float>( "stof", str, idx ); in stof()
321 stof(const wstring& str, size_t* idx) in stof() argument
323 return as_float<float>( "stof", str, idx ); in stof()
327 stod(const string& str, size_t* idx) in stod() argument
329 return as_float<double>( "stod", str, idx ); in stod()
333 stod(const wstring& str, size_t* idx) in stod() argument
335 return as_float<double>( "stod", str, idx ); in stod()
339 stold(const string& str, size_t* idx) in stold() argument
341 return as_float<long double>( "stold", str, idx ); in stold()
345 stold(const wstring& str, size_t* idx) in stold() argument
347 return as_float<long double>( "stold", str, idx ); in stold()