• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/libcxx/src/

Lines Matching defs:idx

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