Home
last modified time | relevance | path

Searched refs:stod (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/test/std/strings/string.conversions/
Dstod.pass.cpp24 assert(std::stod("0") == 0); in main()
25 assert(std::stod(L"0") == 0); in main()
26 assert(std::stod("-0") == 0); in main()
27 assert(std::stod(L"-0") == 0); in main()
28 assert(std::stod("-10") == -10); in main()
29 assert(std::stod(L"-10.5") == -10.5); in main()
30 assert(std::stod(" 10") == 10); in main()
31 assert(std::stod(L" 10") == 10); in main()
33 assert(std::stod("10g", &idx) == 10); in main()
36 assert(std::stod(L"10g", &idx) == 10); in main()
[all …]
/external/google-benchmark/test/
Dstring_util_gtest.cc114 TEST(StringUtilTest, stod) { in TEST() argument
117 EXPECT_EQ(0.0, benchmark::stod("0", &pos)); in TEST()
122 EXPECT_EQ(-84.0, benchmark::stod("-84", &pos)); in TEST()
127 EXPECT_EQ(1234.0, benchmark::stod("1234", &pos)); in TEST()
132 EXPECT_EQ(1.5, benchmark::stod("1.5", &pos)); in TEST()
138 EXPECT_EQ(-1.25e+9, benchmark::stod("-1.25e+9", &pos)); in TEST()
142 ASSERT_THROW(benchmark::stod("this is a test"), std::invalid_argument); in TEST()
/external/libcxx/utils/google-benchmark/test/
Dstring_util_gtest.cc114 TEST(StringUtilTest, stod) { in TEST() argument
117 EXPECT_EQ(0.0, benchmark::stod("0", &pos)); in TEST()
122 EXPECT_EQ(-84.0, benchmark::stod("-84", &pos)); in TEST()
127 EXPECT_EQ(1234.0, benchmark::stod("1234", &pos)); in TEST()
132 EXPECT_EQ(1.5, benchmark::stod("1.5", &pos)); in TEST()
138 EXPECT_EQ(-1.25e+9, benchmark::stod("-1.25e+9", &pos)); in TEST()
142 ASSERT_THROW(benchmark::stod("this is a test"), std::invalid_argument); in TEST()
/external/google-benchmark/src/
Dstring_util.h51 double stod(const std::string& str, size_t* pos = nullptr);
55 using std::stod;
Dsysinfo.cc567 double cycles_per_second = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
572 bogo_clock = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
Dstring_util.cc233 double stod(const std::string& str, size_t* pos) { in stod() function
/external/libcxx/utils/google-benchmark/src/
Dstring_util.h51 double stod(const std::string& str, size_t* pos = nullptr);
55 using std::stod;
Dsysinfo.cc521 double cycles_per_second = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
526 bogo_clock = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
Dstring_util.cc233 double stod(const std::string& str, size_t* pos) { in stod() function
/external/libcxx/src/
Dstring.cpp322 stod(const string& str, size_t* idx) in stod() function
328 stod(const wstring& str, size_t* idx) in stod() function
/external/skqp/src/sksl/
DSkSLString.h132 double stod(const String& s);
DSkSLString.cpp286 double stod(const String& s) { in stod() function
DSkSLParser.cpp1980 *dest = SkSL::stod(this->text(t)); in floatLiteral()
/external/skia/src/sksl/
DSkSLString.h132 double stod(const String& s);
DSkSLString.cpp275 double stod(const String& s) { in stod() function
DSkSLParser.cpp1975 *dest = SkSL::stod(this->text(t)); in floatLiteral()
/external/libkmsxx/kms++/src/
Dconnector.cpp136 float vrefresh = idx == string::npos ? 0.0 : stod(mode.substr(idx + 1)); in get_mode()
/external/dynamic_depth/internal/xmpmeta/
Dxmp_parser.cc276 *value = std::stod(string_property); in ConvertStringPropertyToType()
/external/dynamic_depth/internal/xmpmeta/xml/
Ddeserializer_impl.cc233 *value = std::stod(string_value); in ParseDouble()
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb.cc379 double n = std::stod(t.ToStdString()); in FixedFloatField()
/external/libcxx/include/
Dstring457 double stod (const string& str, size_t* idx = 0);
477 double stod (const wstring& str, size_t* idx = 0);
4194 _LIBCPP_FUNC_VIS double stod (const string& __str, size_t* __idx = 0);
4214 _LIBCPP_FUNC_VIS double stod (const wstring& __str, size_t* __idx = 0);
/external/perfetto/src/trace_processor/
Dproto_trace_parser.cc151 out->value = std::stod(value_str); in ParseSystraceTracePoint()
/external/v8/src/torque/
Dimplementation-visitor.cc505 double d = std::stod(expr->number.c_str()); in Visit()
/external/hyphenation-patterns/de/
Dhyph-de-1996.pat.txt19085 2stod
19086 4stod.
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt14179 $x{bestowed → bəstod ; # bɛstɑʊd
19041 $x{stowed → stod ; # stɑʊd

12