Home
last modified time | relevance | path

Searched refs:stoi (Results 1 – 5 of 5) sorted by relevance

/external/libcxx/test/std/strings/string.conversions/
Dstoi.pass.cpp20 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/
Dscanner.l76 static int stoi(char *);
342 {N} { yylval.i = stoi((char *)yytext); return NUM; }
445 stoi(s) in stoi() function
Dscanner.c2774 static int stoi(char *);
3666 { yylval.i = stoi((char *)pcap_text); return NUM; }
4798 stoi(s) in stoi() function
/external/libcxx/src/
Dstring.cpp255 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/
Dstring380 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…