/third_party/benchmark/test/ |
D | string_util_gtest.cc | 114 TEST(StringUtilTest, stod){{size_t pos = 0; in TEST() argument 115 EXPECT_EQ(0.0, benchmark::stod("0", &pos)); in TEST() 120 EXPECT_EQ(-84.0, benchmark::stod("-84", &pos)); in TEST() 125 EXPECT_EQ(1234.0, benchmark::stod("1234", &pos)); in TEST() 130 EXPECT_EQ(1.5, benchmark::stod("1.5", &pos)); in TEST() 136 EXPECT_EQ(-1.25e+9, benchmark::stod("-1.25e+9", &pos)); in TEST() 140 { ASSERT_THROW(benchmark::stod("this is a test"), std::invalid_argument); } in TEST()
|
/third_party/benchmark/src/ |
D | string_util.h | 55 double stod(const std::string& str, size_t* pos = nullptr); 57 using std::stod; // NOLINT(misc-unused-using-decls)
|
D | string_util.cc | 238 double stod(const std::string& str, size_t* pos) { in stod() function
|
D | sysinfo.cc | 591 double cycles_per_second = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond() 596 bogo_clock = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
|
/third_party/boost/boost/utility/ |
D | string_ref.hpp | 463 inline double stod (string_ref str, size_t* idx=0) { 464 return std::stod ( std::string(str), idx ); 495 inline double stod (wstring_ref str, size_t* idx=0) { 496 return std::stod ( std::wstring(str), idx );
|
D | string_view.hpp | 614 inline double stod (string_view str, size_t* idx=0) { 615 return std::stod ( std::string(str), idx ); 646 inline double stod (wstring_view str, size_t* idx=0) { 647 return std::stod ( std::wstring(str), idx );
|
/third_party/skia/include/private/ |
D | SkSLString.h | 67 bool stod(const skstd::string_view& s, SKSL_FLOAT* value);
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLString.h | 117 SKSL_FLOAT stod(const String& s);
|
D | SkSLString.cpp | 255 SKSL_FLOAT stod(const String& s) { in stod() function
|
D | SkSLParser.cpp | 2030 *dest = SkSL::stod(this->text(t)); in floatLiteral()
|
/third_party/skia/src/sksl/ |
D | SkSLString.cpp | 148 bool stod(const skstd::string_view& s, SKSL_FLOAT* value) { in stod() function
|
D | SkSLDSLParser.cpp | 1771 if (!SkSL::stod(s, dest)) { in floatLiteral()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | arithmetic_simplify.cc | 207 double node_value = std::stod(CleanStr(node_value_str)); in CheckCurNode() 212 double pattern_value = std::stod(CleanStr(pattern_value_str)); in CheckCurNode() 218 double pattern_value = std::stod(tmp_pattern_op); in CheckCurNode()
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | sysinfo.cc | 484 double cycles_per_second = std::stod(value) * 1000000.0; in GetCPUCyclesPerSecond() 489 bogo_clock = std::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/ |
D | to_number_op.cc | 226 result = std::stod(std::string(*it)); in ToDouble()
|
/third_party/boost/libs/math/example/daubechies_wavelets/ |
D | regress_daubechies_accuracy.cpp | 63 v[i] = std::stod(strs[i]); in main()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 133 return std::stod(digits) * multipliers[i]; in NominalClockRate()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | nanobenchmark.cc | 133 return std::stod(digits) * multipliers[i]; in NominalClockRate()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | main.cpp | 177 double val = stod(*argv); in next_double()
|