Home
last modified time | relevance | path

Searched refs:GetAsDouble (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/lldb/unittests/debugserver/
DJSONTest.cpp41 EXPECT_EQ(number_val.GetAsDouble(), 3.0); in TEST()
45 EXPECT_EQ(number_val.GetAsDouble(), -5.0); in TEST()
49 EXPECT_EQ(number_val.GetAsDouble(), -6.4); in TEST()
61 EXPECT_EQ(number_val.GetAsDouble(), 4.0); in TEST()
74 EXPECT_EQ(number_val.GetAsDouble(), 1.0); in TEST()
83 EXPECT_EQ(number_val.GetAsDouble(), 3.14); in TEST()
/external/libchrome/base/json/
Djson_reader_unittest.cc118 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
124 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
133 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
140 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
147 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
154 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
161 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
168 EXPECT_TRUE(root->GetAsDouble(&double_val)); in TEST()
616 EXPECT_TRUE(dict_literal_1->GetAsDouble(&d)); in TEST()
Djson_parser_unittest.cc184 EXPECT_TRUE(value->GetAsDouble(&number_d)); in TEST_F()
196 EXPECT_TRUE(value->GetAsDouble(&number_d)); in TEST_F()
208 EXPECT_TRUE(value->GetAsDouble(&number_d)); in TEST_F()
220 EXPECT_TRUE(value->GetAsDouble(&number_d)); in TEST_F()
423 EXPECT_TRUE(result->GetAsDouble(&double_value)); in TEST_F()
Djson_value_converter.cc27 return value.GetAsDouble(field); in Convert()
Djson_writer.cc83 bool result = node.GetAsDouble(&value); in BuildJSONString()
/external/libchrome/base/test/
Dtrace_event_analyzer.cc139 } else if (it.value().GetAsDouble(&double_num)) { in SetFromJSON()
296 bool is_bool = GetAsDouble(event, &bool_value); in Evaluate()
338 if (!left().GetAsDouble(event, &lhs) || !right().GetAsDouble(event, &rhs)) in CompareAsDouble()
411 if (!left().GetAsDouble(event, &lhs)) in EvaluateArithmeticOperator()
413 if (!is_unary_operator() && !right().GetAsDouble(event, &rhs)) in EvaluateArithmeticOperator()
442 bool Query::GetAsDouble(const TraceEvent& event, double* num) const { in GetAsDouble() function in trace_analyzer::Query
Dtrace_event_analyzer.h623 bool GetAsDouble(const TraceEvent& event, double* num) const;
/external/libbrillo/brillo/
Dvalue_conversion.h44 return in_value.GetAsDouble(out_value); in FromValue()
/external/libchrome/components/policy/core/common/
Dpolicy_test_utils.cc80 if (value.GetAsDouble(&double_value)) { in ValueToProperty()
Dregistry_dict.cc98 if (value.GetAsDouble(&double_value) || in ConvertRegistryValue()
/external/llvm-project/lldb/include/lldb/Utility/
DRegisterValue.h135 double GetAsDouble(double fail_value = 0.0,
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc269 value.GetAsDouble(&double_value); in SetBaseValueWithCopiedName()
323 value.GetAsDouble(&double_value); in AppendBaseValue()
Dtrace_event_unittest.cc2342 EXPECT_TRUE(value->GetAsDouble(&double_value)); in TEST_F()
2352 EXPECT_TRUE(value->GetAsDouble(&double_value)); in TEST_F()
2362 EXPECT_TRUE(value->GetAsDouble(&double_value)); in TEST_F()
/external/libchrome/base/
Dvalues.cc460 bool Value::GetAsDouble(double* out_value) const { in GetAsDouble() function in base::Value
853 return value->GetAsDouble(out_value); in GetDouble()
988 return value->GetAsDouble(out_value); in GetDoubleWithoutPathExpansion()
1227 return value->GetAsDouble(out_value); in GetDouble()
Dvalues.h313 bool GetAsDouble(double* out_value) const;
/external/llvm-project/lldb/tools/debugserver/source/
DJSON.h117 double GetAsDouble() const;
DJSON.cpp73 double JSONNumber::GetAsDouble() const { in GetAsDouble() function in JSONNumber
/external/libchrome/dbus/
Dvalues_util.cc235 bool success = value.GetAsDouble(&double_value); in AppendBasicTypeValueData()
Dvalues_util_unittest.cc175 ASSERT_TRUE(value->GetAsDouble(&double_value)); in TEST()
182 ASSERT_TRUE(value->GetAsDouble(&double_value)); in TEST()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc32 CHECK(value->GetAsDouble(&result)) in GetNumberValue()
368 value->GetAsDouble(&double_value); in GetJSONSchemaType()
/external/llvm-project/lldb/source/Utility/
DRegisterValue.cpp652 double RegisterValue::GetAsDouble(double fail_value, bool *success_ptr) const { in GetAsDouble() function in RegisterValue
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeRegisterContextWindows_arm64.cpp600 tls_context.V[reg - fpu_d0_arm64].D[0] = reg_value.GetAsDouble(); in FPRWrite()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h172 absl::optional<double> GetAsDouble(absl::Span<const int64> multi_index) const;
/external/llvm-project/lldb/source/Plugins/ABI/ARM/
DABISysV_arm.cpp1653 value.GetScalar() = reg_value.GetAsDouble(); in GetReturnValueObjectImpl()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc2379 double computed_result = *init_values[0]->GetAsDouble({}); in GenerateReduceOutputElement()
2382 double argument = *input_args[0]->GetAsDouble(input_index); in GenerateReduceOutputElement()

12