/external/libcxx/test/strings/string.conversions/ |
stoi.pass.cpp | 12 // int stoi(const string& str, size_t *idx = 0, int base = 10); 13 // int stoi(const wstring& str, size_t *idx = 0, int base = 10); 20 assert(std::stoi("0") == 0); 21 assert(std::stoi(L"0") == 0); 22 assert(std::stoi("-0") == 0); 23 assert(std::stoi(L"-0") == 0); 24 assert(std::stoi("-10") == -10); 25 assert(std::stoi(L"-10") == -10); 26 assert(std::stoi(" 10") == 10); 27 assert(std::stoi(L" 10") == 10) [all...] |
Android.mk | 55 test_name := strings/string.conversions/stoi 56 test_src := stoi.pass.cpp
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/string.conversions/ |
stoi.pass.cpp | 12 // int stoi(const string& str, size_t *idx = 0, int base = 10); 13 // int stoi(const wstring& str, size_t *idx = 0, int base = 10); 20 assert(std::stoi("0") == 0); 21 assert(std::stoi(L"0") == 0); 22 assert(std::stoi("-0") == 0); 23 assert(std::stoi(L"-0") == 0); 24 assert(std::stoi("-10") == -10); 25 assert(std::stoi(L"-10") == -10); 26 assert(std::stoi(" 10") == 10); 27 assert(std::stoi(L" 10") == 10) [all...] |
/external/libpcap/ |
scanner.l | 76 static int stoi(char *); 342 {N} { yylval.i = stoi((char *)yytext); return NUM; } 445 stoi(s)
|
scanner.c | 4798 stoi(s) function [all...] |
/external/libcxx/src/ |
string.cpp | 255 stoi(const string& str, size_t* idx, int base) function 257 return as_integer<int>( "stoi", str, idx, base ); 261 stoi(const wstring& str, size_t* idx, int base) function 263 return as_integer<int>( "stoi", str, idx, base );
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
string.cpp | 255 stoi(const string& str, size_t* idx, int base) function 257 return as_integer<int>( "stoi", str, idx, base ); 261 stoi(const wstring& str, size_t* idx, int base) function 263 return as_integer<int>( "stoi", str, idx, base );
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/bits/ |
basic_string.h | 2764 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2867 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/ext/ |
vstring.h | 2541 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2643 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
basic_string.h | 2823 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2926 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/ |
vstring.h | 2584 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2686 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
basic_string.h | 2823 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2926 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/ |
vstring.h | 2584 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2686 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
basic_string.h | 2568 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2629 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
vstring.h | 2464 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2524 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
basic_string.h | 2568 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2629 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
vstring.h | 2464 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2524 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
basic_string.h | 2568 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2629 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
vstring.h | 2464 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2524 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
basic_string.h | 2568 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2629 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
vstring.h | 2460 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2520 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
basic_string.h | 2764 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2867 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
vstring.h | 2541 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2643 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
basic_string.h | 2822 stoi(const string& __str, size_t* __idx = 0, int __base = 10) function 2925 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
vstring.h | 2550 stoi(const __vstring& __str, std::size_t* __idx = 0, int __base = 10) function 2652 stoi(const __wvstring& __str, std::size_t* __idx = 0, int __base = 10) function [all...] |