Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/string.conversions/
Dstof.pass.cpp24 assert(std::stof("0") == 0); in main()
25 assert(std::stof(L"0") == 0); in main()
26 assert(std::stof("-0") == 0); in main()
27 assert(std::stof(L"-0") == 0); in main()
28 assert(std::stof("-10") == -10); in main()
29 assert(std::stof(L"-10.5") == -10.5); in main()
30 assert(std::stof(" 10") == 10); in main()
31 assert(std::stof(L" 10") == 10); in main()
33 assert(std::stof("10g", &idx) == 10); in main()
36 assert(std::stof(L"10g", &idx) == 10); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstring.cpp315 stof(const string& str, size_t* idx) in stof() function
321 stof(const wstring& str, size_t* idx) in stof() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstring386 float stof (const string& str, size_t* idx = 0);
406 float stof (const wstring& str, size_t* idx = 0);
4129 _LIBCPP_FUNC_VIS float stof (const string& __str, size_t* __idx = 0);
4149 _LIBCPP_FUNC_VIS float stof (const wstring& __str, size_t* __idx = 0);
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk3625 $(call gen-test, strings/string.conversions/stof)
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk3616 $(call gen-test, strings/string.conversions/stof)