Home
last modified time | relevance | path

Searched refs:StrToD (Results 1 – 6 of 6) sorted by relevance

/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dtest-conversions.cc2070 static double StrToD(const char* str, int flags, double empty_string_value, in StrToD() function
2106 CHECK_EQ(0.0, StrToD("", flags, 0.0, &processed, &all_used)); in TEST()
2109 CHECK_EQ(1.0, StrToD("", flags, 1.0, &processed, &all_used)); in TEST()
2112 CHECK_EQ(0.0, StrToD(" ", flags, 0.0, &processed, &all_used)); in TEST()
2115 CHECK_EQ(1.0, StrToD(" ", flags, 1.0, &processed, &all_used)); in TEST()
2118 CHECK_EQ(42.0, StrToD("42", flags, 0.0, &processed, &all_used)); in TEST()
2121 CHECK_EQ(42.0, StrToD(" + 42 ", flags, 0.0, &processed, &all_used)); in TEST()
2124 CHECK_EQ(-42.0, StrToD(" - 42 ", flags, 0.0, &processed, &all_used)); in TEST()
2127 CHECK_EQ(Double::NaN(), StrToD("x", flags, 1.0, &processed, &all_used)); in TEST()
2130 CHECK_EQ(Double::NaN(), StrToD(" x", flags, 1.0, &processed, &all_used)); in TEST()
[all …]
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.h451 virtual bool StrToD(const char* str, double* result) const = 0;
Dencoding.cc1563 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble()
1568 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble()
Dencoding_test.cc24 bool StrToD(const char* str, double* result) const override { in StrToD() function in v8_inspector_protocol_encoding::TestPlatform
1451 bool StrToD(const char* str, double* result) const override { return false; } in StrToD() function in v8_inspector_protocol_encoding::json::MockPlatform
/third_party/node/tools/inspector_protocol/lib/
Dencoding_h.template460 virtual bool StrToD(const char* str, double* result) const = 0;
Dencoding_cpp.template1571 return platform_->StrToD(buffer.c_str(), result);
1576 return platform_->StrToD(buffer.c_str(), result);