/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
H A D | string_util_gtest.cc | 68 TEST(StringUtilTest, stoi) { 71 EXPECT_EQ(0, benchmark::stoi("0", &pos)); 76 EXPECT_EQ(-17, benchmark::stoi("-17", &pos)); 81 EXPECT_EQ(1357, benchmark::stoi("1357", &pos)); 86 EXPECT_EQ(10, benchmark::stoi("1010", &pos, 2)); 91 EXPECT_EQ(520, benchmark::stoi("1010", &pos, 8)); 96 EXPECT_EQ(1010, benchmark::stoi("1010", &pos, 10)); 101 EXPECT_EQ(4112, benchmark::stoi("1010", &pos, 16)); 106 EXPECT_EQ(0xBEEF, benchmark::stoi("BEEF", &pos, 16)); 110 ASSERT_THROW(benchmark::stoi("thi [all...] |
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
H A D | string_util.h | 44 * stoul, stoi, stod. We reimplement them here using C functions strtoul, 50 int stoi(const std::string& str, size_t* pos = nullptr, int base = 10); 54 using std::stoi;
|
H A D | string_util.cc | 175 * stoul, stoi, stod. We reimplement them here using C functions strtoul, 206 int stoi(const std::string& str, size_t* pos, int base) { function in namespace:benchmark
|
H A D | sysinfo.cc | 448 int CurID = benchmark::stoi(value);
|
/netbsd-current/sys/dev/ieee1394/ |
H A D | fwphyreg.h | 66 stoi:1, member in struct:phyreg_base 96 stoi:1,
|
/netbsd-current/external/apache2/llvm/dist/libcxx/src/ |
H A D | string.cpp | 256 stoi(const string& str, size_t* idx, int base) function 258 return as_integer<int>( "stoi", str, idx, base ); 262 stoi(const wstring& str, size_t* idx, int base) function 264 return as_integer<int>( "stoi", str, idx, base );
|
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
H A D | sysinfo.cc | 409 int CurID = std::stoi(value);
|
/netbsd-current/usr.sbin/fwctl/ |
H A D | fwcontrol.c | 600 b.wdie, b.isbr, b.ctoi, b.cpsi, b.stoi, b.pei, b.eaa, b.emc,
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/ |
H A D | vstring.h | 2695 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2696 { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), 2800 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function 2801 { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
H A D | vstring.h | 2696 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2697 { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), 2801 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function 2802 { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | basic_string.h | 3983 stoi(const string& __str, size_t* __idx = 0, int __base = 10) 3984 { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), 4126 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) 4127 { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(), 3979 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
H A D | basic_string.h | 6568 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 6569 { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), 6699 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) 6700 { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
H A D | Clang.cpp | 3240 if (std::stoi(Val.str()) <= 0)
|