Home
last modified time | relevance | path

Searched refs:struct_reader (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/dbus/
Ddata_serialization.h582 ::dbus::MessageReader struct_reader(nullptr);
584 !reader->PopStruct(&struct_reader))
589 return DBusType<U>::Read(&struct_reader, &value->first) &&
590 DBusType<V>::Read(&struct_reader, &value->second);
683 ::dbus::MessageReader struct_reader(nullptr);
685 !reader->PopStruct(&struct_reader))
687 return details::TupleIterator<0, sizeof...(T), T...>::Read(&struct_reader,
Ddata_serialization_test.cc714 dbus::MessageReader struct_reader(nullptr); in PopValueFromReader() local
716 !reader->PopStruct(&struct_reader)) in PopValueFromReader()
718 return PopValueFromReader(&struct_reader, &value->first_name) && in PopValueFromReader()
719 PopValueFromReader(&struct_reader, &value->last_name) && in PopValueFromReader()
720 PopValueFromReader(&struct_reader, &value->age); in PopValueFromReader()
/external/libchrome/dbus/
Dmessage_unittest.cc505 MessageReader struct_reader(nullptr); in TEST() local
507 ASSERT_TRUE(variant_reader.PopStruct(&struct_reader)); in TEST()
509 ASSERT_TRUE(struct_reader.PopString(&string_value)); in TEST()
512 ASSERT_TRUE(struct_reader.PopInt32(&int32_value)); in TEST()
514 ASSERT_FALSE(struct_reader.HasMoreData()); in TEST()
Dproperty.cc627 dbus::MessageReader struct_reader(nullptr); in PopValueFromReader() local
628 if (!array_reader.PopStruct(&struct_reader)) in PopValueFromReader()
634 if (!struct_reader.PopArrayOfBytes(&bytes, &length)) in PopValueFromReader()
637 if (!struct_reader.PopUint16(&entry.second)) in PopValueFromReader()