Searched refs:stod (Results 1 - 12 of 12) sorted by relevance
/third_party/benchmark/test/ |
H A D | string_util_gtest.cc | 123 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 D | string_util.h | 53 * 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 D | string_util.cc | 171 * 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 D | sysinfo.cc | 685 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 D | json-parser.cc | 53 double d = std::stod(number.c_str()); in MakeNumberLiteral()
|
/third_party/skia/include/private/ |
H A D | SkSLString.h | 67 bool stod(const skstd::string_view& s, SKSL_FLOAT* value);
|
/third_party/skia/src/sksl/ |
H A D | SkSLString.cpp | 148 bool stod(const skstd::string_view& s, SKSL_FLOAT* value) { in stod() function
|
H A D | SkSLDSLParser.cpp | 1771 if (!SkSL::stod(s, dest)) { in floatLiteral()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | nanobenchmark.cc | 133 return std::stod(digits) * multipliers[i]; in NominalClockRate()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | main.cpp | 177 double val = stod(*argv); in next_double()
|
/third_party/node/deps/v8/src/torque/ |
H A D | torque-parser.cc | 898 result = std::stod(value, &num_chars_converted); in YieldDouble()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | 23096 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