Lines Matching refs:base
66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument
72 V r = f(p, &ptr, base); 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()
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()