Home
last modified time | relevance | path

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

/external/libbrillo/brillo/dbus/
Ddbus_param_writer_unittest.cc58 Any variant_value; in TEST() local
63 EXPECT_TRUE(PopValueFromReader(&reader, &variant_value)); in TEST()
67 EXPECT_DOUBLE_EQ(7.5, variant_value.Get<double>()); in TEST()
117 Any variant_value; in TEST() local
122 EXPECT_TRUE(PopValueFromReader(&reader, &variant_value)); in TEST()
126 EXPECT_DOUBLE_EQ(8.5, variant_value.Get<double>()); in TEST()
176 Any variant_value; in TEST() local
181 EXPECT_TRUE(PopValueFromReader(&reader, &variant_value)); in TEST()
185 EXPECT_DOUBLE_EQ(7.5, variant_value.Get<double>()); in TEST()
/external/libtextclassifier/utils/
Dflatbuffers.h224 Variant variant_value(value); in Set()
225 if (!IsMatchingType(field, variant_value)) { in Set()
228 << ", got: " << variant_value.GetType(); in Set()
231 fields_[field] = variant_value; in Set()