Searched refs:stoi (Results 1 – 5 of 5) sorted by relevance
/external/libcxx/test/std/strings/string.conversions/ |
D | stoi.pass.cpp | 20 assert(std::stoi("0") == 0); in main() 21 assert(std::stoi(L"0") == 0); in main() 22 assert(std::stoi("-0") == 0); in main() 23 assert(std::stoi(L"-0") == 0); in main() 24 assert(std::stoi("-10") == -10); in main() 25 assert(std::stoi(L"-10") == -10); in main() 26 assert(std::stoi(" 10") == 10); in main() 27 assert(std::stoi(L" 10") == 10); in main() 29 assert(std::stoi("10g", &idx, 16) == 16); in main() 32 assert(std::stoi(L"10g", &idx, 16) == 16); in main() [all …]
|
/external/libpcap/ |
D | scanner.l | 76 static int stoi(char *); 342 {N} { yylval.i = stoi((char *)yytext); return NUM; } 445 stoi(s) in stoi() function
|
D | scanner.c | 2774 static int stoi(char *); 3666 { yylval.i = stoi((char *)pcap_text); return NUM; } 4798 stoi(s) in stoi() function
|
/external/libcxx/src/ |
D | string.cpp | 255 stoi(const string& str, size_t* idx, int base) in stoi() function 261 stoi(const wstring& str, size_t* idx, int base) in stoi() function
|
/external/libcxx/include/ |
D | string | 380 int stoi (const string& str, size_t* idx = 0, int base = 10); 400 int stoi (const wstring& str, size_t* idx = 0, int base = 10); 4077 _LIBCPP_FUNC_VIS int stoi (const string& __str, size_t* __idx = 0, int __base = 10); 4097 _LIBCPP_FUNC_VIS int stoi (const wstring& __str, size_t* __idx = 0, int __base = 10…
|