Home
last modified time | relevance | path

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

/third_party/benchmark/test/
Dstring_util_gtest.cc114 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/
Dstring_util.h55 double stod(const std::string& str, size_t* pos = nullptr);
57 using std::stod; // NOLINT(misc-unused-using-decls)
Dstring_util.cc238 double stod(const std::string& str, size_t* pos) { in stod() function
Dsysinfo.cc591 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/
Dstring_ref.hpp463 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 );
Dstring_view.hpp614 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/
DSkSLString.h67 bool stod(const skstd::string_view& s, SKSL_FLOAT* value);
/third_party/flutter/skia/src/sksl/
DSkSLString.h117 SKSL_FLOAT stod(const String& s);
DSkSLString.cpp255 SKSL_FLOAT stod(const String& s) { in stod() function
DSkSLParser.cpp2030 *dest = SkSL::stod(this->text(t)); in floatLiteral()
/third_party/skia/src/sksl/
DSkSLString.cpp148 bool stod(const skstd::string_view& s, SKSL_FLOAT* value) { in stod() function
DSkSLDSLParser.cpp1771 if (!SkSL::stod(s, dest)) { in floatLiteral()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Darithmetic_simplify.cc207 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/
Dsysinfo.cc484 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/
Dto_number_op.cc226 result = std::stod(std::string(*it)); in ToDouble()
/third_party/boost/libs/math/example/daubechies_wavelets/
Dregress_daubechies_accuracy.cpp63 v[i] = std::stod(strs[i]); in main()
/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc133 return std::stod(digits) * multipliers[i]; in NominalClockRate()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc133 return std::stod(digits) * multipliers[i]; in NominalClockRate()
/third_party/skia/third_party/externals/spirv-cross/
Dmain.cpp177 double val = stod(*argv); in next_double()