Home
last modified time | relevance | path

Searched refs:variant_value (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/dbus/
Ddbus_param_writer_test.cc59 Any variant_value; in TEST() local
64 EXPECT_TRUE(PopValueFromReader(&reader, &variant_value)); in TEST()
68 EXPECT_DOUBLE_EQ(7.5, variant_value.Get<double>()); in TEST()
118 Any variant_value; in TEST() local
123 EXPECT_TRUE(PopValueFromReader(&reader, &variant_value)); in TEST()
127 EXPECT_DOUBLE_EQ(8.5, variant_value.Get<double>()); in TEST()
177 Any variant_value; in TEST() local
182 EXPECT_TRUE(PopValueFromReader(&reader, &variant_value)); in TEST()
186 EXPECT_DOUBLE_EQ(7.5, variant_value.Get<double>()); in TEST()
/external/libtextclassifier/native/utils/flatbuffers/
Dmutable.h326 Variant variant_value(value); in Set()
331 << ", got: " << variant_value.GetType(); in Set()
334 fields_[field] = variant_value; in Set()
Dmutable.cc145 Variant variant_value = ParseEnumValue(schema_, field->type(), value_name); in SetFromEnumValueName() local
146 if (!variant_value.HasValue()) { in SetFromEnumValueName()
149 fields_[field] = variant_value; in SetFromEnumValueName()