Home
last modified time | relevance | path

Searched refs:GetAs (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/test/
H A Doutput_test.h129 T GetAs(const char* entry_name) const;
135 double dval = GetAs<double>(entry_name); in GetCounterAs()
142 T Results::GetAs(const char* entry_name) const { in GetAs() function
188 CHECK_RESULT_VALUE_IMPL(entry, GetAs, var_type, var_name, relationship, value)
194 CHECK_FLOAT_RESULT_VALUE_IMPL(entry, GetAs, double, var_name, relationship, value, eps_factor)
H A Doutput_test_helper.cc321 double Results::NumIterations() const { return GetAs<double>("iterations"); } in NumIterations()
326 double val = GetAs<double>(which_str); in GetTime()
/llvm-project-15.0.7/lldb/source/Utility/
H A DScalar.cpp285 template <typename T> T Scalar::GetAs(T fail_value) const { in GetAs() function in Scalar
303 return GetAs<signed char>(fail_value); in SChar()
307 return GetAs<unsigned char>(fail_value); in UChar()
311 return GetAs<short>(fail_value); in SShort()
315 return GetAs<unsigned short>(fail_value); in UShort()
318 int Scalar::SInt(int fail_value) const { return GetAs<int>(fail_value); } in SInt()
321 return GetAs<unsigned int>(fail_value); in UInt()
324 long Scalar::SLong(long fail_value) const { return GetAs<long>(fail_value); } in SLong()
327 return GetAs<unsigned long>(fail_value); in ULong()
331 return GetAs<long long>(fail_value); in SLongLong()
[all …]
/llvm-project-15.0.7/lldb/unittests/Host/
H A DXMLTest.cpp48 TEST(XML, GetAs) { in TEST() argument
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DScalar.h194 template <typename T> T GetAs(T fail_value) const;