• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/cxx/cxx/

Lines Matching refs:idx

68 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f)
80 if (idx)
81 *idx = static_cast<size_t>(ptr - p);
88 as_integer(const string& func, const S& s, size_t* idx, int base);
94 as_integer(const string& func, const string& s, size_t* idx, int base )
97 long r = as_integer_helper<long>( func, s, idx, base, strtol );
106 as_integer(const string& func, const string& s, size_t* idx, int base )
108 return as_integer_helper<long>( func, s, idx, base, strtol );
114 as_integer( const string& func, const string& s, size_t* idx, int base )
116 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul );
122 as_integer( const string& func, const string& s, size_t* idx, int base )
124 return as_integer_helper<long long>( func, s, idx, base, strtoll );
130 as_integer( const string& func, const string& s, size_t* idx, int base )
132 return as_integer_helper<unsigned long long>( func, s, idx, base, strtoull );
139 as_integer( const string& func, const wstring& s, size_t* idx, int base )
142 long r = as_integer_helper<long>( func, s, idx, base, wcstol );
151 as_integer( const string& func, const wstring& s, size_t* idx, int base )
153 return as_integer_helper<long>( func, s, idx, base, wcstol );
159 as_integer( const string& func, const wstring& s, size_t* idx, int base )
161 return as_integer_helper<unsigned long>( func, s, idx, base, wcstoul );
167 as_integer( const string& func, const wstring& s, size_t* idx, int base )
169 return as_integer_helper<long long>( func, s, idx, base, wcstoll );
175 as_integer( const string& func, const wstring& s, size_t* idx, int base )
177 return as_integer_helper<unsigned long long>( func, s, idx, base, wcstoull );
185 as_float_helper(const string& func, const S& str, size_t* idx, F f )
197 if (idx)
198 *idx = static_cast<size_t>(ptr - p);
204 V as_float( const string& func, const S& s, size_t* idx = nullptr );
209 as_float( const string& func, const string& s, size_t* idx )
211 return as_float_helper<float>( func, s, idx, strtof );
217 as_float(const string& func, const string& s, size_t* idx )
219 return as_float_helper<double>( func, s, idx, strtod );
225 as_float( const string& func, const string& s, size_t* idx )
228 return as_float_helper<long double>( func, s, idx, strtod );
230 return as_float_helper<long double>( func, s, idx, strtold );
237 as_float( const string& func, const wstring& s, size_t* idx )
239 return as_float_helper<float>( func, s, idx, wcstof );
245 as_float( const string& func, const wstring& s, size_t* idx )
247 return as_float_helper<double>( func, s, idx, wcstod );
253 as_float( const string& func, const wstring& s, size_t* idx )
256 return as_float_helper<long double>( func, s, idx, wcstod );
258 return as_float_helper<long double>( func, s, idx, wcstold );
265 stoi(const string& str, size_t* idx, int base)
267 return as_integer<int>( "stoi", str, idx, base );
271 stoi(const wstring& str, size_t* idx, int base)
273 return as_integer<int>( "stoi", str, idx, base );
277 stol(const string& str, size_t* idx, int base)
279 return as_integer<long>( "stol", str, idx, base );
283 stol(const wstring& str, size_t* idx, int base)
285 return as_integer<long>( "stol", str, idx, base );
289 stoul(const string& str, size_t* idx, int base)
291 return as_integer<unsigned long>( "stoul", str, idx, base );
295 stoul(const wstring& str, size_t* idx, int base)
297 return as_integer<unsigned long>( "stoul", str, idx, base );
301 stoll(const string& str, size_t* idx, int base)
303 return as_integer<long long>( "stoll", str, idx, base );
307 stoll(const wstring& str, size_t* idx, int base)
309 return as_integer<long long>( "stoll", str, idx, base );
313 stoull(const string& str, size_t* idx, int base)
315 return as_integer<unsigned long long>( "stoull", str, idx, base );
319 stoull(const wstring& str, size_t* idx, int base)
321 return as_integer<unsigned long long>( "stoull", str, idx, base );
325 stof(const string& str, size_t* idx)
327 return as_float<float>( "stof", str, idx );
331 stof(const wstring& str, size_t* idx)
333 return as_float<float>( "stof", str, idx );
337 stod(const string& str, size_t* idx)
339 return as_float<double>( "stod", str, idx );
343 stod(const wstring& str, size_t* idx)
345 return as_float<double>( "stod", str, idx );
349 stold(const string& str, size_t* idx)
351 return as_float<long double>( "stold", str, idx );
355 stold(const wstring& str, size_t* idx)
357 return as_float<long double>( "stold", str, idx );