Searched refs:StrToD (Results 1 – 6 of 6) sorted by relevance
/third_party/icu/vendor/double-conversion/upstream/test/cctest/ |
D | test-conversions.cc | 2070 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/ |
D | encoding.h | 451 virtual bool StrToD(const char* str, double* result) const = 0;
|
D | encoding.cc | 1563 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble() 1568 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble()
|
D | encoding_test.cc | 24 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/ |
D | encoding_h.template | 460 virtual bool StrToD(const char* str, double* result) const = 0;
|
D | encoding_cpp.template | 1571 return platform_->StrToD(buffer.c_str(), result); 1576 return platform_->StrToD(buffer.c_str(), result);
|