Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/strings/string.conversions/
H A Dstol.pass.cpp22 assert(std::stol("0") == 0); in main()
23 assert(std::stol("-0") == 0); in main()
24 assert(std::stol("-10") == -10); in main()
25 assert(std::stol(" 10") == 10); in main()
35 (void)std::stol("", &idx); in main()
53 (void)std::stol("a1", &idx); in main()
72 assert(std::stol(L"0") == 0); in main()
73 assert(std::stol(L"-0") == 0); in main()
74 assert(std::stol(L"-10") == -10); in main()
75 assert(std::stol(L" 10") == 10); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/support/
H A Dparse_integer.h30 return std::stol(str);
/llvm-project-15.0.7/libcxx/src/
H A Dstring.cpp229 long stol(const string& str, size_t* idx, int base) { in stol() function
262 long stol(const wstring& str, size_t* idx, int base) { in stol() function
/llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/
H A Drtl.cpp713 StackLimit = std::stol(EnvStr); in initDevice()
721 HeapLimit = std::stol(EnvStr); in initDevice()
/llvm-project-15.0.7/libcxx/include/
H A Dstring464 long stol (const string& str, size_t* idx = nullptr, int base = 10);
484 long stol (const wstring& str, size_t* idx = nullptr, int base = 10);
4512 _LIBCPP_FUNC_VIS long stol (const string& __str, size_t* __idx = nullptr, int __base…
4533 _LIBCPP_FUNC_VIS long stol (const wstring& __str, size_t* __idx = nullptr, int __bas…