Home
last modified time | relevance | path

Searched refs:stod (Results 1 - 12 of 12) sorted by relevance

/third_party/benchmark/test/
H A Dstring_util_gtest.cc123 TEST(StringUtilTest, stod){{size_t pos = 0; in TEST()
124 EXPECT_EQ(0.0, benchmark::stod("0", &pos)); in TEST()
129 EXPECT_EQ(-84.0, benchmark::stod("-84", &pos)); in TEST()
134 EXPECT_EQ(1234.0, benchmark::stod("1234", &pos)); in TEST()
139 EXPECT_EQ(1.5, benchmark::stod("1.5", &pos)); in TEST()
145 EXPECT_EQ(-1.25e+9, benchmark::stod("-1.25e+9", &pos)); in TEST()
150 ASSERT_THROW(std::ignore = benchmark::stod("this is a test"), in TEST()
/third_party/benchmark/src/
H A Dstring_util.h53 * stoul, stoi, stod. We reimplement them here using C functions strtoul,
60 double stod(const std::string& str, size_t* pos = nullptr);
62 using std::stod; // NOLINT(misc-unused-using-decls)
H A Dstring_util.cc171 * stoul, stoi, stod. We reimplement them here using C functions strtoul,
227 double stod(const std::string& str, size_t* pos) { in stod() function
H A Dsysinfo.cc685 double cycles_per_second = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
690 bogo_clock = benchmark::stod(value) * 1000000.0; in GetCPUCyclesPerSecond()
/third_party/node/deps/v8/src/torque/ls/
H A Djson-parser.cc53 double d = std::stod(number.c_str()); in MakeNumberLiteral()
/third_party/skia/include/private/
H A DSkSLString.h67 bool stod(const skstd::string_view& s, SKSL_FLOAT* value);
/third_party/skia/src/sksl/
H A DSkSLString.cpp148 bool stod(const skstd::string_view& s, SKSL_FLOAT* value) { in stod() function
H A DSkSLDSLParser.cpp1771 if (!SkSL::stod(s, dest)) { in floatLiteral()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dnanobenchmark.cc133 return std::stod(digits) * multipliers[i]; in NominalClockRate()
/third_party/skia/third_party/externals/spirv-cross/
H A Dmain.cpp177 double val = stod(*argv); in next_double()
/third_party/node/deps/v8/src/torque/
H A Dtorque-parser.cc898 result = std::stod(value, &num_chars_converted); in YieldDouble()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp23096 stod(const string& __str, size_t* __idx = 0)
23097 { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
23202 stod(const wstring& __str, size_t* __idx = 0)
23203 { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
[all...]

Completed in 37 milliseconds