Home
last modified time | relevance | path

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

/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/cronet/base/test/
Dtrace_event_analyzer.cc354 bool is_bool = GetAsDouble(event, &bool_value); in Evaluate()
396 if (!left().GetAsDouble(event, &lhs) || !right().GetAsDouble(event, &rhs)) in CompareAsDouble()
469 if (!left().GetAsDouble(event, &lhs)) in EvaluateArithmeticOperator()
471 if (!is_unary_operator() && !right().GetAsDouble(event, &rhs)) in EvaluateArithmeticOperator()
500 bool Query::GetAsDouble(const TraceEvent& event, double* num) const { in GetAsDouble() function in trace_analyzer::Query
Dtrace_event_analyzer.h621 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/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;
Dvalues_unittest.cc1118 ASSERT_TRUE(copy_double->GetAsDouble(&copy_double_value)); in TEST()
/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/tensorflow/tensorflow/compiler/xla/
Dliteral.h178 std::optional<double> GetAsDouble(
Dliteral.cc1199 std::optional<double> LiteralBase::GetAsDouble( in GetAsDouble() function in xla::LiteralBase
/external/libchrome/ipc/
Dipc_message_utils.cc112 result = value->GetAsDouble(&val); in WriteValue()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc3684 double computed_result = *init_values[0]->GetAsDouble({}); in GenerateReduceOutputElement()
3687 double argument = *input_args[0]->GetAsDouble(input_index); in GenerateReduceOutputElement()
Dhlo_evaluator_typed_visitor.h144 double GetAsDouble(const Literal& literal,